A TinyMCE plugin that have support only flash embed, based at the original TinyMCE media plugin.
- Menu button that have the media icon
- Dialog with textarea to paste flash embed code
- Automatically formatting of flash embed when code pasted in HTML view
- The plugin is built on TinyMCE 3.4 (releaseDate: 2011-03-10)
- The editor have to support i.e valid_elements : 'object[classid|width|height|codebase|],param[name|value|_value],embed[type|width|height|wmode|src|],img[id|class|src|data-mce-src|data-mce-json|width|height]'
-
Define rawembed plugin in the plugins section
-
Define rawembed button in the button section
tinyMCE.init({ // General options mode : 'specific_textareas', editor_selector : 'editor', theme : "advanced", plugins : "inlinepopups,paste,rawembed", // Theme options theme_advanced_buttons1 : "bold,italic,underline,strikethrough,bullist,|,rawembed,code", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_buttons4 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_resizing : true, });
Example can be found http://joakim-westerlund.se/lab/tinymce/tinymce-embed-editor.html
- Author: Joakim Westerlund - Homepage
- Company: Mynewsdesk
- Blog: Blog
Please use the GitHub issue tracker for bug reports and feature requests.