Forums / Setup & design / Javascript in the admin / Comment24920
André R.
Thursday 18 October 2007 4:24:43 am
Well, you don't have to be a developer, but knowledge about Exponential helps a lot..
Documentation on <literal class="html">Anything goes here</literal> can be found in settings/content.ini (search for '[literal]'):
[literal] AvailableClasses[] # The class 'html' is disabled by default because it gives editors the # possibility to insert html and javascript code in XML blocks. # Don't enable the 'html' class unless you really trust all users who has # privileges to edit objects containing XML blocks. #AvailableClasses[]=html
For how to work with the configuration files, take a look here:http://ez.no/doc/ez_publish/technical_manual/3_10/concepts_and_basics/configuration
Alternatively you can create your own custom XML tag (but you still need to get down and dirty with configuration files):http://ez.no/doc/extensions/online_editor/4_x/usage/formatted_text/block_and_inline_elements#comment6815
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