Hi again
20. aug. 2013 kl. 15:27 skrev "Gaudenz Steinlin-3 [via Plone]"
<[email protected]>:
>
> Hi Espen
>
> espen <[hidden email]> writes:
>
> > Hi
> >
> > I made a content type TTW with two RichTextFields and exported it and put
> > it in a product.
> > Works fine, the code is here:
> >
> > https://github.com/espenmn/bda.shoptypes
>
> As far as I can see you just use two RichTextFields in the same content
> type but I can't see any per field customizations for TinyMCE in your
> product. Maybe I was not clear, using multiple RichText fields works
> just fine. What I want to do is something different. I would like to
> have a RichText field wich has TinyMCE as it's widget in a non standard
> configuration. For example only with the buttons for bold, italic and
> underline text and no other controls in the toolbar. But I don't want to
> disable all these controls globally in the site configuration as they
> should still be available for all other RichText fields.
I am not sure if the "next version of TinyMCE" is possible to use, it should
make these things easier.
I know an "ugly hack, though"….. just hide the buttons with css, something like:
.mceLast .mceButton.mce_justifycenter {
display: none;
}
>
> Gaudenz
>
> >
> > Espen
> >
> >>
> >>
> >>Hi
> >>
> >>http://developer.plone.org/forms/wysiwyg.html#custom-field-specific-style-list-for-tinymce
> >>has a link for how to customize TinyMCE for a specific field of an
> >>Archetypes content type.
> >>
> >>Unfortunately the section for Dexterity just says "Oho.". Does this mean
> >>this is not (yet) possible or is it just not documented. Looking at the
> >>source of plone.app.textfield and Products.TinyMCE I could not find an
> >>obvious way of how to do it. Any help appreciated.
> >>
> >>Gaudenz
> >>
> >>--
> >>Ever tried. Ever failed. No matter.
> >>Try again. Fail again. Fail better.
> >>~ Samuel Beckett ~
> >>_______________________________________________
> >>Product-Developers mailing list
> >>[hidden email]
> >>https://lists.plone.org/mailman/listinfo/plone-product-developers
> >>
> >>
> >>
> >>
> >>_______________________________________________
> >>If you reply to this email, your message will be added to the discussion
> >>below:
> >>http://plone.293351.n2.nabble.com/RichText-widget-per-field-configuration-for-Dexterity-tp7567314.html
> >>To start a new topic under Product Developers, email [hidden email]
> >>To unsubscribe from Plone, visit
> > --
> > Espen Moe-Nilssen
> > Grieg Medialog AS
> >
> >
> >
> >
> > --
> > View this message in context:
> > http://plone.293351.n2.nabble.com/RichText-widget-per-field-configuration-for-Dexterity-tp7567314p7567315.html
> > Sent from the Product Developers mailing list archive at
> > Nabble.com._______________________________________________
> > Product-Developers mailing list
> > [hidden email]
> > https://lists.plone.org/mailman/listinfo/plone-product-developers
>
> --
> Ever tried. Ever failed. No matter.
> Try again. Fail again. Fail better.
> ~ Samuel Beckett ~
> _______________________________________________
> Product-Developers mailing list
> [hidden email]
> https://lists.plone.org/mailman/listinfo/plone-product-developers
>
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://plone.293351.n2.nabble.com/RichText-widget-per-field-configuration-for-Dexterity-tp7567314p7567329.html
> To start a new topic under Product Developers, email
> [email protected]
> To unsubscribe from Plone, click here.
> NAML
--
View this message in context:
http://plone.293351.n2.nabble.com/RichText-widget-per-field-configuration-for-Dexterity-tp7567314p7567330.html
Sent from the Product Developers mailing list archive at Nabble.com._______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers