Is it possible to configure how tinymce cleans up its content? For example, tinymce is stripping out the querystring from links but I don't want it to do that. The docs relating standalone tinymce indicates that it is possible but nothing in httpd/iw/tinymce/config indicates that this can be done.
On a related note - is TinyMCE fully server-based - or is there a client installation as well (like with VFE)?
URLs such as this: www.abc.com/abc.aspx?variable=big will have everything after abc.aspx stripped out.There are certain class id and html attribtes that tinymce strips out too. For example, the bgcolor attribute of tables are stripped out and class IDs on lists are stripped out.There's one very important error that I have found in tinymce last week. My datacapture has two tinymce editors. I find that if I add images in both editors and then preview/generate the page, some images will have the width and height set to zero!!!
iwhome/httpd/iw/tinymce/config/custom_config.js
external-editor="tinymce" external-editor-inline="f"
external-editor-config
"/iw/tinymce/config/custom_config.js"
This is perhaps a more general question than what started this thread, but it seems related, so I figured I'd add it here instead of starting a new thread.(TS 6.7.1 on W2K SP4 )How do you customize / configure TinyMCE ?I found iwhome/httpd/iw/tinymce/config/custom_config.js - but it doesn't look like anything is reading it because I changed the settings for the first toolbar and see no change when I edit a DCR that uses TinyMCE.The documentation I've seen all indicates that you have to set external-editor="tinymce" external-editor-inline="f", which I've done.I've seen one or two posts that make mention of the external-editor-config but the documentation only refers to that for VFE not for TinyMCE ... - However, I tried setting it to "/iw/tinymce/config/custom_config.js" and it still didn't seem to have any effect.I've also tried running iwreset -ui just in case - but that didn't seem to have any effect either.I'm reasonably sure (a.k.a.: hoping) that there's a way to do some "simple" customizations of the TinyMCE window (like removing items from the toolbar for which we don't want users to have access) - but I don't seem to see it as yet and am hoping that someone here may have figured it out or can point me to the proper place in the proper documentation to find it.Thanks
I've filed a bug for the URL issue. Bug 69662.
Has there been any patch for this bug???
//this.defParam("valid_elements", "+a[name|href|target|title|class],strong/b[class],em/i[class],strike[class],u[class],+p[dir|class|align],ol,ul,li,br,img[class|src|border=0|alt|title|hspace|vspace|width|height|align],sub,sup,blockquote[dir|style],table[border=0|cellspacing|cellpadding|width|height|class|align],tr[class|rowspan|width|height|align|valign],td[dir|class|colspan|rowspan|width|height|align|valign],div[dir|class|align],span[class|align],pre[class|align],address[class|align],h1[dir|class|align],h2[dir|class|align],h3[dir|class|align],h4[dir|class|align],h5[dir|class|align],h6[dir|class|align],hr"); this.defParam("valid_elements",custom_valid_elements);
--------NEW ADDITION----if(tmpURLTokens['query']) url += "?"+tmpURLTokens['query'];-------END NEW ADDITION---- TinyMCE.prototype.getMCERealsrc=function(url) { var tmpURLTokens = tinyMCE.parseURL(url); var tmpBaseURLTokens = tinyMCE.parseURL(this.settings['base_href']); if (tmpURLTokens['host'] && tmpURLTokens['host'] == tmpBaseURLTokens['host']) { url = tmpURLTokens['path']; if(tmpURLTokens['query']) url += "?"+tmpURLTokens['query']; } return url;};
Hello,Regarding changing the list of valid elements: i have found a different way to do this without changing the core tinymce js file. You can override this param ("valid_elements") in the custom_config.js file as follows:IWTinyMCECustomConfig("[your_config_name]", "valid_elements","[your_list_of_valid_elements]");i think this is better than changing the tinymce js file because it won't (shouldn't?) get overwritten when you patch or upgrade.Even better, you can use something like:IWTinyMCECustomConfig("[your_config_name]", "extended_valid_elements","[your_list_of_valid_elements]");this list is appended to the valid_elements defined in the tinymce js file, so you can just put in what you're missing.Regards,/tEdit:IWTinyMCECustomConfig("[your_config_name]", "cleanup","false");turns off cleanup completely
that is only available as of 6.7.1 SP1, not 6.7.1 (without SP1)
where is the documentation for TinyMCE that gets shipped with FormsPublisher?