Home
TeamSite
tinymce configuration
SethHickel
I've seen other TinyMCE topics close to my question but no cigar ...
When TinyMCE is used in our templates the default format is paragraph. What do I need to do to get this to be " --- Format ---" instead.
In otherwords - to not apply any formating.
I'm sure there is a configuration file for this someplace - just can't seem to find it.
Thanks.
Find more posts tagged with
Comments
SethHickel
Any replies - anyone? :-)
Rick Poulin
In 'real' TinyMCE, you'd set one of the "prefer br over p" or "enforce wrapping with paragraph tags" to avoid implicit "proper" HTML formatting (look it up at moxiecode if you wish -- I don't recall the exact parameter names). IW's implementation doesn't appear to specify whether you can set those in your custom configs, but it might be worth a shot. Probably won't be a supported thing if it does work though.
SethHickel
Thanks - still searching for the call to tinyMCE.init() where, according to the documentation "all configuration options below are to be placed within the tinyMCE.init() JavaScript."
Obviously I am a newbie to configuring TinyMCE.
Rick Poulin
That's the thing, you don't have direct access to the TinyMCE.init() call within FormsPub and SitePub. IW's implementation is... interesting.
Have a look at iw-home/httpd/iw/tinymce/config/custom_config.js to get started. There's inline documentation there.