Hi,
According to the TinyMCE documentation on the Paste plugin at http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste there are a number of available options that would help our users considerably. They include:
paste_auto_cleanup_on_paste
paste_remove_spans
paste_remove_styles
paste_strip_class_attributes
and possibly
paste_insert_word_content_callback
I don't see a way to enable these options using the TinyMCE module interface. The code examples at the TinyMCE website seem relatively straightforward, but when I look in tinymce.module, the tinyMCE.init function just uses $tinymce_settings, which seems to get its value from the database. Can this be configured elsewhere in the code? Should I edit the database entry for the role directly? Is the format of the database value documented somewhere? Or will I need to edit the tinymce_profile_form_build function?
Comments
Comment #1
emdalton commentedOk, I've tried editing the tinymce_profile_form_build function in tinymce.module. I added the following options. Some work, some don't seem to work. In particular, 'paste_auto_cleanup_on_paste' doesn't seem
to work in IE6 or IE7. (I don't expect it to work in non-IE browsers, based on the TinyMCE documentation.) Any suggestions from someone who has successfully implemented TinyMCE options in the past would be greatly appreciated.
Comment #2
pomliane commentedThis version of TinyMCE is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.