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
@@ -1,53 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* editor_plugin_src.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
(function() {
|
12
|
-
tinymce.create('tinymce.plugins.Preview', {
|
13
|
-
init : function(ed, url) {
|
14
|
-
var t = this, css = tinymce.explode(ed.settings.content_css);
|
15
|
-
|
16
|
-
t.editor = ed;
|
17
|
-
|
18
|
-
// Force absolute CSS urls
|
19
|
-
tinymce.each(css, function(u, k) {
|
20
|
-
css[k] = ed.documentBaseURI.toAbsolute(u);
|
21
|
-
});
|
22
|
-
|
23
|
-
ed.addCommand('mcePreview', function() {
|
24
|
-
ed.windowManager.open({
|
25
|
-
file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"),
|
26
|
-
width : parseInt(ed.getParam("plugin_preview_width", "550")),
|
27
|
-
height : parseInt(ed.getParam("plugin_preview_height", "600")),
|
28
|
-
resizable : "yes",
|
29
|
-
scrollbars : "yes",
|
30
|
-
popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"),
|
31
|
-
inline : ed.getParam("plugin_preview_inline", 1)
|
32
|
-
}, {
|
33
|
-
base : ed.documentBaseURI.getURI()
|
34
|
-
});
|
35
|
-
});
|
36
|
-
|
37
|
-
ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'});
|
38
|
-
},
|
39
|
-
|
40
|
-
getInfo : function() {
|
41
|
-
return {
|
42
|
-
longname : 'Preview',
|
43
|
-
author : 'Moxiecode Systems AB',
|
44
|
-
authorurl : 'http://tinymce.moxiecode.com',
|
45
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview',
|
46
|
-
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
47
|
-
};
|
48
|
-
}
|
49
|
-
});
|
50
|
-
|
51
|
-
// Register plugin
|
52
|
-
tinymce.PluginManager.add('preview', tinymce.plugins.Preview);
|
53
|
-
})();
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* editor_plugin_src.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
(function() {
|
12
|
-
tinymce.create('tinymce.plugins.Print', {
|
13
|
-
init : function(ed, url) {
|
14
|
-
ed.addCommand('mcePrint', function() {
|
15
|
-
ed.getWin().print();
|
16
|
-
});
|
17
|
-
|
18
|
-
ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'});
|
19
|
-
},
|
20
|
-
|
21
|
-
getInfo : function() {
|
22
|
-
return {
|
23
|
-
longname : 'Print',
|
24
|
-
author : 'Moxiecode Systems AB',
|
25
|
-
authorurl : 'http://tinymce.moxiecode.com',
|
26
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print',
|
27
|
-
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
28
|
-
};
|
29
|
-
}
|
30
|
-
});
|
31
|
-
|
32
|
-
// Register plugin
|
33
|
-
tinymce.PluginManager.add('print', tinymce.plugins.Print);
|
34
|
-
})();
|
@@ -1,101 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* editor_plugin_src.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
(function() {
|
12
|
-
tinymce.create('tinymce.plugins.Save', {
|
13
|
-
init : function(ed, url) {
|
14
|
-
var t = this;
|
15
|
-
|
16
|
-
t.editor = ed;
|
17
|
-
|
18
|
-
// Register commands
|
19
|
-
ed.addCommand('mceSave', t._save, t);
|
20
|
-
ed.addCommand('mceCancel', t._cancel, t);
|
21
|
-
|
22
|
-
// Register buttons
|
23
|
-
ed.addButton('save', {title : 'save.save_desc', cmd : 'mceSave'});
|
24
|
-
ed.addButton('cancel', {title : 'save.cancel_desc', cmd : 'mceCancel'});
|
25
|
-
|
26
|
-
ed.onNodeChange.add(t._nodeChange, t);
|
27
|
-
ed.addShortcut('ctrl+s', ed.getLang('save.save_desc'), 'mceSave');
|
28
|
-
},
|
29
|
-
|
30
|
-
getInfo : function() {
|
31
|
-
return {
|
32
|
-
longname : 'Save',
|
33
|
-
author : 'Moxiecode Systems AB',
|
34
|
-
authorurl : 'http://tinymce.moxiecode.com',
|
35
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save',
|
36
|
-
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
37
|
-
};
|
38
|
-
},
|
39
|
-
|
40
|
-
// Private methods
|
41
|
-
|
42
|
-
_nodeChange : function(ed, cm, n) {
|
43
|
-
var ed = this.editor;
|
44
|
-
|
45
|
-
if (ed.getParam('save_enablewhendirty')) {
|
46
|
-
cm.setDisabled('save', !ed.isDirty());
|
47
|
-
cm.setDisabled('cancel', !ed.isDirty());
|
48
|
-
}
|
49
|
-
},
|
50
|
-
|
51
|
-
// Private methods
|
52
|
-
|
53
|
-
_save : function() {
|
54
|
-
var ed = this.editor, formObj, os, i, elementId;
|
55
|
-
|
56
|
-
formObj = tinymce.DOM.get(ed.id).form || tinymce.DOM.getParent(ed.id, 'form');
|
57
|
-
|
58
|
-
if (ed.getParam("save_enablewhendirty") && !ed.isDirty())
|
59
|
-
return;
|
60
|
-
|
61
|
-
tinyMCE.triggerSave();
|
62
|
-
|
63
|
-
// Use callback instead
|
64
|
-
if (os = ed.getParam("save_onsavecallback")) {
|
65
|
-
if (ed.execCallback('save_onsavecallback', ed)) {
|
66
|
-
ed.startContent = tinymce.trim(ed.getContent({format : 'raw'}));
|
67
|
-
ed.nodeChanged();
|
68
|
-
}
|
69
|
-
|
70
|
-
return;
|
71
|
-
}
|
72
|
-
|
73
|
-
if (formObj) {
|
74
|
-
ed.isNotDirty = true;
|
75
|
-
|
76
|
-
if (formObj.onsubmit == null || formObj.onsubmit() != false)
|
77
|
-
formObj.submit();
|
78
|
-
|
79
|
-
ed.nodeChanged();
|
80
|
-
} else
|
81
|
-
ed.windowManager.alert("Error: No form element found.");
|
82
|
-
},
|
83
|
-
|
84
|
-
_cancel : function() {
|
85
|
-
var ed = this.editor, os, h = tinymce.trim(ed.startContent);
|
86
|
-
|
87
|
-
// Use callback instead
|
88
|
-
if (os = ed.getParam("save_oncancelcallback")) {
|
89
|
-
ed.execCallback('save_oncancelcallback', ed);
|
90
|
-
return;
|
91
|
-
}
|
92
|
-
|
93
|
-
ed.setContent(h);
|
94
|
-
ed.undoManager.clear();
|
95
|
-
ed.nodeChanged();
|
96
|
-
}
|
97
|
-
});
|
98
|
-
|
99
|
-
// Register plugin
|
100
|
-
tinymce.PluginManager.add('save', tinymce.plugins.Save);
|
101
|
-
})();
|
@@ -1,61 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* editor_plugin_src.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
(function() {
|
12
|
-
tinymce.create('tinymce.plugins.SearchReplacePlugin', {
|
13
|
-
init : function(ed, url) {
|
14
|
-
function open(m) {
|
15
|
-
// Keep IE from writing out the f/r character to the editor
|
16
|
-
// instance while initializing a new dialog. See: #3131190
|
17
|
-
window.focus();
|
18
|
-
|
19
|
-
ed.windowManager.open({
|
20
|
-
file : url + '/searchreplace.htm',
|
21
|
-
width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),
|
22
|
-
height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)),
|
23
|
-
inline : 1,
|
24
|
-
auto_focus : 0
|
25
|
-
}, {
|
26
|
-
mode : m,
|
27
|
-
search_string : ed.selection.getContent({format : 'text'}),
|
28
|
-
plugin_url : url
|
29
|
-
});
|
30
|
-
};
|
31
|
-
|
32
|
-
// Register commands
|
33
|
-
ed.addCommand('mceSearch', function() {
|
34
|
-
open('search');
|
35
|
-
});
|
36
|
-
|
37
|
-
ed.addCommand('mceReplace', function() {
|
38
|
-
open('replace');
|
39
|
-
});
|
40
|
-
|
41
|
-
// Register buttons
|
42
|
-
ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'});
|
43
|
-
ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'});
|
44
|
-
|
45
|
-
ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch');
|
46
|
-
},
|
47
|
-
|
48
|
-
getInfo : function() {
|
49
|
-
return {
|
50
|
-
longname : 'Search/Replace',
|
51
|
-
author : 'Moxiecode Systems AB',
|
52
|
-
authorurl : 'http://tinymce.moxiecode.com',
|
53
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace',
|
54
|
-
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
55
|
-
};
|
56
|
-
}
|
57
|
-
});
|
58
|
-
|
59
|
-
// Register plugin
|
60
|
-
tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin);
|
61
|
-
})();
|
@@ -1 +0,0 @@
|
|
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!"#$%&()*+,-./:;<=>?@[]^_{|}����������������\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)})();
|
@@ -1,435 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* editor_plugin_src.js
|
3
|
-
*
|
4
|
-
* Copyright 2009, Moxiecode Systems AB
|
5
|
-
* Released under LGPL License.
|
6
|
-
*
|
7
|
-
* License: http://tinymce.moxiecode.com/license
|
8
|
-
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
-
*/
|
10
|
-
|
11
|
-
(function() {
|
12
|
-
var JSONRequest = tinymce.util.JSONRequest, each = tinymce.each, DOM = tinymce.DOM;
|
13
|
-
|
14
|
-
tinymce.create('tinymce.plugins.SpellcheckerPlugin', {
|
15
|
-
getInfo : function() {
|
16
|
-
return {
|
17
|
-
longname : 'Spellchecker',
|
18
|
-
author : 'Moxiecode Systems AB',
|
19
|
-
authorurl : 'http://tinymce.moxiecode.com',
|
20
|
-
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker',
|
21
|
-
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
22
|
-
};
|
23
|
-
},
|
24
|
-
|
25
|
-
init : function(ed, url) {
|
26
|
-
var t = this, cm;
|
27
|
-
|
28
|
-
t.url = url;
|
29
|
-
t.editor = ed;
|
30
|
-
t.rpcUrl = ed.getParam("spellchecker_rpc_url", "{backend}");
|
31
|
-
|
32
|
-
if (t.rpcUrl == '{backend}') {
|
33
|
-
// Sniff if the browser supports native spellchecking (Don't know of a better way)
|
34
|
-
if (tinymce.isIE)
|
35
|
-
return;
|
36
|
-
|
37
|
-
t.hasSupport = true;
|
38
|
-
|
39
|
-
// Disable the context menu when spellchecking is active
|
40
|
-
ed.onContextMenu.addToTop(function(ed, e) {
|
41
|
-
if (t.active)
|
42
|
-
return false;
|
43
|
-
});
|
44
|
-
}
|
45
|
-
|
46
|
-
// Register commands
|
47
|
-
ed.addCommand('mceSpellCheck', function() {
|
48
|
-
if (t.rpcUrl == '{backend}') {
|
49
|
-
// Enable/disable native spellchecker
|
50
|
-
t.editor.getBody().spellcheck = t.active = !t.active;
|
51
|
-
return;
|
52
|
-
}
|
53
|
-
|
54
|
-
if (!t.active) {
|
55
|
-
ed.setProgressState(1);
|
56
|
-
t._sendRPC('checkWords', [t.selectedLang, t._getWords()], function(r) {
|
57
|
-
if (r.length > 0) {
|
58
|
-
t.active = 1;
|
59
|
-
t._markWords(r);
|
60
|
-
ed.setProgressState(0);
|
61
|
-
ed.nodeChanged();
|
62
|
-
} else {
|
63
|
-
ed.setProgressState(0);
|
64
|
-
|
65
|
-
if (ed.getParam('spellchecker_report_no_misspellings', true))
|
66
|
-
ed.windowManager.alert('spellchecker.no_mpell');
|
67
|
-
}
|
68
|
-
});
|
69
|
-
} else
|
70
|
-
t._done();
|
71
|
-
});
|
72
|
-
|
73
|
-
if (ed.settings.content_css !== false)
|
74
|
-
ed.contentCSS.push(url + '/css/content.css');
|
75
|
-
|
76
|
-
ed.onClick.add(t._showMenu, t);
|
77
|
-
ed.onContextMenu.add(t._showMenu, t);
|
78
|
-
ed.onBeforeGetContent.add(function() {
|
79
|
-
if (t.active)
|
80
|
-
t._removeWords();
|
81
|
-
});
|
82
|
-
|
83
|
-
ed.onNodeChange.add(function(ed, cm) {
|
84
|
-
cm.setActive('spellchecker', t.active);
|
85
|
-
});
|
86
|
-
|
87
|
-
ed.onSetContent.add(function() {
|
88
|
-
t._done();
|
89
|
-
});
|
90
|
-
|
91
|
-
ed.onBeforeGetContent.add(function() {
|
92
|
-
t._done();
|
93
|
-
});
|
94
|
-
|
95
|
-
ed.onBeforeExecCommand.add(function(ed, cmd) {
|
96
|
-
if (cmd == 'mceFullScreen')
|
97
|
-
t._done();
|
98
|
-
});
|
99
|
-
|
100
|
-
// Find selected language
|
101
|
-
t.languages = {};
|
102
|
-
each(ed.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(v, k) {
|
103
|
-
if (k.indexOf('+') === 0) {
|
104
|
-
k = k.substring(1);
|
105
|
-
t.selectedLang = v;
|
106
|
-
}
|
107
|
-
|
108
|
-
t.languages[k] = v;
|
109
|
-
});
|
110
|
-
},
|
111
|
-
|
112
|
-
createControl : function(n, cm) {
|
113
|
-
var t = this, c, ed = t.editor;
|
114
|
-
|
115
|
-
if (n == 'spellchecker') {
|
116
|
-
// Use basic button if we use the native spellchecker
|
117
|
-
if (t.rpcUrl == '{backend}') {
|
118
|
-
// Create simple toggle button if we have native support
|
119
|
-
if (t.hasSupport)
|
120
|
-
c = cm.createButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t});
|
121
|
-
|
122
|
-
return c;
|
123
|
-
}
|
124
|
-
|
125
|
-
c = cm.createSplitButton(n, {title : 'spellchecker.desc', cmd : 'mceSpellCheck', scope : t});
|
126
|
-
|
127
|
-
c.onRenderMenu.add(function(c, m) {
|
128
|
-
m.add({title : 'spellchecker.langs', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
|
129
|
-
each(t.languages, function(v, k) {
|
130
|
-
var o = {icon : 1}, mi;
|
131
|
-
|
132
|
-
o.onclick = function() {
|
133
|
-
if (v == t.selectedLang) {
|
134
|
-
return;
|
135
|
-
}
|
136
|
-
mi.setSelected(1);
|
137
|
-
t.selectedItem.setSelected(0);
|
138
|
-
t.selectedItem = mi;
|
139
|
-
t.selectedLang = v;
|
140
|
-
};
|
141
|
-
|
142
|
-
o.title = k;
|
143
|
-
mi = m.add(o);
|
144
|
-
mi.setSelected(v == t.selectedLang);
|
145
|
-
|
146
|
-
if (v == t.selectedLang)
|
147
|
-
t.selectedItem = mi;
|
148
|
-
})
|
149
|
-
});
|
150
|
-
|
151
|
-
return c;
|
152
|
-
}
|
153
|
-
},
|
154
|
-
|
155
|
-
// Internal functions
|
156
|
-
|
157
|
-
_walk : function(n, f) {
|
158
|
-
var d = this.editor.getDoc(), w;
|
159
|
-
|
160
|
-
if (d.createTreeWalker) {
|
161
|
-
w = d.createTreeWalker(n, NodeFilter.SHOW_TEXT, null, false);
|
162
|
-
|
163
|
-
while ((n = w.nextNode()) != null)
|
164
|
-
f.call(this, n);
|
165
|
-
} else
|
166
|
-
tinymce.walk(n, f, 'childNodes');
|
167
|
-
},
|
168
|
-
|
169
|
-
_getSeparators : function() {
|
170
|
-
var re = '', i, str = this.editor.getParam('spellchecker_word_separator_chars', '\\s!"#$%&()*+,-./:;<=>?@[\]^_{|}����������������\u201d\u201c');
|
171
|
-
|
172
|
-
// Build word separator regexp
|
173
|
-
for (i=0; i<str.length; i++)
|
174
|
-
re += '\\' + str.charAt(i);
|
175
|
-
|
176
|
-
return re;
|
177
|
-
},
|
178
|
-
|
179
|
-
_getWords : function() {
|
180
|
-
var ed = this.editor, wl = [], tx = '', lo = {}, rawWords = [];
|
181
|
-
|
182
|
-
// Get area text
|
183
|
-
this._walk(ed.getBody(), function(n) {
|
184
|
-
if (n.nodeType == 3)
|
185
|
-
tx += n.nodeValue + ' ';
|
186
|
-
});
|
187
|
-
|
188
|
-
// split the text up into individual words
|
189
|
-
if (ed.getParam('spellchecker_word_pattern')) {
|
190
|
-
// look for words that match the pattern
|
191
|
-
rawWords = tx.match('(' + ed.getParam('spellchecker_word_pattern') + ')', 'gi');
|
192
|
-
} else {
|
193
|
-
// Split words by separator
|
194
|
-
tx = tx.replace(new RegExp('([0-9]|[' + this._getSeparators() + '])', 'g'), ' ');
|
195
|
-
tx = tinymce.trim(tx.replace(/(\s+)/g, ' '));
|
196
|
-
rawWords = tx.split(' ');
|
197
|
-
}
|
198
|
-
|
199
|
-
// Build word array and remove duplicates
|
200
|
-
each(rawWords, function(v) {
|
201
|
-
if (!lo[v]) {
|
202
|
-
wl.push(v);
|
203
|
-
lo[v] = 1;
|
204
|
-
}
|
205
|
-
});
|
206
|
-
|
207
|
-
return wl;
|
208
|
-
},
|
209
|
-
|
210
|
-
_removeWords : function(w) {
|
211
|
-
var ed = this.editor, dom = ed.dom, se = ed.selection, b = se.getBookmark();
|
212
|
-
|
213
|
-
each(dom.select('span').reverse(), function(n) {
|
214
|
-
if (n && (dom.hasClass(n, 'mceItemHiddenSpellWord') || dom.hasClass(n, 'mceItemHidden'))) {
|
215
|
-
if (!w || dom.decode(n.innerHTML) == w)
|
216
|
-
dom.remove(n, 1);
|
217
|
-
}
|
218
|
-
});
|
219
|
-
|
220
|
-
se.moveToBookmark(b);
|
221
|
-
},
|
222
|
-
|
223
|
-
_markWords : function(wl) {
|
224
|
-
var ed = this.editor, dom = ed.dom, doc = ed.getDoc(), se = ed.selection, b = se.getBookmark(), nl = [],
|
225
|
-
w = wl.join('|'), re = this._getSeparators(), rx = new RegExp('(^|[' + re + '])(' + w + ')(?=[' + re + ']|$)', 'g');
|
226
|
-
|
227
|
-
// Collect all text nodes
|
228
|
-
this._walk(ed.getBody(), function(n) {
|
229
|
-
if (n.nodeType == 3) {
|
230
|
-
nl.push(n);
|
231
|
-
}
|
232
|
-
});
|
233
|
-
|
234
|
-
// Wrap incorrect words in spans
|
235
|
-
each(nl, function(n) {
|
236
|
-
var node, elem, txt, pos, v = n.nodeValue;
|
237
|
-
|
238
|
-
if (rx.test(v)) {
|
239
|
-
// Encode the content
|
240
|
-
v = dom.encode(v);
|
241
|
-
// Create container element
|
242
|
-
elem = dom.create('span', {'class' : 'mceItemHidden'});
|
243
|
-
|
244
|
-
// Following code fixes IE issues by creating text nodes
|
245
|
-
// using DOM methods instead of innerHTML.
|
246
|
-
// Bug #3124: <PRE> elements content is broken after spellchecking.
|
247
|
-
// Bug #1408: Preceding whitespace characters are removed
|
248
|
-
// @TODO: I'm not sure that both are still issues on IE9.
|
249
|
-
if (tinymce.isIE) {
|
250
|
-
// Enclose mispelled words with temporal tag
|
251
|
-
v = v.replace(rx, '$1<mcespell>$2</mcespell>');
|
252
|
-
// Loop over the content finding mispelled words
|
253
|
-
while ((pos = v.indexOf('<mcespell>')) != -1) {
|
254
|
-
// Add text node for the content before the word
|
255
|
-
txt = v.substring(0, pos);
|
256
|
-
if (txt.length) {
|
257
|
-
node = doc.createTextNode(dom.decode(txt));
|
258
|
-
elem.appendChild(node);
|
259
|
-
}
|
260
|
-
v = v.substring(pos+10);
|
261
|
-
pos = v.indexOf('</mcespell>');
|
262
|
-
txt = v.substring(0, pos);
|
263
|
-
v = v.substring(pos+11);
|
264
|
-
// Add span element for the word
|
265
|
-
elem.appendChild(dom.create('span', {'class' : 'mceItemHiddenSpellWord'}, txt));
|
266
|
-
}
|
267
|
-
// Add text node for the rest of the content
|
268
|
-
if (v.length) {
|
269
|
-
node = doc.createTextNode(dom.decode(v));
|
270
|
-
elem.appendChild(node);
|
271
|
-
}
|
272
|
-
} else {
|
273
|
-
// Other browsers preserve whitespace characters on innerHTML usage
|
274
|
-
elem.innerHTML = v.replace(rx, '$1<span class="mceItemHiddenSpellWord">$2</span>');
|
275
|
-
}
|
276
|
-
|
277
|
-
// Finally, replace the node with the container
|
278
|
-
dom.replace(elem, n);
|
279
|
-
}
|
280
|
-
});
|
281
|
-
|
282
|
-
se.moveToBookmark(b);
|
283
|
-
},
|
284
|
-
|
285
|
-
_showMenu : function(ed, e) {
|
286
|
-
var t = this, ed = t.editor, m = t._menu, p1, dom = ed.dom, vp = dom.getViewPort(ed.getWin()), wordSpan = e.target;
|
287
|
-
|
288
|
-
e = 0; // Fixes IE memory leak
|
289
|
-
|
290
|
-
if (!m) {
|
291
|
-
m = ed.controlManager.createDropMenu('spellcheckermenu', {'class' : 'mceNoIcons'});
|
292
|
-
t._menu = m;
|
293
|
-
}
|
294
|
-
|
295
|
-
if (dom.hasClass(wordSpan, 'mceItemHiddenSpellWord')) {
|
296
|
-
m.removeAll();
|
297
|
-
m.add({title : 'spellchecker.wait', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
|
298
|
-
|
299
|
-
t._sendRPC('getSuggestions', [t.selectedLang, dom.decode(wordSpan.innerHTML)], function(r) {
|
300
|
-
var ignoreRpc;
|
301
|
-
|
302
|
-
m.removeAll();
|
303
|
-
|
304
|
-
if (r.length > 0) {
|
305
|
-
m.add({title : 'spellchecker.sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
|
306
|
-
each(r, function(v) {
|
307
|
-
m.add({title : v, onclick : function() {
|
308
|
-
dom.replace(ed.getDoc().createTextNode(v), wordSpan);
|
309
|
-
t._checkDone();
|
310
|
-
}});
|
311
|
-
});
|
312
|
-
|
313
|
-
m.addSeparator();
|
314
|
-
} else
|
315
|
-
m.add({title : 'spellchecker.no_sug', 'class' : 'mceMenuItemTitle'}).setDisabled(1);
|
316
|
-
|
317
|
-
ignoreRpc = t.editor.getParam("spellchecker_enable_ignore_rpc", '');
|
318
|
-
m.add({
|
319
|
-
title : 'spellchecker.ignore_word',
|
320
|
-
onclick : function() {
|
321
|
-
var word = wordSpan.innerHTML;
|
322
|
-
|
323
|
-
dom.remove(wordSpan, 1);
|
324
|
-
t._checkDone();
|
325
|
-
|
326
|
-
// tell the server if we need to
|
327
|
-
if (ignoreRpc) {
|
328
|
-
ed.setProgressState(1);
|
329
|
-
t._sendRPC('ignoreWord', [t.selectedLang, word], function(r) {
|
330
|
-
ed.setProgressState(0);
|
331
|
-
});
|
332
|
-
}
|
333
|
-
}
|
334
|
-
});
|
335
|
-
|
336
|
-
m.add({
|
337
|
-
title : 'spellchecker.ignore_words',
|
338
|
-
onclick : function() {
|
339
|
-
var word = wordSpan.innerHTML;
|
340
|
-
|
341
|
-
t._removeWords(dom.decode(word));
|
342
|
-
t._checkDone();
|
343
|
-
|
344
|
-
// tell the server if we need to
|
345
|
-
if (ignoreRpc) {
|
346
|
-
ed.setProgressState(1);
|
347
|
-
t._sendRPC('ignoreWords', [t.selectedLang, word], function(r) {
|
348
|
-
ed.setProgressState(0);
|
349
|
-
});
|
350
|
-
}
|
351
|
-
}
|
352
|
-
});
|
353
|
-
|
354
|
-
|
355
|
-
if (t.editor.getParam("spellchecker_enable_learn_rpc")) {
|
356
|
-
m.add({
|
357
|
-
title : 'spellchecker.learn_word',
|
358
|
-
onclick : function() {
|
359
|
-
var word = wordSpan.innerHTML;
|
360
|
-
|
361
|
-
dom.remove(wordSpan, 1);
|
362
|
-
t._checkDone();
|
363
|
-
|
364
|
-
ed.setProgressState(1);
|
365
|
-
t._sendRPC('learnWord', [t.selectedLang, word], function(r) {
|
366
|
-
ed.setProgressState(0);
|
367
|
-
});
|
368
|
-
}
|
369
|
-
});
|
370
|
-
}
|
371
|
-
|
372
|
-
m.update();
|
373
|
-
});
|
374
|
-
|
375
|
-
p1 = dom.getPos(ed.getContentAreaContainer());
|
376
|
-
m.settings.offset_x = p1.x;
|
377
|
-
m.settings.offset_y = p1.y;
|
378
|
-
|
379
|
-
ed.selection.select(wordSpan);
|
380
|
-
p1 = dom.getPos(wordSpan);
|
381
|
-
m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y);
|
382
|
-
|
383
|
-
return tinymce.dom.Event.cancel(e);
|
384
|
-
} else
|
385
|
-
m.hideMenu();
|
386
|
-
},
|
387
|
-
|
388
|
-
_checkDone : function() {
|
389
|
-
var t = this, ed = t.editor, dom = ed.dom, o;
|
390
|
-
|
391
|
-
each(dom.select('span'), function(n) {
|
392
|
-
if (n && dom.hasClass(n, 'mceItemHiddenSpellWord')) {
|
393
|
-
o = true;
|
394
|
-
return false;
|
395
|
-
}
|
396
|
-
});
|
397
|
-
|
398
|
-
if (!o)
|
399
|
-
t._done();
|
400
|
-
},
|
401
|
-
|
402
|
-
_done : function() {
|
403
|
-
var t = this, la = t.active;
|
404
|
-
|
405
|
-
if (t.active) {
|
406
|
-
t.active = 0;
|
407
|
-
t._removeWords();
|
408
|
-
|
409
|
-
if (t._menu)
|
410
|
-
t._menu.hideMenu();
|
411
|
-
|
412
|
-
if (la)
|
413
|
-
t.editor.nodeChanged();
|
414
|
-
}
|
415
|
-
},
|
416
|
-
|
417
|
-
_sendRPC : function(m, p, cb) {
|
418
|
-
var t = this;
|
419
|
-
|
420
|
-
JSONRequest.sendRPC({
|
421
|
-
url : t.rpcUrl,
|
422
|
-
method : m,
|
423
|
-
params : p,
|
424
|
-
success : cb,
|
425
|
-
error : function(e, x) {
|
426
|
-
t.editor.setProgressState(0);
|
427
|
-
t.editor.windowManager.alert(e.errstr || ('Error response: ' + x.responseText));
|
428
|
-
}
|
429
|
-
});
|
430
|
-
}
|
431
|
-
});
|
432
|
-
|
433
|
-
// Register plugin
|
434
|
-
tinymce.PluginManager.add('spellchecker', tinymce.plugins.SpellcheckerPlugin);
|
435
|
-
})();
|