use_tinymce 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +124 -50
- data/Rakefile +1 -1
- data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/jquery.tinymce.js +1 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/langs/en.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/license.txt +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/css/advhr.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/js/rule.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advhr/rule.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/css/advimage.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/image.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/js/image.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/css/advlink.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/js/advlink.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlink/link.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/advlist/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autolink/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autosave/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/autosave/langs/en.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/directionality/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/emotions.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/js/emotions.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/dialog.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/js/dialog.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/langs/en.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/example/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/fullpage.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/iespell/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/inlinepopups/template.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/layer/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/lists/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/css/media.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/js/embed.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/js/media.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/media.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/media/moxieplayer.swf +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/js/pastetext.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/js/pasteword.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/pastetext.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/paste/pasteword.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/example.html +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/jscripts/embed.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/preview/preview.html +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/print/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/save/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/spellchecker/css/content.css +0 -0
- data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/css/props.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/js/props.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/style/props.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/tabfocus/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/cell.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/css/cell.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/css/row.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/css/table.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/cell.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/merge_cells.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/row.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/js/table.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/merge_cells.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/row.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/table/table.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/blank.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/css/template.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/js/template.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/template/template.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/wordcount/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/about.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/anchor.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/charmap.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/color_picker.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/editor_template.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/editor_template_src.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/image.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/video.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/about.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/anchor.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/charmap.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/color_picker.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/image.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/link.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/js/source_editor.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/langs/en.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/link.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/shortcuts.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/content.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/default/ui.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/advanced/source_editor.htm +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/editor_template.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/editor_template_src.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/langs/en.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/default/content.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/default/ui.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/o2k7/content.css +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/themes/simple/skins/o2k7/ui.css +0 -0
- data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/tiny_mce.js +1 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/tiny_mce_popup.js +0 -0
- data/assets/tinymce_jquery/tinymce/jscripts/tiny_mce/tiny_mce_src.js +14994 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/editable_selects.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/form_utils.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/mctabs.js +0 -0
- data/assets/{tinymce → tinymce_jquery/tinymce}/jscripts/tiny_mce/utils/validate.js +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/langs/en.js +223 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/license.txt +504 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js +7 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm +58 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm +235 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js +458 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js +45 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js +532 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js +54 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm +338 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm +41 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm +22 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js +19 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js +3 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css +143 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm +259 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js +232 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm +109 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/css/media.css +17 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/js/media.js +354 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/langs/en_dlg.js +109 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/media.htm +812 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/media/moxieplayer.swf +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm +27 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm +21 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/example.html +28 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/preview/preview.html +17 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +142 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm +100 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/css/props.css +13 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/js/props.js +635 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js +70 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/style/props.htm +838 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/cell.htm +178 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css +17 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/css/row.css +25 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/css/table.css +13 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js +284 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/row.js +232 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/js/table.js +450 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm +32 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/row.htm +157 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/table/table.htm +188 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/blank.htm +12 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/css/template.css +23 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/js/template.js +106 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/template/template.htm +31 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +142 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +142 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +149 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm +142 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm +162 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm +162 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +111 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js +53 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +229 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +53 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/about.htm +52 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/anchor.htm +26 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm +51 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm +74 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js +1360 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/image.htm +80 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/flash.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/iframe.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/pagebreak.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/quicktime.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/realmedia.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/shockwave.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/trans.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/video.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/img/windowsmedia.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/about.js +73 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/anchor.js +42 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/charmap.js +355 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/color_picker.js +329 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/image.js +247 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/link.js +153 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/js/source_editor.js +56 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js +68 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/langs/en_dlg.js +54 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/link.htm +57 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/shortcuts.htm +47 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/content.css +47 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/content.css +23 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/highcontrast/ui.css +101 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css +46 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +117 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +216 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm +25 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/editor_template_src.js +84 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/assets/{tinymce → tinymce_no_jquery/tinymce}/jscripts/tiny_mce/tiny_mce.js +0 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/tiny_mce_popup.js +5 -0
- data/assets/{tinymce → tinymce_no_jquery/tinymce}/jscripts/tiny_mce/tiny_mce_src.js +6 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/editable_selects.js +70 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/form_utils.js +210 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/mctabs.js +162 -0
- data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/utils/validate.js +252 -0
- data/assets/use_tinymce_init_advanced.js +1 -1
- data/assets/use_tinymce_init_simple.js +1 -1
- data/lib/tasks/use_tinymce.rake +76 -13
- data/lib/use_tinymce/railengine.rb +8 -6
- data/lib/use_tinymce/use_tinymce.rb +23 -3
- metadata +433 -282
- data/assets/tinymce/changelog.txt +0 -1303
- data/assets/tinymce/examples/accessibility.html +0 -101
- data/assets/tinymce/examples/css/content.css +0 -105
- data/assets/tinymce/examples/css/word.css +0 -53
- data/assets/tinymce/examples/custom_formats.html +0 -111
- data/assets/tinymce/examples/full.html +0 -101
- data/assets/tinymce/examples/index.html +0 -10
- data/assets/tinymce/examples/lists/image_list.js +0 -9
- data/assets/tinymce/examples/lists/link_list.js +0 -10
- data/assets/tinymce/examples/lists/media_list.js +0 -14
- data/assets/tinymce/examples/lists/template_list.js +0 -9
- data/assets/tinymce/examples/media/logo.jpg +0 -0
- data/assets/tinymce/examples/media/logo_over.jpg +0 -0
- data/assets/tinymce/examples/media/sample.avi +0 -0
- data/assets/tinymce/examples/media/sample.dcr +0 -0
- data/assets/tinymce/examples/media/sample.flv +0 -0
- data/assets/tinymce/examples/media/sample.mov +0 -0
- data/assets/tinymce/examples/media/sample.ram +0 -1
- data/assets/tinymce/examples/media/sample.rm +0 -0
- data/assets/tinymce/examples/media/sample.swf +0 -0
- data/assets/tinymce/examples/menu.html +0 -18
- data/assets/tinymce/examples/simple.html +0 -47
- data/assets/tinymce/examples/skins.html +0 -216
- data/assets/tinymce/examples/templates/layout1.htm +0 -15
- data/assets/tinymce/examples/templates/snippet1.htm +0 -1
- data/assets/tinymce/examples/word.html +0 -72
- data/assets/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js +0 -57
- data/assets/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js +0 -50
- data/assets/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js +0 -61
- data/assets/tinymce/jscripts/tiny_mce/plugins/advlist/editor_plugin_src.js +0 -161
- data/assets/tinymce/jscripts/tiny_mce/plugins/autolink/editor_plugin_src.js +0 -169
- data/assets/tinymce/jscripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +0 -128
- data/assets/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js +0 -431
- data/assets/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +0 -120
- data/assets/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +0 -161
- data/assets/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin_src.js +0 -82
- data/assets/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js +0 -43
- data/assets/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js +0 -84
- data/assets/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +0 -399
- data/assets/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +0 -159
- data/assets/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js +0 -54
- data/assets/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +0 -696
- data/assets/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +0 -83
- data/assets/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin_src.js +0 -214
- data/assets/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +0 -139
- data/assets/tinymce/jscripts/tiny_mce/plugins/lists/editor_plugin_src.js +0 -617
- data/assets/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js +0 -770
- data/assets/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +0 -53
- data/assets/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +0 -92
- data/assets/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +0 -74
- data/assets/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin_src.js +0 -933
- data/assets/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js +0 -53
- data/assets/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin_src.js +0 -34
- data/assets/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin_src.js +0 -101
- data/assets/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +0 -61
- data/assets/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js +0 -1
- data/assets/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +0 -435
- data/assets/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin_src.js +0 -55
- data/assets/tinymce/jscripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +0 -114
- data/assets/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js +0 -1202
- data/assets/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin_src.js +0 -159
- data/assets/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +0 -83
- data/assets/tinymce/jscripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +0 -114
- data/assets/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +0 -132
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?'<span data-mce-bogus="1" class="mceItemHidden mceItemNbsp"> </span>':" ")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(tinymce.isIE&&f.keyCode==9){d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");tinymce.dom.Event.cancel(f)}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})();
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var a=tinymce.dom.Event;tinymce.create("tinymce.plugins.NonEditablePlugin",{init:function(d,e){var f=this,c,b;f.editor=d;c=d.getParam("noneditable_editable_class","mceEditable");b=d.getParam("noneditable_noneditable_class","mceNonEditable");d.onNodeChange.addToTop(function(h,g,k){var j,i;j=h.dom.getParent(h.selection.getStart(),function(l){return h.dom.hasClass(l,b)});i=h.dom.getParent(h.selection.getEnd(),function(l){return h.dom.hasClass(l,b)});if(j||i){f._setDisabled(1);return false}else{f._setDisabled(0)}})},getInfo:function(){return{longname:"Non editable elements",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_block:function(c,d){var b=d.keyCode;if((b>32&&b<41)||(b>111&&b<124)){return}return a.cancel(d)},_setDisabled:function(d){var c=this,b=c.editor;tinymce.each(b.controlManager.controls,function(e){e.setDisabled(d)});if(d!==c.disabled){if(d){b.onKeyDown.addToTop(c._block);b.onKeyPress.addToTop(c._block);b.onKeyUp.addToTop(c._block);b.onPaste.addToTop(c._block);b.onContextMenu.addToTop(c._block)}else{b.onKeyDown.remove(c._block);b.onKeyPress.remove(c._block);b.onKeyUp.remove(c._block);b.onPaste.remove(c._block);b.onContextMenu.remove(c._block)}c.disabled=d}}});tinymce.PluginManager.add("noneditable",tinymce.plugins.NonEditablePlugin)})();
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='<img src="'+b.theme.url+'/img/trans.gif" class="mcePageBreak mceItemNoResize" />',a="mcePageBreak",c=b.getParam("pagebreak_separator","<!-- pagebreak -->"),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/<img[^>]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})();
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var c=tinymce.each,a={paste_auto_cleanup_on_paste:true,paste_enable_default_filters:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_convert_headers_to_strong:false,paste_dialog_width:"450",paste_dialog_height:"400",paste_text_use_dialog:false,paste_text_sticky:false,paste_text_sticky_default:false,paste_text_notifyalways:false,paste_text_linebreaktype:"p",paste_text_replacements:[[/\u2026/g,"..."],[/[\x93\x94\u201c\u201d]/g,'"'],[/[\x60\x91\x92\u2018\u2019]/g,"'"]]};function b(d,e){return d.getParam(e,a[e])}tinymce.create("tinymce.plugins.PastePlugin",{init:function(d,e){var f=this;f.editor=d;f.url=e;f.onPreProcess=new tinymce.util.Dispatcher(f);f.onPostProcess=new tinymce.util.Dispatcher(f);f.onPreProcess.add(f._preProcess);f.onPostProcess.add(f._postProcess);f.onPreProcess.add(function(i,j){d.execCallback("paste_preprocess",i,j)});f.onPostProcess.add(function(i,j){d.execCallback("paste_postprocess",i,j)});d.onKeyDown.addToTop(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){return false}});d.pasteAsPlainText=b(d,"paste_text_sticky_default");function h(m,k){var l=d.dom,i,j;f.onPreProcess.dispatch(f,m);m.node=l.create("div",0,m.content);if(tinymce.isGecko){i=d.selection.getRng(true);if(i.startContainer==i.endContainer&&i.startContainer.nodeType==3){j=l.select("p,h1,h2,h3,h4,h5,h6,pre",m.node);if(j.length==1&&m.content.indexOf("__MCE_ITEM__")===-1){l.remove(j.reverse(),true)}}}f.onPostProcess.dispatch(f,m);m.content=d.serializer.serialize(m.node,{getInner:1});if((!k)&&(d.pasteAsPlainText)){f._insertPlainText(d,l,m.content);if(!b(d,"paste_text_sticky")){d.pasteAsPlainText=false;d.controlManager.setActive("pastetext",false)}}else{f._insert(m.content)}}d.addCommand("mceInsertClipboardContent",function(i,j){h(j,true)});if(!b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(j,i){var k=tinymce.util.Cookie;d.pasteAsPlainText=!d.pasteAsPlainText;d.controlManager.setActive("pastetext",d.pasteAsPlainText);if((d.pasteAsPlainText)&&(!k.get("tinymcePasteText"))){if(b(d,"paste_text_sticky")){d.windowManager.alert(d.translate("paste.plaintext_mode_sticky"))}else{d.windowManager.alert(d.translate("paste.plaintext_mode_sticky"))}if(!b(d,"paste_text_notifyalways")){k.set("tinymcePasteText","1",new Date(new Date().getFullYear()+1,12,31))}}})}d.addButton("pastetext",{title:"paste.paste_text_desc",cmd:"mcePasteText"});d.addButton("selectall",{title:"paste.selectall_desc",cmd:"selectall"});function g(s){var l,p,j,t,k=d.selection,o=d.dom,q=d.getBody(),i,r;if(s.clipboardData||o.doc.dataTransfer){r=(s.clipboardData||o.doc.dataTransfer).getData("Text");if(d.pasteAsPlainText){s.preventDefault();h({content:r.replace(/\r?\n/g,"<br />")});return}}if(o.get("_mcePaste")){return}l=o.add(q,"div",{id:"_mcePaste","class":"mcePaste","data-mce-bogus":"1"},"\uFEFF\uFEFF");if(q!=d.getDoc().body){i=o.getPos(d.selection.getStart(),q).y}else{i=q.scrollTop+o.getViewPort().y}o.setStyles(l,{position:"absolute",left:-10000,top:i,width:1,height:1,overflow:"hidden"});if(tinymce.isIE){t=k.getRng();j=o.doc.body.createTextRange();j.moveToElementText(l);j.execCommand("Paste");o.remove(l);if(l.innerHTML==="\uFEFF\uFEFF"){d.execCommand("mcePasteWord");s.preventDefault();return}k.setRng(t);k.setContent("");setTimeout(function(){h({content:l.innerHTML})},0);return tinymce.dom.Event.cancel(s)}else{function m(n){n.preventDefault()}o.bind(d.getDoc(),"mousedown",m);o.bind(d.getDoc(),"keydown",m);p=d.selection.getRng();l=l.firstChild;j=d.getDoc().createRange();j.setStart(l,0);j.setEnd(l,2);k.setRng(j);window.setTimeout(function(){var u="",n;if(!o.select("div.mcePaste > div.mcePaste").length){n=o.select("div.mcePaste");c(n,function(w){var v=w.firstChild;if(v&&v.nodeName=="DIV"&&v.style.marginTop&&v.style.backgroundColor){o.remove(v,1)}c(o.select("span.Apple-style-span",w),function(x){o.remove(x,1)});c(o.select("br[data-mce-bogus]",w),function(x){o.remove(x)});if(w.parentNode.className!="mcePaste"){u+=w.innerHTML}})}else{u="<pre>"+o.encode(r).replace(/\r?\n/g,"<br />")+"</pre>"}c(o.select("div.mcePaste"),function(v){o.remove(v)});if(p){k.setRng(p)}h({content:u});o.unbind(d.getDoc(),"mousedown",m);o.unbind(d.getDoc(),"keydown",m)},0)}}if(b(d,"paste_auto_cleanup_on_paste")){if(tinymce.isOpera||/Firefox\/2/.test(navigator.userAgent)){d.onKeyDown.addToTop(function(i,j){if(((tinymce.isMac?j.metaKey:j.ctrlKey)&&j.keyCode==86)||(j.shiftKey&&j.keyCode==45)){g(j)}})}else{d.onPaste.addToTop(function(i,j){return g(j)})}}d.onInit.add(function(){d.controlManager.setActive("pastetext",d.pasteAsPlainText);if(b(d,"paste_block_drop")){d.dom.bind(d.getBody(),["dragend","dragover","draggesture","dragdrop","drop","drag"],function(i){i.preventDefault();i.stopPropagation();return false})}});f._legacySupport()},getInfo:function(){return{longname:"Paste text/word",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/paste",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_preProcess:function(g,e){var k=this.editor,j=e.content,p=tinymce.grep,n=tinymce.explode,f=tinymce.trim,l,i;function d(h){c(h,function(o){if(o.constructor==RegExp){j=j.replace(o,"")}else{j=j.replace(o[0],o[1])}})}if(k.settings.paste_enable_default_filters==false){return}if(tinymce.isIE&&document.documentMode>=9){d([[/(?:<br> [\s\r\n]+|<br>)*(<\/?(h[1-6r]|p|div|address|pre|form|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|blockquote|center|dl|dt|dd|dir|fieldset)[^>]*>)(?:<br> [\s\r\n]+|<br>)*/g,"$1"]])}if(/class="?Mso|style="[^"]*\bmso-|w:WordDocument/i.test(j)||e.wordContent){e.wordContent=true;d([/^\s*( )+/gi,/( |<br[^>]*>)+\s*$/gi]);if(b(k,"paste_convert_headers_to_strong")){j=j.replace(/<p [^>]*class="?MsoHeading"?[^>]*>(.*?)<\/p>/gi,"<p><strong>$1</strong></p>")}if(b(k,"paste_convert_middot_lists")){d([[/<!--\[if !supportLists\]-->/gi,"$&__MCE_ITEM__"],[/(<span[^>]+(?:mso-list:|:\s*symbol)[^>]+>)/gi,"$1__MCE_ITEM__"],[/(<p[^>]+(?:MsoListParagraph)[^>]+>)/gi,"$1__MCE_ITEM__"]])}d([/<!--[\s\S]+?-->/gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\u00a0"]]);do{l=j.length;j=j.replace(/(<[a-z][^>]*\s)(?:id|name|language|type|on\w+|\w+:\w+)=(?:"[^"]*"|\w+)\s?/gi,"$1")}while(l!=j.length);if(b(k,"paste_retain_style_properties").replace(/^none$/i,"").length==0){j=j.replace(/<\/?span[^>]*>/gi,"")}else{d([[/<span\s+style\s*=\s*"\s*mso-spacerun\s*:\s*yes\s*;?\s*"\s*>([\s\u00a0]*)<\/span>/gi,function(o,h){return(h.length>0)?h.replace(/./," ").slice(Math.floor(h.length/2)).split("").join("\u00a0"):""}],[/(<[a-z][^>]*)\sstyle="([^"]*)"/gi,function(t,h,r){var u=[],o=0,q=n(f(r).replace(/"/gi,"'"),";");c(q,function(s){var w,y,z=n(s,":");function x(A){return A+((A!=="0")&&(/\d$/.test(A)))?"px":""}if(z.length==2){w=z[0].toLowerCase();y=z[1].toLowerCase();switch(w){case"mso-padding-alt":case"mso-padding-top-alt":case"mso-padding-right-alt":case"mso-padding-bottom-alt":case"mso-padding-left-alt":case"mso-margin-alt":case"mso-margin-top-alt":case"mso-margin-right-alt":case"mso-margin-bottom-alt":case"mso-margin-left-alt":case"mso-table-layout-alt":case"mso-height":case"mso-width":case"mso-vertical-align-alt":u[o++]=w.replace(/^mso-|-alt$/g,"")+":"+x(y);return;case"horiz-align":u[o++]="text-align:"+y;return;case"vert-align":u[o++]="vertical-align:"+y;return;case"font-color":case"mso-foreground":u[o++]="color:"+y;return;case"mso-background":case"mso-highlight":u[o++]="background:"+y;return;case"mso-default-height":u[o++]="min-height:"+x(y);return;case"mso-default-width":u[o++]="min-width:"+x(y);return;case"mso-padding-between-alt":u[o++]="border-collapse:separate;border-spacing:"+x(y);return;case"text-line-through":if((y=="single")||(y=="double")){u[o++]="text-decoration:line-through"}return;case"mso-zero-height":if(y=="yes"){u[o++]="display:none"}return}if(/^(mso|column|font-emph|lang|layout|line-break|list-image|nav|panose|punct|row|ruby|sep|size|src|tab-|table-border|text-(?!align|decor|indent|trans)|top-bar|version|vnd|word-break)/.test(w)){return}u[o++]=w+":"+z[1]}});if(o>0){return h+' style="'+u.join(";")+'"'}else{return h}}]])}}if(b(k,"paste_convert_headers_to_strong")){d([[/<h[1-6][^>]*>/gi,"<p><strong>"],[/<\/h[1-6][^>]*>/gi,"</strong></p>"]])}d([[/Version:[\d.]+\nStartHTML:\d+\nEndHTML:\d+\nStartFragment:\d+\nEndFragment:\d+/gi,""]]);i=b(k,"paste_strip_class_attributes");if(i!=="none"){function m(q,o){if(i==="all"){return""}var h=p(n(o.replace(/^(["'])(.*)\1$/,"$2")," "),function(r){return(/^(?!mso)/i.test(r))});return h.length?' class="'+h.join(" ")+'"':""}j=j.replace(/ class="([^"]+)"/gi,m);j=j.replace(/ class=([\-\w]+)/gi,m)}if(b(k,"paste_remove_spans")){j=j.replace(/<\/?span[^>]*>/gi,"")}e.content=j},_postProcess:function(g,i){var f=this,e=f.editor,h=e.dom,d;if(e.settings.paste_enable_default_filters==false){return}if(i.wordContent){c(h.select("a",i.node),function(j){if(!j.href||j.href.indexOf("#_Toc")!=-1){h.remove(j,1)}});if(b(e,"paste_convert_middot_lists")){f._convertLists(g,i)}d=b(e,"paste_retain_style_properties");if((tinymce.is(d,"string"))&&(d!=="all")&&(d!=="*")){d=tinymce.explode(d.replace(/^none$/i,""));c(h.select("*",i.node),function(m){var n={},k=0,l,o,j;if(d){for(l=0;l<d.length;l++){o=d[l];j=h.getStyle(m,o);if(j){n[o]=j;k++}}}h.setAttrib(m,"style","");if(d&&k>0){h.setStyles(m,n)}else{if(m.nodeName=="SPAN"&&!m.className){h.remove(m,true)}}})}}if(b(e,"paste_remove_styles")||(b(e,"paste_remove_styles_if_webkit")&&tinymce.isWebKit)){c(h.select("*[style]",i.node),function(j){j.removeAttribute("style");j.removeAttribute("data-mce-style")})}else{if(tinymce.isWebKit){c(h.select("*",i.node),function(j){j.removeAttribute("data-mce-style")})}}},_convertLists:function(g,e){var i=g.editor.dom,h,l,d=-1,f,m=[],k,j;c(i.select("p",e.node),function(t){var q,u="",s,r,n,o;for(q=t.firstChild;q&&q.nodeType==3;q=q.nextSibling){u+=q.nodeValue}u=t.innerHTML.replace(/<\/?\w+[^>]*>/gi,"").replace(/ /g,"\u00a0");if(/^(__MCE_ITEM__)+[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*\u00a0*/.test(u)){s="ul"}if(/^__MCE_ITEM__\s*\w+\.\s*\u00a0+/.test(u)){s="ol"}if(s){f=parseFloat(t.style.marginLeft||0);if(f>d){m.push(f)}if(!h||s!=k){h=i.create(s);i.insertAfter(h,t)}else{if(f>d){h=l.appendChild(i.create(s))}else{if(f<d){n=tinymce.inArray(m,f);o=i.getParents(h.parentNode,s);h=o[o.length-1-n]||h}}}c(i.select("span",t),function(v){var p=v.innerHTML.replace(/<\/?\w+[^>]*>/gi,"");if(s=="ul"&&/^__MCE_ITEM__[\u2022\u00b7\u00a7\u00d8o\u25CF]/.test(p)){i.remove(v)}else{if(/^__MCE_ITEM__[\s\S]*\w+\.( |\u00a0)*\s*/.test(p)){i.remove(v)}}});r=t.innerHTML;if(s=="ul"){r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^[\u2022\u00b7\u00a7\u00d8o\u25CF]\s*( |\u00a0)+\s*/,"")}else{r=t.innerHTML.replace(/__MCE_ITEM__/g,"").replace(/^\s*\w+\.( |\u00a0)+\s*/,"")}l=h.appendChild(i.create("li",0,r));i.remove(t);d=f;k=s}else{h=d=0}});j=e.node.innerHTML;if(j.indexOf("__MCE_ITEM__")!=-1){e.node.innerHTML=j.replace(/__MCE_ITEM__/g,"")}},_insert:function(f,d){var e=this.editor,g=e.selection.getRng();if(!e.selection.isCollapsed()&&g.startContainer!=g.endContainer){e.getDoc().execCommand("Delete",false,null)}e.execCommand("mceInsertContent",false,f,{skip_undo:d})},_insertPlainText:function(j,x,v){var t,u,l,k,r,e,p,f,n=j.getWin(),z=j.getDoc(),s=j.selection,m=tinymce.is,y=tinymce.inArray,g=b(j,"paste_text_linebreaktype"),o=b(j,"paste_text_replacements");function q(d){c(d,function(h){if(h.constructor==RegExp){v=v.replace(h,"")}else{v=v.replace(h[0],h[1])}})}if((typeof(v)==="string")&&(v.length>0)){if(/<(?:p|br|h[1-6]|ul|ol|dl|table|t[rdh]|div|blockquote|fieldset|pre|address|center)[^>]*>/i.test(v)){q([/[\n\r]+/g])}else{q([/\r+/g])}q([[/<\/(?:p|h[1-6]|ul|ol|dl|table|div|blockquote|fieldset|pre|address|center)>/gi,"\n\n"],[/<br[^>]*>|<\/tr>/gi,"\n"],[/<\/t[dh]>\s*<t[dh][^>]*>/gi,"\t"],/<[a-z!\/?][^>]*>/gi,[/ /gi," "],[/(?:(?!\n)\s)*(\n+)(?:(?!\n)\s)*/gi,"$1"],[/\n{3,}/g,"\n\n"],/^\s+|\s+$/g]);v=x.decode(tinymce.html.Entities.encodeRaw(v));if(!s.isCollapsed()){z.execCommand("Delete",false,null)}if(m(o,"array")||(m(o,"array"))){q(o)}else{if(m(o,"string")){q(new RegExp(o,"gi"))}}if(g=="none"){q([[/\n+/g," "]])}else{if(g=="br"){q([[/\n/g,"<br />"]])}else{q([/^\s+|\s+$/g,[/\n\n/g,"</p><p>"],[/\n/g,"<br />"]])}}if((l=v.indexOf("</p><p>"))!=-1){k=v.lastIndexOf("</p><p>");r=s.getNode();e=[];do{if(r.nodeType==1){if(r.nodeName=="TD"||r.nodeName=="BODY"){break}e[e.length]=r}}while(r=r.parentNode);if(e.length>0){p=v.substring(0,l);f="";for(t=0,u=e.length;t<u;t++){p+="</"+e[t].nodeName.toLowerCase()+">";f+="<"+e[e.length-t-1].nodeName.toLowerCase()+">"}if(l==k){v=p+f+v.substring(l+7)}else{v=p+v.substring(l+4,k+4)+f+v.substring(k+7)}}}j.execCommand("mceInsertRawHTML",false,v+'<span id="_plain_text_marker"> </span>');window.setTimeout(function(){var d=x.get("_plain_text_marker"),A,h,w,i;s.select(d,false);z.execCommand("Delete",false,null);d=null;A=s.getStart();h=x.getViewPort(n);w=x.getPos(A).y;i=A.clientHeight;if((w<h.y)||(w+i>h.y+h.h)){z.body.scrollTop=w<h.y?w:w-h.h+25}},0)}},_legacySupport:function(){var e=this,d=e.editor;d.addCommand("mcePasteWord",function(){d.windowManager.open({file:e.url+"/pasteword.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})});if(b(d,"paste_text_use_dialog")){d.addCommand("mcePasteText",function(){d.windowManager.open({file:e.url+"/pastetext.htm",width:parseInt(b(d,"paste_dialog_width")),height:parseInt(b(d,"paste_dialog_height")),inline:1})})}d.addButton("pasteword",{title:"paste.paste_word_desc",cmd:"mcePasteWord"})}});tinymce.PluginManager.add("paste",tinymce.plugins.PastePlugin)})();
|
@@ -0,0 +1,36 @@
|
|
1
|
+
tinyMCEPopup.requireLangPack();
|
2
|
+
|
3
|
+
var PasteTextDialog = {
|
4
|
+
init : function() {
|
5
|
+
this.resize();
|
6
|
+
},
|
7
|
+
|
8
|
+
insert : function() {
|
9
|
+
var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines;
|
10
|
+
|
11
|
+
// Convert linebreaks into paragraphs
|
12
|
+
if (document.getElementById('linebreaks').checked) {
|
13
|
+
lines = h.split(/\r?\n/);
|
14
|
+
if (lines.length > 1) {
|
15
|
+
h = '';
|
16
|
+
tinymce.each(lines, function(row) {
|
17
|
+
h += '<p>' + row + '</p>';
|
18
|
+
});
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h});
|
23
|
+
tinyMCEPopup.close();
|
24
|
+
},
|
25
|
+
|
26
|
+
resize : function() {
|
27
|
+
var vp = tinyMCEPopup.dom.getViewPort(window), el;
|
28
|
+
|
29
|
+
el = document.getElementById('content');
|
30
|
+
|
31
|
+
el.style.width = (vp.w - 20) + 'px';
|
32
|
+
el.style.height = (vp.h - 90) + 'px';
|
33
|
+
}
|
34
|
+
};
|
35
|
+
|
36
|
+
tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog);
|
@@ -0,0 +1,51 @@
|
|
1
|
+
tinyMCEPopup.requireLangPack();
|
2
|
+
|
3
|
+
var PasteWordDialog = {
|
4
|
+
init : function() {
|
5
|
+
var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = '';
|
6
|
+
|
7
|
+
// Create iframe
|
8
|
+
el.innerHTML = '<iframe id="iframe" src="javascript:\'\';" frameBorder="0" style="border: 1px solid gray"></iframe>';
|
9
|
+
ifr = document.getElementById('iframe');
|
10
|
+
doc = ifr.contentWindow.document;
|
11
|
+
|
12
|
+
// Force absolute CSS urls
|
13
|
+
css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")];
|
14
|
+
css = css.concat(tinymce.explode(ed.settings.content_css) || []);
|
15
|
+
tinymce.each(css, function(u) {
|
16
|
+
cssHTML += '<link href="' + ed.documentBaseURI.toAbsolute('' + u) + '" rel="stylesheet" type="text/css" />';
|
17
|
+
});
|
18
|
+
|
19
|
+
// Write content into iframe
|
20
|
+
doc.open();
|
21
|
+
doc.write('<html><head>' + cssHTML + '</head><body class="mceContentBody" spellcheck="false"></body></html>');
|
22
|
+
doc.close();
|
23
|
+
|
24
|
+
doc.designMode = 'on';
|
25
|
+
this.resize();
|
26
|
+
|
27
|
+
window.setTimeout(function() {
|
28
|
+
ifr.contentWindow.focus();
|
29
|
+
}, 10);
|
30
|
+
},
|
31
|
+
|
32
|
+
insert : function() {
|
33
|
+
var h = document.getElementById('iframe').contentWindow.document.body.innerHTML;
|
34
|
+
|
35
|
+
tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true});
|
36
|
+
tinyMCEPopup.close();
|
37
|
+
},
|
38
|
+
|
39
|
+
resize : function() {
|
40
|
+
var vp = tinyMCEPopup.dom.getViewPort(window), el;
|
41
|
+
|
42
|
+
el = document.getElementById('iframe');
|
43
|
+
|
44
|
+
if (el) {
|
45
|
+
el.style.width = (vp.w - 20) + 'px';
|
46
|
+
el.style.height = (vp.h - 90) + 'px';
|
47
|
+
}
|
48
|
+
}
|
49
|
+
};
|
50
|
+
|
51
|
+
tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog);
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
+
<head>
|
3
|
+
<title>{#paste.paste_text_desc}</title>
|
4
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
5
|
+
<script type="text/javascript" src="js/pastetext.js"></script>
|
6
|
+
</head>
|
7
|
+
<body onresize="PasteTextDialog.resize();" style="display:none; overflow:hidden;">
|
8
|
+
<form name="source" onsubmit="return PasteTextDialog.insert();" action="#">
|
9
|
+
<div style="float: left" class="title">{#paste.paste_text_desc}</div>
|
10
|
+
|
11
|
+
<div style="float: right">
|
12
|
+
<input type="checkbox" name="linebreaks" id="linebreaks" class="wordWrapCode" checked="checked" /><label for="linebreaks">{#paste_dlg.text_linebreaks}</label>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<br style="clear: both" />
|
16
|
+
|
17
|
+
<div>{#paste_dlg.text_title}</div>
|
18
|
+
|
19
|
+
<textarea id="content" name="content" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,mono; font-size: 12px;" dir="ltr" wrap="soft" class="mceFocus"></textarea>
|
20
|
+
|
21
|
+
<div class="mceActionPanel">
|
22
|
+
<input type="submit" name="insert" value="{#insert}" id="insert" />
|
23
|
+
<input type="button" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" id="cancel" />
|
24
|
+
</div>
|
25
|
+
</form>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
+
<head>
|
3
|
+
<title>{#paste.paste_word_desc}</title>
|
4
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
5
|
+
<script type="text/javascript" src="js/pasteword.js"></script>
|
6
|
+
</head>
|
7
|
+
<body onresize="PasteWordDialog.resize();" style="display:none; overflow:hidden;">
|
8
|
+
<form name="source" onsubmit="return PasteWordDialog.insert();" action="#">
|
9
|
+
<div class="title">{#paste.paste_word_desc}</div>
|
10
|
+
|
11
|
+
<div>{#paste_dlg.word_title}</div>
|
12
|
+
|
13
|
+
<div id="iframecontainer"></div>
|
14
|
+
|
15
|
+
<div class="mceActionPanel">
|
16
|
+
<input type="submit" id="insert" name="insert" value="{#insert}" />
|
17
|
+
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
18
|
+
</div>
|
19
|
+
</form>
|
20
|
+
</body>
|
21
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.Preview",{init:function(a,b){var d=this,c=tinymce.explode(a.settings.content_css);d.editor=a;tinymce.each(c,function(f,e){c[e]=a.documentBaseURI.toAbsolute(f)});a.addCommand("mcePreview",function(){a.windowManager.open({file:a.getParam("plugin_preview_pageurl",b+"/preview.html"),width:parseInt(a.getParam("plugin_preview_width","550")),height:parseInt(a.getParam("plugin_preview_height","600")),resizable:"yes",scrollbars:"yes",popup_css:c?c.join(","):a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css"),inline:a.getParam("plugin_preview_inline",1)},{base:a.documentBaseURI.getURI()})});a.addButton("preview",{title:"preview.preview_desc",cmd:"mcePreview"})},getInfo:function(){return{longname:"Preview",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("preview",tinymce.plugins.Preview)})();
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
+
<head>
|
3
|
+
<script language="javascript" src="../../tiny_mce_popup.js"></script>
|
4
|
+
<script type="text/javascript" src="jscripts/embed.js"></script>
|
5
|
+
<script type="text/javascript">
|
6
|
+
tinyMCEPopup.onInit.add(function(ed) {
|
7
|
+
var dom = tinyMCEPopup.dom;
|
8
|
+
|
9
|
+
// Load editor content_css
|
10
|
+
tinymce.each(ed.settings.content_css.split(','), function(u) {
|
11
|
+
dom.loadCSS(ed.documentBaseURI.toAbsolute(u));
|
12
|
+
});
|
13
|
+
|
14
|
+
// Place contents inside div container
|
15
|
+
dom.setHTML('content', ed.getContent());
|
16
|
+
});
|
17
|
+
</script>
|
18
|
+
<title>Example of a custom preview page</title>
|
19
|
+
</head>
|
20
|
+
<body>
|
21
|
+
|
22
|
+
Editor contents: <br />
|
23
|
+
<div id="content">
|
24
|
+
<!-- Gets filled with editor contents -->
|
25
|
+
</div>
|
26
|
+
|
27
|
+
</body>
|
28
|
+
</html>
|
@@ -0,0 +1,73 @@
|
|
1
|
+
/**
|
2
|
+
* This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
|
3
|
+
*/
|
4
|
+
|
5
|
+
function writeFlash(p) {
|
6
|
+
writeEmbed(
|
7
|
+
'D27CDB6E-AE6D-11cf-96B8-444553540000',
|
8
|
+
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
|
9
|
+
'application/x-shockwave-flash',
|
10
|
+
p
|
11
|
+
);
|
12
|
+
}
|
13
|
+
|
14
|
+
function writeShockWave(p) {
|
15
|
+
writeEmbed(
|
16
|
+
'166B1BCA-3F9C-11CF-8075-444553540000',
|
17
|
+
'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0',
|
18
|
+
'application/x-director',
|
19
|
+
p
|
20
|
+
);
|
21
|
+
}
|
22
|
+
|
23
|
+
function writeQuickTime(p) {
|
24
|
+
writeEmbed(
|
25
|
+
'02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
|
26
|
+
'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
|
27
|
+
'video/quicktime',
|
28
|
+
p
|
29
|
+
);
|
30
|
+
}
|
31
|
+
|
32
|
+
function writeRealMedia(p) {
|
33
|
+
writeEmbed(
|
34
|
+
'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA',
|
35
|
+
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
|
36
|
+
'audio/x-pn-realaudio-plugin',
|
37
|
+
p
|
38
|
+
);
|
39
|
+
}
|
40
|
+
|
41
|
+
function writeWindowsMedia(p) {
|
42
|
+
p.url = p.src;
|
43
|
+
writeEmbed(
|
44
|
+
'6BF52A52-394A-11D3-B153-00C04F79FAA6',
|
45
|
+
'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701',
|
46
|
+
'application/x-mplayer2',
|
47
|
+
p
|
48
|
+
);
|
49
|
+
}
|
50
|
+
|
51
|
+
function writeEmbed(cls, cb, mt, p) {
|
52
|
+
var h = '', n;
|
53
|
+
|
54
|
+
h += '<object classid="clsid:' + cls + '" codebase="' + cb + '"';
|
55
|
+
h += typeof(p.id) != "undefined" ? 'id="' + p.id + '"' : '';
|
56
|
+
h += typeof(p.name) != "undefined" ? 'name="' + p.name + '"' : '';
|
57
|
+
h += typeof(p.width) != "undefined" ? 'width="' + p.width + '"' : '';
|
58
|
+
h += typeof(p.height) != "undefined" ? 'height="' + p.height + '"' : '';
|
59
|
+
h += typeof(p.align) != "undefined" ? 'align="' + p.align + '"' : '';
|
60
|
+
h += '>';
|
61
|
+
|
62
|
+
for (n in p)
|
63
|
+
h += '<param name="' + n + '" value="' + p[n] + '">';
|
64
|
+
|
65
|
+
h += '<embed type="' + mt + '"';
|
66
|
+
|
67
|
+
for (n in p)
|
68
|
+
h += n + '="' + p[n] + '" ';
|
69
|
+
|
70
|
+
h += '></embed></object>';
|
71
|
+
|
72
|
+
document.write(h);
|
73
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
5
|
+
<script type="text/javascript" src="jscripts/embed.js"></script>
|
6
|
+
<script type="text/javascript"><!--
|
7
|
+
document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">');
|
8
|
+
// -->
|
9
|
+
</script>
|
10
|
+
<title>{#preview.preview_desc}</title>
|
11
|
+
</head>
|
12
|
+
<body id="content">
|
13
|
+
<script type="text/javascript">
|
14
|
+
document.write(tinyMCEPopup.editor.getContent());
|
15
|
+
</script>
|
16
|
+
</body>
|
17
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})();
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.Save",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceSave",c._save,c);a.addCommand("mceCancel",c._cancel,c);a.addButton("save",{title:"save.save_desc",cmd:"mceSave"});a.addButton("cancel",{title:"save.cancel_desc",cmd:"mceCancel"});a.onNodeChange.add(c._nodeChange,c);a.addShortcut("ctrl+s",a.getLang("save.save_desc"),"mceSave")},getInfo:function(){return{longname:"Save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,c){var b=this.editor;if(b.getParam("save_enablewhendirty")){a.setDisabled("save",!b.isDirty());a.setDisabled("cancel",!b.isDirty())}},_save:function(){var c=this.editor,a,e,d,b;a=tinymce.DOM.get(c.id).form||tinymce.DOM.getParent(c.id,"form");if(c.getParam("save_enablewhendirty")&&!c.isDirty()){return}tinyMCE.triggerSave();if(e=c.getParam("save_onsavecallback")){if(c.execCallback("save_onsavecallback",c)){c.startContent=tinymce.trim(c.getContent({format:"raw"}));c.nodeChanged()}return}if(a){c.isNotDirty=true;if(a.onsubmit==null||a.onsubmit()!=false){a.submit()}c.nodeChanged()}else{c.windowManager.alert("Error: No form element found.")}},_cancel:function(){var a=this.editor,c,b=tinymce.trim(a.startContent);if(c=a.getParam("save_oncancelcallback")){a.execCallback("save_oncancelcallback",a);return}a.setContent(b);a.undoManager.clear();a.nodeChanged()}});tinymce.PluginManager.add("save",tinymce.plugins.Save)})();
|
data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})();
|
data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
tinyMCEPopup.requireLangPack();
|
2
|
+
|
3
|
+
var SearchReplaceDialog = {
|
4
|
+
init : function(ed) {
|
5
|
+
var t = this, f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
|
6
|
+
|
7
|
+
t.switchMode(m);
|
8
|
+
|
9
|
+
f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
|
10
|
+
|
11
|
+
// Focus input field
|
12
|
+
f[m + '_panel_searchstring'].focus();
|
13
|
+
|
14
|
+
mcTabs.onChange.add(function(tab_id, panel_id) {
|
15
|
+
t.switchMode(tab_id.substring(0, tab_id.indexOf('_')));
|
16
|
+
});
|
17
|
+
},
|
18
|
+
|
19
|
+
switchMode : function(m) {
|
20
|
+
var f, lm = this.lastMode;
|
21
|
+
|
22
|
+
if (lm != m) {
|
23
|
+
f = document.forms[0];
|
24
|
+
|
25
|
+
if (lm) {
|
26
|
+
f[m + '_panel_searchstring'].value = f[lm + '_panel_searchstring'].value;
|
27
|
+
f[m + '_panel_backwardsu'].checked = f[lm + '_panel_backwardsu'].checked;
|
28
|
+
f[m + '_panel_backwardsd'].checked = f[lm + '_panel_backwardsd'].checked;
|
29
|
+
f[m + '_panel_casesensitivebox'].checked = f[lm + '_panel_casesensitivebox'].checked;
|
30
|
+
}
|
31
|
+
|
32
|
+
mcTabs.displayTab(m + '_tab', m + '_panel');
|
33
|
+
document.getElementById("replaceBtn").style.display = (m == "replace") ? "inline" : "none";
|
34
|
+
document.getElementById("replaceAllBtn").style.display = (m == "replace") ? "inline" : "none";
|
35
|
+
this.lastMode = m;
|
36
|
+
}
|
37
|
+
},
|
38
|
+
|
39
|
+
searchNext : function(a) {
|
40
|
+
var ed = tinyMCEPopup.editor, se = ed.selection, r = se.getRng(), f, m = this.lastMode, s, b, fl = 0, w = ed.getWin(), wm = ed.windowManager, fo = 0;
|
41
|
+
|
42
|
+
// Get input
|
43
|
+
f = document.forms[0];
|
44
|
+
s = f[m + '_panel_searchstring'].value;
|
45
|
+
b = f[m + '_panel_backwardsu'].checked;
|
46
|
+
ca = f[m + '_panel_casesensitivebox'].checked;
|
47
|
+
rs = f['replace_panel_replacestring'].value;
|
48
|
+
|
49
|
+
if (tinymce.isIE) {
|
50
|
+
r = ed.getDoc().selection.createRange();
|
51
|
+
}
|
52
|
+
|
53
|
+
if (s == '')
|
54
|
+
return;
|
55
|
+
|
56
|
+
function fix() {
|
57
|
+
// Correct Firefox graphics glitches
|
58
|
+
// TODO: Verify if this is actually needed any more, maybe it was for very old FF versions?
|
59
|
+
r = se.getRng().cloneRange();
|
60
|
+
ed.getDoc().execCommand('SelectAll', false, null);
|
61
|
+
se.setRng(r);
|
62
|
+
};
|
63
|
+
|
64
|
+
function replace() {
|
65
|
+
ed.selection.setContent(rs); // Needs to be duplicated due to selection bug in IE
|
66
|
+
};
|
67
|
+
|
68
|
+
// IE flags
|
69
|
+
if (ca)
|
70
|
+
fl = fl | 4;
|
71
|
+
|
72
|
+
switch (a) {
|
73
|
+
case 'all':
|
74
|
+
// Move caret to beginning of text
|
75
|
+
ed.execCommand('SelectAll');
|
76
|
+
ed.selection.collapse(true);
|
77
|
+
|
78
|
+
if (tinymce.isIE) {
|
79
|
+
ed.focus();
|
80
|
+
r = ed.getDoc().selection.createRange();
|
81
|
+
|
82
|
+
while (r.findText(s, b ? -1 : 1, fl)) {
|
83
|
+
r.scrollIntoView();
|
84
|
+
r.select();
|
85
|
+
replace();
|
86
|
+
fo = 1;
|
87
|
+
|
88
|
+
if (b) {
|
89
|
+
r.moveEnd("character", -(rs.length)); // Otherwise will loop forever
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
tinyMCEPopup.storeSelection();
|
94
|
+
} else {
|
95
|
+
while (w.find(s, ca, b, false, false, false, false)) {
|
96
|
+
replace();
|
97
|
+
fo = 1;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
if (fo)
|
102
|
+
tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.allreplaced'));
|
103
|
+
else
|
104
|
+
tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound'));
|
105
|
+
|
106
|
+
return;
|
107
|
+
|
108
|
+
case 'current':
|
109
|
+
if (!ed.selection.isCollapsed())
|
110
|
+
replace();
|
111
|
+
|
112
|
+
break;
|
113
|
+
}
|
114
|
+
|
115
|
+
se.collapse(b);
|
116
|
+
r = se.getRng();
|
117
|
+
|
118
|
+
// Whats the point
|
119
|
+
if (!s)
|
120
|
+
return;
|
121
|
+
|
122
|
+
if (tinymce.isIE) {
|
123
|
+
ed.focus();
|
124
|
+
r = ed.getDoc().selection.createRange();
|
125
|
+
|
126
|
+
if (r.findText(s, b ? -1 : 1, fl)) {
|
127
|
+
r.scrollIntoView();
|
128
|
+
r.select();
|
129
|
+
} else
|
130
|
+
tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound'));
|
131
|
+
|
132
|
+
tinyMCEPopup.storeSelection();
|
133
|
+
} else {
|
134
|
+
if (!w.find(s, ca, b, false, false, false, false))
|
135
|
+
tinyMCEPopup.alert(ed.getLang('searchreplace_dlg.notfound'));
|
136
|
+
else
|
137
|
+
fix();
|
138
|
+
}
|
139
|
+
}
|
140
|
+
};
|
141
|
+
|
142
|
+
tinyMCEPopup.onInit.add(SearchReplaceDialog.init, SearchReplaceDialog);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
tinyMCE.addI18n('en.searchreplace_dlg',{
|
2
|
+
searchnext_desc:"Find again",
|
3
|
+
notfound:"The search has been completed. The search string could not be found.",
|
4
|
+
search_title:"Find",
|
5
|
+
replace_title:"Find/Replace",
|
6
|
+
allreplaced:"All occurrences of the search string were replaced.",
|
7
|
+
findwhat:"Find what",
|
8
|
+
replacewith:"Replace with",
|
9
|
+
direction:"Direction",
|
10
|
+
up:"Up",
|
11
|
+
down:"Down",
|
12
|
+
mcase:"Match case",
|
13
|
+
findnext:"Find next",
|
14
|
+
replace:"Replace",
|
15
|
+
replaceall:"Replace all"
|
16
|
+
});
|
data/assets/tinymce_no_jquery/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<title>{#searchreplace_dlg.replace_title}</title>
|
5
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
6
|
+
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
7
|
+
<script type="text/javascript" src="../../utils/form_utils.js"></script>
|
8
|
+
<script type="text/javascript" src="js/searchreplace.js"></script>
|
9
|
+
<link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
|
10
|
+
</head>
|
11
|
+
<body style="display:none;" role="application" aria-labelledby="app_title">
|
12
|
+
<span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
|
13
|
+
<form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
|
14
|
+
<div class="tabs">
|
15
|
+
<ul>
|
16
|
+
<li id="search_tab" aria-controls="search_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
|
17
|
+
<li id="replace_tab" aria-controls="replace_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="panel_wrapper">
|
22
|
+
<div id="search_panel" class="panel">
|
23
|
+
<table role="presentation" border="0" cellspacing="0" cellpadding="2">
|
24
|
+
<tr>
|
25
|
+
<td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
|
26
|
+
<td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
|
27
|
+
</tr>
|
28
|
+
<tr>
|
29
|
+
<td colspan="2">
|
30
|
+
<table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
|
31
|
+
<tr role="group" aria-labelledby="search_panel_backwards_label">
|
32
|
+
<td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
|
33
|
+
<td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
|
34
|
+
<td><label for="search_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
|
35
|
+
<td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" checked="checked" /></td>
|
36
|
+
<td><label for="search_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
|
37
|
+
</tr>
|
38
|
+
</table>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td colspan="2">
|
43
|
+
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
|
44
|
+
<tr>
|
45
|
+
<td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
|
46
|
+
<td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
|
47
|
+
</tr>
|
48
|
+
</table>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
</table>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
<div id="replace_panel" class="panel">
|
55
|
+
<table role="presentation" border="0" cellspacing="0" cellpadding="2">
|
56
|
+
<tr>
|
57
|
+
<td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
|
58
|
+
<td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
|
62
|
+
<td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" aria-required="true" /></td>
|
63
|
+
</tr>
|
64
|
+
<tr>
|
65
|
+
<td colspan="2">
|
66
|
+
<table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
|
67
|
+
<tr role="group" aria-labelledby="replace_panel_dir_label">
|
68
|
+
<td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
|
69
|
+
<td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
|
70
|
+
<td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
|
71
|
+
<td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
|
72
|
+
<td><label for="replace_panel_backwardsd">{#searchreplace_dlg.down}</label></td>
|
73
|
+
</tr>
|
74
|
+
</table>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td colspan="2">
|
79
|
+
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
|
80
|
+
<tr>
|
81
|
+
<td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
|
82
|
+
<td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
|
83
|
+
</tr>
|
84
|
+
</table>
|
85
|
+
</td>
|
86
|
+
</tr>
|
87
|
+
</table>
|
88
|
+
</div>
|
89
|
+
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div class="mceActionPanel">
|
93
|
+
<input type="submit" id="insert" name="insert" value="{#searchreplace_dlg.findnext}" />
|
94
|
+
<input type="button" class="button" id="replaceBtn" name="replaceBtn" value="{#searchreplace_dlg.replace}" onclick="SearchReplaceDialog.searchNext('current');" />
|
95
|
+
<input type="button" class="button" id="replaceAllBtn" name="replaceAllBtn" value="{#searchreplace_dlg.replaceall}" onclick="SearchReplaceDialog.searchNext('all');" />
|
96
|
+
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
97
|
+
</div>
|
98
|
+
</form>
|
99
|
+
</body>
|
100
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
.mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;}
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}\u00A7\u00a9\u00ab\u00ae\u00b1\u00b6\u00b7\u00be\u00bb\u00bc\u00bd\u00be\u00bf\u2715\u00f7\u00a4\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(e){var f=this.editor,h=f.dom,g=f.selection,d=g.getBookmark();c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!e||h.decode(i.innerHTML)==e){h.remove(i,1)}}});g.moveToBookmark(d)},_markWords:function(l){var g=this.editor,f=g.dom,j=g.getDoc(),h=g.selection,i=h.getBookmark(),d=[],k=l.join("|"),m=this._getSeparators(),e=new RegExp("(^|["+m+"])("+k+")(?=["+m+"]|$)","g");this._walk(g.getBody(),function(o){if(o.nodeType==3){d.push(o)}});c(d,function(t){var r,q,o,s,p=t.nodeValue;if(e.test(p)){p=f.encode(p);q=f.create("span",{"class":"mceItemHidden"});if(tinymce.isIE){p=p.replace(e,"$1<mcespell>$2</mcespell>");while((s=p.indexOf("<mcespell>"))!=-1){o=p.substring(0,s);if(o.length){r=j.createTextNode(f.decode(o));q.appendChild(r)}p=p.substring(s+10);s=p.indexOf("</mcespell>");o=p.substring(0,s);p=p.substring(s+11);q.appendChild(f.create("span",{"class":"mceItemHiddenSpellWord"},o))}if(p.length){r=j.createTextNode(f.decode(p));q.appendChild(r)}}else{q.innerHTML=p.replace(e,'$1<span class="mceItemHiddenSpellWord">$2</span>')}f.replace(q,t)}});h.moveToBookmark(i)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=k.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
|