Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Custom css for TinyMCE
Denise Bowker
So did we do this correctly?
We defined new styles and a new stylesheet for TinyMCE in
/iw/tinymce/config/custom_config.js as follows:
IWTinyMCECustomConfig("desktop", "styles", "Float Right=floatRight;Float Left=floatLeft");
IWTinyMCECustomConfig("desktop", "content_css", "/iw/tinymce/config/desktop.css");
We also created
/iw/tinymce/config/desktop.css that defined the classes floatRight and floatLeft. When we use them in TinyMCE (that uses "desktop" as the config) images correctly float. This is just the beginning of what we want to define and before we go too far....
Is that the right way to do this?
Find more posts tagged with
Comments
There are no comments yet