If you want to remove the buttons, you can fork 'mezzanine/js/tinymce_setup.js', assign it to TINYMCE_SETUP_JS <http://mezzanine.jupo.org/docs/configuration.html#tinymce-setup-js>, and then remove them from 'toolbar'.
If you want to actually prohibit users from inputting these properties, you can indeed use RICHTEXT_ALLOWED_ATTRIBUTES and RICHTEXT_ALLOWED_TAGS. Note that these are enforced on the server side, so if you don't remove the buttons, they will still seem to work until you hit "Save", but when you reload the page the attributes/tags will be gone. On Thu, Aug 20, 2015 at 8:29 AM, Déborah Leder <[email protected]> wrote: > Hello > > I would like to know if there is a simple way to restraint the options of > the rich text. I would like to remove the alinement options (center, > justify, etc.) > I tried to manipulate the settings : RICHTEXT_ALLOWED_ATTRIBUTES and > RICHTEXT_ALLOWED_TAGS but it doesn't seem to change anything. > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
