Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
TinyMCE error
pwoolcoc
Platform: Windows Server 2003
TS Ver: 6.7.2 sp1
After we installed the newest TS patch and recompiled, we are having problems with TinyMCE in the form editor.
When starting a new form entry, TinyMCE gives a 'tinymce is undefined' javascript error, and is not loaded at all. When editing an existing form, no error is given and tinymce works just fine.
If anyone else has encountered this problem I would appreciate any information you might have.
We have opened a ticket with Interwoven, but have not yet heard anything.
Find more posts tagged with
Comments
CRB
it might take few days before you hear from them
.
we just applied the patch few days ago and tinymce is working fine with new and existing forms. some users had to clear browse cache to download the new tinymce js files, did you try that?
do the existing forms show the new or old tinymce? you can clearly see the difference in the look.
are you calling any tinymce js code from you form? can you post your DCT config file?
pwoolcoc
Sorry if these aren't the files you need to see, our main TS admin is out today.
Here is the .cfg for the only component that uses TinyMCE:
[html]
Text
Heading
Text
<br> external-editor="tinymce" external-editor-config="custom1" external-editor-inline="t" /><br> </item><br> </container><br></substitution><br>[/html]<br><br>and the custom_config.js custom1 js:<br><br>[html]<br>IWTinyMCECustomConfig("custom1", "toolbarRow",<br> "whitespace,styleselect,fontselect,fontsizeselect,forecolor,\<br> |,bold,italic,underline");<br>IWTinyMCECustomConfig("custom1", "toolbarRow",<br> "bullist,numlist,|,outdent,indent,|,justifyleft,justifycenter,justifyright,\<br> justifyfull,|,undo,redo,|,link,unlink");<br>IWTinyMCECustomConfig("custom1", "toolbarRow",<br> "hr,removeformat,visualaid,|,charmap,inserttime,insertdate,image");<br><br>IWTinyMCECustomConfig("custom1", "styles",<br> "Bold 14=example1;Bold Red=example2;Row Highlight=tablerow1");<br><br>IWTinyMCECustomConfig("custom1", "tableStyles",<br> "Table Header 1=header1;Table Header 2=header2;Table Header 3=header3");<br><br>IWTinyMCECustomConfig("custom1", "tableCellStyles",<br> "Cell Header 1=header1;Cell Header 2=header2;Cell Header 3=header3;Cell Highlight=tablerow1");<br><br>IWTinyMCECustomConfig("custom1", "tableRowStyles",<br> "Row Header 1=header1;Row Header 2=header2;Row Header 3=header3;Table Row=tablerow1");<br>[/html]<br><br>if there is a different file that you need to see let me know.<br>if there is a different file that you need to see let me know.
Jamik
try removing the <script> tags in your custom_config.js. Don't know if that'll fix your issue but I do know that by default the custom_config.js file does not contain those tags. So wouldn't hurt to try.
pwoolcoc
Actually, i added the script tags to the HTML view to make sure it would display right...sorry...i'll go edit it right now
Jamik
I just tested your code out and it works fine in my environment. Have you tried the form on a different machine? Is the error consistent across desktops?
Can you post your whole DCT file since it looks like you only posted the part that contains the tinymce code. (include it as an attachment)
CRB
before you installed the patch, did you delete everything under httpd/iw/tinymce?
if you didnt, you might have to redo the installation and make sure you follow every step in the install guide.
sortcrosstab.rptdesign
pwoolcoc
here is custom_config.js....