cardinal55 Posted February 18, 2011 Share Posted February 18, 2011 Thanks to Paul, I now have a nice cut-down version of 1.4 ready to demo to a potential customer.The one thing I would like to do is to prevent them being able to paste formatted text into the long & short product descriptions. With TinyMCE installed by default, I'm pretty sure they will break the layout quite easily.Is there a way to disbale TinyMCE?Thanks,Geoff. Link to comment Share on other sites More sharing options...
cardinal55 Posted February 21, 2011 Author Share Posted February 21, 2011 SOLUTION:add the following code to \admin folder\tabs\AdminProducts.php around line 2792 (the TinyMCE setup):paste_text_sticky: true,paste_auto_cleanup_on_paste : true,setup : function(ed) { ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; ed.controlManager.setActive("pastetext", true); });},This sets the "paste as text" option to be set to the "on" position - you can still toggle it using the MCE buttons.Geoff. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now