
Jason
Staff
/ Moderator

Dec 2, 2010, 1:34 PM
Post #6 of 9
(878 views)
Shortcut
|
|
Re: [apdance9] Plain Text in TINY MCE
[In reply to]
|
Can't Post
|
|
Hi April, You can try this: Open up cmsAdmin/lib/wysiwyg.php (or wysiwyg_customer.php if you're using that instead). About half way down the page you should see a block of code like this:
// Paste From Word Settings - Docs: http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste // Un-comment these lines to have pasting default to text //paste_text_sticky: true, //setup: function(ed) { // ed.onInit.add(function(ed) { // from: http://tinymce.moxiecode.net/punbb/viewtopic.php?pid=73053#p73053 // ed.pasteAsPlainText = true; // ed.controlManager.setActive("pastetext", true); // }); //}, Just uncomment these lines like this:
// Paste From Word Settings - Docs: http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste // Un-comment these lines to have pasting default to text paste_text_sticky: true, setup: function(ed) { ed.onInit.add(function(ed) { // from: http://tinymce.moxiecode.net/punbb/viewtopic.php?pid=73053#p73053 ed.pasteAsPlainText = true; ed.controlManager.setActive("pastetext", true); }); }, If for some reason you don't have this code at all in your file, paste it in under this:
// Load Plugins: ***NOTE*** plugins must be added both loadWysiwygJavascript() and initWysiwyg() (twice in this page, search for "plugins:") plugins: "inlinepopups,contextmenu,table,fullscreen,paste,media,spellchecker", This will set plain text pasting as default. Hope this helps. --------------------------------------------------- Jason Sauchuk - Programmer interactivetools.com Hire me! Save time by getting our experts to help with your project. http://www.interactivetools.com/consulting/
|