Forums / Extensions / Website Interface / ezoe: Matching Buttons to classes (for implementing alignment in ezPublish 4.0.1)
Monika Rausch
Monday 25 October 2010 1:59:37 am
Hello,
we use ezPublish 4.0.1 und ezoe 5.0.0rc and we like to use the alignment-buttons without updating our system. In the issue #013860 is written: "It will need to be optional, for the ones that use xhtml strict (or we/they can map it to a class in the presentation templates)". According to that, I would like to map it to a class in the presentation templates.
For that I activated the buttons in the ezoe.ini and I added some classes for the alignment, which I can already use by clicking on a paragraph.
Does anybody know, what I have to do for mapping the alignment-buttons to the classes?
Thank you very much!
Moni
André R.
Monday 25 October 2010 8:04:15 am
Create an tinymce plugin that overrides functionality on the buttons to work with classes instead of align attribute.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Monday 25 October 2010 8:11:57 am
Thank you for the input. Do you have any tutorial or example for a similar functionality?