Home
TeamSite
TeamSite, LiveSite and OpenDeploy
TinyMCE Config
System
I am having some problems with TinyMCE configuration and am hoping someone can point me in the right direction.
1) When I add the following in my DCT ..
<br /><br />the default TinyMCE editor is displayed, so far so good.<br /><br />2) When I add the config as follows ...<br /><br /><textarea cols="50" external-editor="tinymce" external-editor-config="custom1" external-editor-inline="t" required="f" rows="20" wrap="off"><br /><br />Then different toolbars are displayed as per the configuration in <iwhome>\httpd\iw\tinymce\config\custom_config.js which looks as follows ..<br /><br />IWTinyMCECustomConfig("custom1", "toolbarRow",<br /> "whitespace,styleselect,fontselect,fontsizeselect,forecolor,||,bold,italic");<br /><br /><br />3) if I change the custom_config.js to add or remove a button the change is not reflected<br /><br />4) Likewise, if I change the <config id=""> from "custom1" to "myconfig" (in both the DCT and TinyMCE config file) the TinyMCE editor appears to revert back to the default. <br /><br />5) Interestingly if I then change the config ID in the DCT back to "custom1" without changing the name in the TinyMCE config file then the toolbars associated with "custom1" are displayed.<br /><br /><br />It's almost as though the TinyMCE configuration is being read from a different location than <iwhome>\httpd\iw\tinymce\config\custom_config.js or the config is somehow cached .. I even resorted to an iwreset but this made no difference.<br /><br />I am following the steps in the forms publisher dev guide but can't seem to figure out why TinyMCE is behaving as it is.<br /><br />ps: we are using TeamSite 7.1<br /><br />thanks in advance</iwhome></config></iwhome>
Find more posts tagged with
Comments
There are no comments yet