Who establishes the requirement for editor_plugin_src.js?
jhsachs - June 26, 2008 - 22:43
| Project: | TinyMCE |
| Version: | 5.x-1.9 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
In TinyMCE plug-in directories, is the existence of two source files, editor_plugin.js and editor_plugin_src.js, a TinyMCE convention, or a Drupal convention?
I just installed and added a plug-in (Simplepaste, see http://tinymce.moxiecode.com/punbb/viewtopic.php?id=10409) which didn't have a copy of editor_plugin_src.js. I had to figure out what was wrong and create my own. If this is a TinyMCE convention, I will advise the author of the problem.

#1
I've been trying to get SimplePaste working on Drupal, but haven't been able to get it working. Can you share how you added it? I'm using Drupal 5.10 and TinyMCE 3.x. Here's what I've done so far:
- I downloaded the plugin and unzipped it in /sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/
- I added this line to plugin_reg.php:
$plugins['simplepaste'] = array();
- I copied editor_plugin.js to editor_plugin_src.js
At this point I did see the "Clean html and Word content on paste" checkbox under TinyMCE "Buttons and plugins" but even when I checked it, paste was not cleaned.
Did I miss a step? Thanks!
#2
I would also very much like to know if anyone has gotten the simplepaste plugin working with tinymce in drupal 5.x environment (or 6.x - I'm sure I could manage to backport a fix :)
#3
so would i...i followed the steps u listed but don't see any tags being stripped off...any help would be greatly appreciated.