locomotive-tinymce-rails 3.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +18 -0
- data/README.md +67 -0
- data/Rakefile +65 -0
- data/app/assets/javascripts/tinymce/preinit.js.erb +5 -0
- data/app/assets/javascripts/tinymce-jquery.js +3 -0
- data/app/assets/javascripts/tinymce.js +2 -0
- data/lib/tinymce/rails/engine.rb +9 -0
- data/lib/tinymce/rails/sprockets_monkeypatch.rb +13 -0
- data/lib/tinymce/rails/version.rb +7 -0
- data/lib/tinymce/rails.rb +3 -0
- data/lib/tinymce-rails.rb +1 -0
- data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/en.js +1 -0
- data/vendor/assets/javascripts/tinymce/license.txt +504 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/css/advhr.css +5 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +57 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/js/rule.js +43 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/rule.htm +58 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/css/advimage.css +13 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +50 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/image.htm +235 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/js/image.js +462 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/css/advlink.css +8 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +61 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/js/advlink.js +532 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/link.htm +338 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlist/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +176 -0
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +172 -0
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +137 -0
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +431 -0
- data/vendor/assets/javascripts/tinymce/plugins/autosave/langs/en.js +4 -0
- data/vendor/assets/javascripts/tinymce/plugins/bbcode/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +160 -0
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +82 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +43 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/emotions.htm +42 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/js/emotions.js +43 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/dialog.htm +22 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/editor_plugin_src.js +84 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/img/example.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/js/dialog.js +19 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/langs/en.js +3 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/langs/en_dlg.js +3 -0
- data/vendor/assets/javascripts/tinymce/plugins/example_dependency/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/example_dependency/editor_plugin_src.js +50 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/css/fullpage.css +143 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +405 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/fullpage.htm +259 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/js/fullpage.js +232 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +159 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +110 -0
- data/vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +54 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +699 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/template.htm +387 -0
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/vendor/assets/javascripts/tinymce/plugins/layer/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/layer/editor_plugin_src.js +262 -0
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +139 -0
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin_src.js +925 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/css/media.css +17 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin_src.js +890 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/js/embed.js +73 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/js/media.js +464 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/media.htm +922 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +54 -0
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +95 -0
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +74 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin_src.js +871 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/js/pastetext.js +36 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/js/pasteword.js +51 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/pastetext.htm +27 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/pasteword.htm +21 -0
- data/vendor/assets/javascripts/tinymce/plugins/preview/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/preview/editor_plugin_src.js +53 -0
- data/vendor/assets/javascripts/tinymce/plugins/preview/example.html +28 -0
- data/vendor/assets/javascripts/tinymce/plugins/preview/jscripts/embed.js +73 -0
- data/vendor/assets/javascripts/tinymce/plugins/preview/preview.html +17 -0
- data/vendor/assets/javascripts/tinymce/plugins/print/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/print/editor_plugin_src.js +34 -0
- data/vendor/assets/javascripts/tinymce/plugins/save/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/save/editor_plugin_src.js +101 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +61 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +142 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +100 -0
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/css/content.css +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +436 -0
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/css/props.css +13 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin_src.js +55 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/js/props.js +635 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/props.htm +840 -0
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +122 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/cell.htm +180 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/css/cell.css +17 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/css/row.css +25 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/css/table.css +13 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin_src.js +1408 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/js/cell.js +319 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/js/merge_cells.js +27 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/js/row.js +237 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/js/table.js +484 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/merge_cells.htm +32 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/row.htm +158 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/table.htm +188 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/blank.htm +12 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/css/template.css +23 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/editor_plugin_src.js +159 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/js/template.js +106 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/template.htm +31 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +83 -0
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +114 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +142 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +142 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +149 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +142 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/del.htm +162 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +162 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +111 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +229 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +53 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/about.htm +52 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/anchor.htm +26 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/charmap.htm +55 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +74 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +1362 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/image.htm +80 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/flash.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/trans.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/about.js +73 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +43 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/charmap.js +363 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +329 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +251 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +153 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +56 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/link.htm +57 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/content.css +50 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/dialog.css +117 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/ui.css +214 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +24 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +102 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +48 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +117 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +217 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +25 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/editor_template.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/editor_template_src.js +84 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/en.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/default/content.css +25 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/default/ui.css +32 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/content.css +17 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce.js +1 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce_jquery.js +1 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce_jquery_src.js +15905 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +5 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +16728 -0
- data/vendor/assets/javascripts/tinymce/utils/editable_selects.js +70 -0
- data/vendor/assets/javascripts/tinymce/utils/form_utils.js +210 -0
- data/vendor/assets/javascripts/tinymce/utils/mctabs.js +162 -0
- data/vendor/assets/javascripts/tinymce/utils/validate.js +252 -0
- metadata +334 -0
@@ -0,0 +1,90 @@
|
|
1
|
+
/* Clearlooks 2 */
|
2
|
+
|
3
|
+
/* Reset */
|
4
|
+
.clearlooks2, .clearlooks2 div, .clearlooks2 span, .clearlooks2 a {vertical-align:baseline; text-align:left; position:absolute; border:0; padding:0; margin:0; background:transparent; font-family:Arial,Verdana; font-size:11px; color:#000; text-decoration:none; font-weight:normal; width:auto; height:auto; overflow:hidden; display:block}
|
5
|
+
|
6
|
+
/* General */
|
7
|
+
.clearlooks2 {position:absolute; direction:ltr}
|
8
|
+
.clearlooks2 .mceWrapper {position:static}
|
9
|
+
.mceEventBlocker {position:fixed; left:0; top:0; background:url(img/horizontal.gif) no-repeat 0 -75px; width:100%; height:100%}
|
10
|
+
.clearlooks2 .mcePlaceHolder {border:1px solid #000; background:#888; top:0; left:0; opacity:0.5; -ms-filter:'alpha(opacity=50)'; filter:alpha(opacity=50)}
|
11
|
+
.clearlooks2_modalBlocker {position:fixed; left:0; top:0; width:100%; height:100%; background:#FFF; opacity:0.6; -ms-filter:'alpha(opacity=60)'; filter:alpha(opacity=60); display:none}
|
12
|
+
|
13
|
+
/* Top */
|
14
|
+
.clearlooks2 .mceTop, .clearlooks2 .mceTop div {top:0; width:100%; height:23px}
|
15
|
+
.clearlooks2 .mceTop .mceLeft {width:6px; background:url(img/corners.gif)}
|
16
|
+
.clearlooks2 .mceTop .mceCenter {right:6px; width:100%; height:23px; background:url(img/horizontal.gif) 12px 0; clip:rect(auto auto auto 12px)}
|
17
|
+
.clearlooks2 .mceTop .mceRight {right:0; width:6px; height:23px; background:url(img/corners.gif) -12px 0}
|
18
|
+
.clearlooks2 .mceTop span {width:100%; text-align:center; vertical-align:middle; line-height:23px; font-weight:bold}
|
19
|
+
.clearlooks2 .mceFocus .mceTop .mceLeft {background:url(img/corners.gif) -6px 0}
|
20
|
+
.clearlooks2 .mceFocus .mceTop .mceCenter {background:url(img/horizontal.gif) 0 -23px}
|
21
|
+
.clearlooks2 .mceFocus .mceTop .mceRight {background:url(img/corners.gif) -18px 0}
|
22
|
+
.clearlooks2 .mceFocus .mceTop span {color:#FFF}
|
23
|
+
|
24
|
+
/* Middle */
|
25
|
+
.clearlooks2 .mceMiddle, .clearlooks2 .mceMiddle div {top:0}
|
26
|
+
.clearlooks2 .mceMiddle {width:100%; height:100%; clip:rect(23px auto auto auto)}
|
27
|
+
.clearlooks2 .mceMiddle .mceLeft {left:0; width:5px; height:100%; background:url(img/vertical.gif) -5px 0}
|
28
|
+
.clearlooks2 .mceMiddle span {top:23px; left:5px; width:100%; height:100%; background:#FFF}
|
29
|
+
.clearlooks2 .mceMiddle .mceRight {right:0; width:5px; height:100%; background:url(img/vertical.gif)}
|
30
|
+
|
31
|
+
/* Bottom */
|
32
|
+
.clearlooks2 .mceBottom, .clearlooks2 .mceBottom div {height:6px}
|
33
|
+
.clearlooks2 .mceBottom {left:0; bottom:0; width:100%}
|
34
|
+
.clearlooks2 .mceBottom div {top:0}
|
35
|
+
.clearlooks2 .mceBottom .mceLeft {left:0; width:5px; background:url(img/corners.gif) -34px -6px}
|
36
|
+
.clearlooks2 .mceBottom .mceCenter {left:5px; width:100%; background:url(img/horizontal.gif) 0 -46px}
|
37
|
+
.clearlooks2 .mceBottom .mceRight {right:0; width:5px; background: url(img/corners.gif) -34px 0}
|
38
|
+
.clearlooks2 .mceBottom span {display:none}
|
39
|
+
.clearlooks2 .mceStatusbar .mceBottom, .clearlooks2 .mceStatusbar .mceBottom div {height:23px}
|
40
|
+
.clearlooks2 .mceStatusbar .mceBottom .mceLeft {background:url(img/corners.gif) -29px 0}
|
41
|
+
.clearlooks2 .mceStatusbar .mceBottom .mceCenter {background:url(img/horizontal.gif) 0 -52px}
|
42
|
+
.clearlooks2 .mceStatusbar .mceBottom .mceRight {background:url(img/corners.gif) -24px 0}
|
43
|
+
.clearlooks2 .mceStatusbar .mceBottom span {display:block; left:7px; font-family:Arial, Verdana; font-size:11px; line-height:23px}
|
44
|
+
|
45
|
+
/* Actions */
|
46
|
+
.clearlooks2 a {width:29px; height:16px; top:3px;}
|
47
|
+
.clearlooks2 .mceClose {right:6px; background:url(img/buttons.gif) -87px 0}
|
48
|
+
.clearlooks2 .mceMin {display:none; right:68px; background:url(img/buttons.gif) 0 0}
|
49
|
+
.clearlooks2 .mceMed {display:none; right:37px; background:url(img/buttons.gif) -29px 0}
|
50
|
+
.clearlooks2 .mceMax {display:none; right:37px; background:url(img/buttons.gif) -58px 0}
|
51
|
+
.clearlooks2 .mceMove {display:none;width:100%;cursor:move;background:url(img/corners.gif) no-repeat -100px -100px}
|
52
|
+
.clearlooks2 .mceMovable .mceMove {display:block}
|
53
|
+
.clearlooks2 .mceFocus .mceClose {right:6px; background:url(img/buttons.gif) -87px -16px}
|
54
|
+
.clearlooks2 .mceFocus .mceMin {right:68px; background:url(img/buttons.gif) 0 -16px}
|
55
|
+
.clearlooks2 .mceFocus .mceMed {right:37px; background:url(img/buttons.gif) -29px -16px}
|
56
|
+
.clearlooks2 .mceFocus .mceMax {right:37px; background:url(img/buttons.gif) -58px -16px}
|
57
|
+
.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px}
|
58
|
+
.clearlooks2 .mceFocus .mceClose:hover {right:6px; background:url(img/buttons.gif) -87px -32px}
|
59
|
+
.clearlooks2 .mceFocus .mceMin:hover {right:68px; background:url(img/buttons.gif) 0 -32px}
|
60
|
+
.clearlooks2 .mceFocus .mceMed:hover {right:37px; background:url(img/buttons.gif) -29px -32px}
|
61
|
+
.clearlooks2 .mceFocus .mceMax:hover {right:37px; background:url(img/buttons.gif) -58px -32px}
|
62
|
+
|
63
|
+
/* Resize */
|
64
|
+
.clearlooks2 .mceResize {top:auto; left:auto; display:none; width:5px; height:5px; background:url(img/horizontal.gif) no-repeat 0 -75px}
|
65
|
+
.clearlooks2 .mceResizable .mceResize {display:block}
|
66
|
+
.clearlooks2 .mceResizable .mceMin, .clearlooks2 .mceMax {display:none}
|
67
|
+
.clearlooks2 .mceMinimizable .mceMin {display:block}
|
68
|
+
.clearlooks2 .mceMaximizable .mceMax {display:block}
|
69
|
+
.clearlooks2 .mceMaximized .mceMed {display:block}
|
70
|
+
.clearlooks2 .mceMaximized .mceMax {display:none}
|
71
|
+
.clearlooks2 a.mceResizeN {top:0; left:0; width:100%; cursor:n-resize}
|
72
|
+
.clearlooks2 a.mceResizeNW {top:0; left:0; cursor:nw-resize}
|
73
|
+
.clearlooks2 a.mceResizeNE {top:0; right:0; cursor:ne-resize}
|
74
|
+
.clearlooks2 a.mceResizeW {top:0; left:0; height:100%; cursor:w-resize;}
|
75
|
+
.clearlooks2 a.mceResizeE {top:0; right:0; height:100%; cursor:e-resize}
|
76
|
+
.clearlooks2 a.mceResizeS {bottom:0; left:0; width:100%; cursor:s-resize}
|
77
|
+
.clearlooks2 a.mceResizeSW {bottom:0; left:0; cursor:sw-resize}
|
78
|
+
.clearlooks2 a.mceResizeSE {bottom:0; right:0; cursor:se-resize}
|
79
|
+
|
80
|
+
/* Alert/Confirm */
|
81
|
+
.clearlooks2 .mceButton {font-weight:bold; bottom:10px; width:80px; height:30px; background:url(img/button.gif); line-height:30px; vertical-align:middle; text-align:center; outline:0}
|
82
|
+
.clearlooks2 .mceMiddle .mceIcon {left:15px; top:35px; width:32px; height:32px}
|
83
|
+
.clearlooks2 .mceAlert .mceMiddle span, .clearlooks2 .mceConfirm .mceMiddle span {background:transparent;left:60px; top:35px; width:320px; height:50px; font-weight:bold; overflow:auto; white-space:normal}
|
84
|
+
.clearlooks2 a:hover {font-weight:bold;}
|
85
|
+
.clearlooks2 .mceAlert .mceMiddle, .clearlooks2 .mceConfirm .mceMiddle {background:#D6D7D5}
|
86
|
+
.clearlooks2 .mceAlert .mceOk {left:50%; top:auto; margin-left: -40px}
|
87
|
+
.clearlooks2 .mceAlert .mceIcon {background:url(img/alert.gif)}
|
88
|
+
.clearlooks2 .mceConfirm .mceOk {left:50%; top:auto; margin-left: -90px}
|
89
|
+
.clearlooks2 .mceConfirm .mceCancel {left:50%; top:auto}
|
90
|
+
.clearlooks2 .mceConfirm .mceIcon {background:url(img/confirm.gif)}
|
@@ -0,0 +1,387 @@
|
|
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>Template for dialogs</title>
|
5
|
+
<link rel="stylesheet" type="text/css" href="skins/clearlooks2/window.css" />
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
|
9
|
+
<div class="mceEditor">
|
10
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:10px;">
|
11
|
+
<div class="mceWrapper">
|
12
|
+
<div class="mceTop">
|
13
|
+
<div class="mceLeft"></div>
|
14
|
+
<div class="mceCenter"></div>
|
15
|
+
<div class="mceRight"></div>
|
16
|
+
<span>Blured</span>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="mceMiddle">
|
20
|
+
<div class="mceLeft"></div>
|
21
|
+
<span>Content</span>
|
22
|
+
<div class="mceRight"></div>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="mceBottom">
|
26
|
+
<div class="mceLeft"></div>
|
27
|
+
<div class="mceCenter"></div>
|
28
|
+
<div class="mceRight"></div>
|
29
|
+
<span>Statusbar text.</span>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<a class="mceMove" href="#"></a>
|
33
|
+
<a class="mceMin" href="#"></a>
|
34
|
+
<a class="mceMax" href="#"></a>
|
35
|
+
<a class="mceMed" href="#"></a>
|
36
|
+
<a class="mceClose" href="#"></a>
|
37
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
38
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
39
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
40
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
41
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
42
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
43
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
44
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:420px;">
|
49
|
+
<div class="mceWrapper mceMovable mceFocus">
|
50
|
+
<div class="mceTop">
|
51
|
+
<div class="mceLeft"></div>
|
52
|
+
<div class="mceCenter"></div>
|
53
|
+
<div class="mceRight"></div>
|
54
|
+
<span>Focused</span>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div class="mceMiddle">
|
58
|
+
<div class="mceLeft"></div>
|
59
|
+
<span>Content</span>
|
60
|
+
<div class="mceRight"></div>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
<div class="mceBottom">
|
64
|
+
<div class="mceLeft"></div>
|
65
|
+
<div class="mceCenter"></div>
|
66
|
+
<div class="mceRight"></div>
|
67
|
+
<span>Statusbar text.</span>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<a class="mceMove" href="#"></a>
|
71
|
+
<a class="mceMin" href="#"></a>
|
72
|
+
<a class="mceMax" href="#"></a>
|
73
|
+
<a class="mceMed" href="#"></a>
|
74
|
+
<a class="mceClose" href="#"></a>
|
75
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
76
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
77
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
78
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
79
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
80
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
81
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
82
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:10px; top:120px;">
|
87
|
+
<div class="mceWrapper mceMovable mceFocus mceStatusbar">
|
88
|
+
<div class="mceTop">
|
89
|
+
<div class="mceLeft"></div>
|
90
|
+
<div class="mceCenter"></div>
|
91
|
+
<div class="mceRight"></div>
|
92
|
+
<span>Statusbar</span>
|
93
|
+
</div>
|
94
|
+
|
95
|
+
<div class="mceMiddle">
|
96
|
+
<div class="mceLeft"></div>
|
97
|
+
<span>Content</span>
|
98
|
+
<div class="mceRight"></div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div class="mceBottom">
|
102
|
+
<div class="mceLeft"></div>
|
103
|
+
<div class="mceCenter"></div>
|
104
|
+
<div class="mceRight"></div>
|
105
|
+
<span>Statusbar text.</span>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<a class="mceMove" href="#"></a>
|
109
|
+
<a class="mceMin" href="#"></a>
|
110
|
+
<a class="mceMax" href="#"></a>
|
111
|
+
<a class="mceMed" href="#"></a>
|
112
|
+
<a class="mceClose" href="#"></a>
|
113
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
114
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
115
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
116
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
117
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
118
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
119
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
120
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
121
|
+
</div>
|
122
|
+
</div>
|
123
|
+
|
124
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:420px; top:120px;">
|
125
|
+
<div class="mceWrapper mceMovable mceFocus mceStatusbar mceResizable">
|
126
|
+
<div class="mceTop">
|
127
|
+
<div class="mceLeft"></div>
|
128
|
+
<div class="mceCenter"></div>
|
129
|
+
<div class="mceRight"></div>
|
130
|
+
<span>Statusbar, Resizable</span>
|
131
|
+
</div>
|
132
|
+
|
133
|
+
<div class="mceMiddle">
|
134
|
+
<div class="mceLeft"></div>
|
135
|
+
<span>Content</span>
|
136
|
+
<div class="mceRight"></div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
<div class="mceBottom">
|
140
|
+
<div class="mceLeft"></div>
|
141
|
+
<div class="mceCenter"></div>
|
142
|
+
<div class="mceRight"></div>
|
143
|
+
<span>Statusbar text.</span>
|
144
|
+
</div>
|
145
|
+
|
146
|
+
<a class="mceMove" href="#"></a>
|
147
|
+
<a class="mceMin" href="#"></a>
|
148
|
+
<a class="mceMax" href="#"></a>
|
149
|
+
<a class="mceMed" href="#"></a>
|
150
|
+
<a class="mceClose" href="#"></a>
|
151
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
152
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
153
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
154
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
155
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
156
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
157
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
158
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:10px; top:230px;">
|
163
|
+
<div class="mceWrapper mceMovable mceFocus mceResizable mceMaximizable">
|
164
|
+
<div class="mceTop">
|
165
|
+
<div class="mceLeft"></div>
|
166
|
+
<div class="mceCenter"></div>
|
167
|
+
<div class="mceRight"></div>
|
168
|
+
<span>Resizable, Maximizable</span>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
<div class="mceMiddle">
|
172
|
+
<div class="mceLeft"></div>
|
173
|
+
<span>Content</span>
|
174
|
+
<div class="mceRight"></div>
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div class="mceBottom">
|
178
|
+
<div class="mceLeft"></div>
|
179
|
+
<div class="mceCenter"></div>
|
180
|
+
<div class="mceRight"></div>
|
181
|
+
<span>Statusbar text.</span>
|
182
|
+
</div>
|
183
|
+
|
184
|
+
<a class="mceMove" href="#"></a>
|
185
|
+
<a class="mceMin" href="#"></a>
|
186
|
+
<a class="mceMax" href="#"></a>
|
187
|
+
<a class="mceMed" href="#"></a>
|
188
|
+
<a class="mceClose" href="#"></a>
|
189
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
190
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
191
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
192
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
193
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
194
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
195
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
196
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
|
200
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:420px; top:230px;">
|
201
|
+
<div class="mceWrapper mceMovable mceStatusbar mceResizable mceMaximizable">
|
202
|
+
<div class="mceTop">
|
203
|
+
<div class="mceLeft"></div>
|
204
|
+
<div class="mceCenter"></div>
|
205
|
+
<div class="mceRight"></div>
|
206
|
+
<span>Blurred, Maximizable, Statusbar, Resizable</span>
|
207
|
+
</div>
|
208
|
+
|
209
|
+
<div class="mceMiddle">
|
210
|
+
<div class="mceLeft"></div>
|
211
|
+
<span>Content</span>
|
212
|
+
<div class="mceRight"></div>
|
213
|
+
</div>
|
214
|
+
|
215
|
+
<div class="mceBottom">
|
216
|
+
<div class="mceLeft"></div>
|
217
|
+
<div class="mceCenter"></div>
|
218
|
+
<div class="mceRight"></div>
|
219
|
+
<span>Statusbar text.</span>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<a class="mceMove" href="#"></a>
|
223
|
+
<a class="mceMin" href="#"></a>
|
224
|
+
<a class="mceMax" href="#"></a>
|
225
|
+
<a class="mceMed" href="#"></a>
|
226
|
+
<a class="mceClose" href="#"></a>
|
227
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
228
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
229
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
230
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
231
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
232
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
233
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
234
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
235
|
+
</div>
|
236
|
+
</div>
|
237
|
+
|
238
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:10px; top:340px;">
|
239
|
+
<div class="mceWrapper mceMovable mceFocus mceResizable mceMaximized mceMinimizable mceMaximizable">
|
240
|
+
<div class="mceTop">
|
241
|
+
<div class="mceLeft"></div>
|
242
|
+
<div class="mceCenter"></div>
|
243
|
+
<div class="mceRight"></div>
|
244
|
+
<span>Maximized, Maximizable, Minimizable</span>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
<div class="mceMiddle">
|
248
|
+
<div class="mceLeft"></div>
|
249
|
+
<span>Content</span>
|
250
|
+
<div class="mceRight"></div>
|
251
|
+
</div>
|
252
|
+
|
253
|
+
<div class="mceBottom">
|
254
|
+
<div class="mceLeft"></div>
|
255
|
+
<div class="mceCenter"></div>
|
256
|
+
<div class="mceRight"></div>
|
257
|
+
<span>Statusbar text.</span>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
<a class="mceMove" href="#"></a>
|
261
|
+
<a class="mceMin" href="#"></a>
|
262
|
+
<a class="mceMax" href="#"></a>
|
263
|
+
<a class="mceMed" href="#"></a>
|
264
|
+
<a class="mceClose" href="#"></a>
|
265
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
266
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
267
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
268
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
269
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
270
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
271
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
272
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
273
|
+
</div>
|
274
|
+
</div>
|
275
|
+
|
276
|
+
<div class="clearlooks2" style="width:400px; height:100px; left:420px; top:340px;">
|
277
|
+
<div class="mceWrapper mceMovable mceStatusbar mceResizable mceMaximized mceMinimizable mceMaximizable">
|
278
|
+
<div class="mceTop">
|
279
|
+
<div class="mceLeft"></div>
|
280
|
+
<div class="mceCenter"></div>
|
281
|
+
<div class="mceRight"></div>
|
282
|
+
<span>Blured</span>
|
283
|
+
</div>
|
284
|
+
|
285
|
+
<div class="mceMiddle">
|
286
|
+
<div class="mceLeft"></div>
|
287
|
+
<span>Content</span>
|
288
|
+
<div class="mceRight"></div>
|
289
|
+
</div>
|
290
|
+
|
291
|
+
<div class="mceBottom">
|
292
|
+
<div class="mceLeft"></div>
|
293
|
+
<div class="mceCenter"></div>
|
294
|
+
<div class="mceRight"></div>
|
295
|
+
<span>Statusbar text.</span>
|
296
|
+
</div>
|
297
|
+
|
298
|
+
<a class="mceMove" href="#"></a>
|
299
|
+
<a class="mceMin" href="#"></a>
|
300
|
+
<a class="mceMax" href="#"></a>
|
301
|
+
<a class="mceMed" href="#"></a>
|
302
|
+
<a class="mceClose" href="#"></a>
|
303
|
+
<a class="mceResize mceResizeN" href="#"></a>
|
304
|
+
<a class="mceResize mceResizeS" href="#"></a>
|
305
|
+
<a class="mceResize mceResizeW" href="#"></a>
|
306
|
+
<a class="mceResize mceResizeE" href="#"></a>
|
307
|
+
<a class="mceResize mceResizeNW" href="#"></a>
|
308
|
+
<a class="mceResize mceResizeNE" href="#"></a>
|
309
|
+
<a class="mceResize mceResizeSW" href="#"></a>
|
310
|
+
<a class="mceResize mceResizeSE" href="#"></a>
|
311
|
+
</div>
|
312
|
+
</div>
|
313
|
+
|
314
|
+
<div class="clearlooks2" style="width:400px; height:130px; left:10px; top:450px;">
|
315
|
+
<div class="mceWrapper mceMovable mceFocus mceModal mceAlert">
|
316
|
+
<div class="mceTop">
|
317
|
+
<div class="mceLeft"></div>
|
318
|
+
<div class="mceCenter"></div>
|
319
|
+
<div class="mceRight"></div>
|
320
|
+
<span>Alert</span>
|
321
|
+
</div>
|
322
|
+
|
323
|
+
<div class="mceMiddle">
|
324
|
+
<div class="mceLeft"></div>
|
325
|
+
<span>
|
326
|
+
This is a very long error message. This is a very long error message.
|
327
|
+
This is a very long error message. This is a very long error message.
|
328
|
+
This is a very long error message. This is a very long error message.
|
329
|
+
This is a very long error message. This is a very long error message.
|
330
|
+
This is a very long error message. This is a very long error message.
|
331
|
+
This is a very long error message. This is a very long error message.
|
332
|
+
</span>
|
333
|
+
<div class="mceRight"></div>
|
334
|
+
<div class="mceIcon"></div>
|
335
|
+
</div>
|
336
|
+
|
337
|
+
<div class="mceBottom">
|
338
|
+
<div class="mceLeft"></div>
|
339
|
+
<div class="mceCenter"></div>
|
340
|
+
<div class="mceRight"></div>
|
341
|
+
</div>
|
342
|
+
|
343
|
+
<a class="mceMove" href="#"></a>
|
344
|
+
<a class="mceButton mceOk" href="#">Ok</a>
|
345
|
+
<a class="mceClose" href="#"></a>
|
346
|
+
</div>
|
347
|
+
</div>
|
348
|
+
|
349
|
+
<div class="clearlooks2" style="width:400px; height:130px; left:420px; top:450px;">
|
350
|
+
<div class="mceWrapper mceMovable mceFocus mceModal mceConfirm">
|
351
|
+
<div class="mceTop">
|
352
|
+
<div class="mceLeft"></div>
|
353
|
+
<div class="mceCenter"></div>
|
354
|
+
<div class="mceRight"></div>
|
355
|
+
<span>Confirm</span>
|
356
|
+
</div>
|
357
|
+
|
358
|
+
<div class="mceMiddle">
|
359
|
+
<div class="mceLeft"></div>
|
360
|
+
<span>
|
361
|
+
This is a very long error message. This is a very long error message.
|
362
|
+
This is a very long error message. This is a very long error message.
|
363
|
+
This is a very long error message. This is a very long error message.
|
364
|
+
This is a very long error message. This is a very long error message.
|
365
|
+
This is a very long error message. This is a very long error message.
|
366
|
+
This is a very long error message. This is a very long error message.
|
367
|
+
</span>
|
368
|
+
<div class="mceRight"></div>
|
369
|
+
<div class="mceIcon"></div>
|
370
|
+
</div>
|
371
|
+
|
372
|
+
<div class="mceBottom">
|
373
|
+
<div class="mceLeft"></div>
|
374
|
+
<div class="mceCenter"></div>
|
375
|
+
<div class="mceRight"></div>
|
376
|
+
</div>
|
377
|
+
|
378
|
+
<a class="mceMove" href="#"></a>
|
379
|
+
<a class="mceButton mceOk" href="#">Ok</a>
|
380
|
+
<a class="mceButton mceCancel" href="#">Cancel</a>
|
381
|
+
<a class="mceClose" href="#"></a>
|
382
|
+
</div>
|
383
|
+
</div>
|
384
|
+
</div>
|
385
|
+
|
386
|
+
</body>
|
387
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.InsertDateTime",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceInsertDate",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_dateFormat",a.getLang("insertdatetime.date_fmt")));a.execCommand("mceInsertContent",false,d)});a.addCommand("mceInsertTime",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_timeFormat",a.getLang("insertdatetime.time_fmt")));a.execCommand("mceInsertContent",false,d)});a.addButton("insertdate",{title:"insertdatetime.insertdate_desc",cmd:"mceInsertDate"});a.addButton("inserttime",{title:"insertdatetime.inserttime_desc",cmd:"mceInsertTime"})},getInfo:function(){return{longname:"Insert date/time",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getDateTime:function(e,a){var c=this.editor;function b(g,d){g=""+g;if(g.length<d){for(var f=0;f<(d-g.length);f++){g="0"+g}}return g}a=a.replace("%D","%m/%d/%y");a=a.replace("%r","%I:%M:%S %p");a=a.replace("%Y",""+e.getFullYear());a=a.replace("%y",""+e.getYear());a=a.replace("%m",b(e.getMonth()+1,2));a=a.replace("%d",b(e.getDate(),2));a=a.replace("%H",""+b(e.getHours(),2));a=a.replace("%M",""+b(e.getMinutes(),2));a=a.replace("%S",""+b(e.getSeconds(),2));a=a.replace("%I",""+((e.getHours()+11)%12+1));a=a.replace("%p",""+(e.getHours()<12?"AM":"PM"));a=a.replace("%B",""+c.getLang("insertdatetime.months_long").split(",")[e.getMonth()]);a=a.replace("%b",""+c.getLang("insertdatetime.months_short").split(",")[e.getMonth()]);a=a.replace("%A",""+c.getLang("insertdatetime.day_long").split(",")[e.getDay()]);a=a.replace("%a",""+c.getLang("insertdatetime.day_short").split(",")[e.getDay()]);a=a.replace("%%","%");return a}});tinymce.PluginManager.add("insertdatetime",tinymce.plugins.InsertDateTime)})();
|
@@ -0,0 +1,83 @@
|
|
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.InsertDateTime', {
|
13
|
+
init : function(ed, url) {
|
14
|
+
var t = this;
|
15
|
+
|
16
|
+
t.editor = ed;
|
17
|
+
|
18
|
+
ed.addCommand('mceInsertDate', function() {
|
19
|
+
var str = t._getDateTime(new Date(), ed.getParam("plugin_insertdate_dateFormat", ed.getLang('insertdatetime.date_fmt')));
|
20
|
+
|
21
|
+
ed.execCommand('mceInsertContent', false, str);
|
22
|
+
});
|
23
|
+
|
24
|
+
ed.addCommand('mceInsertTime', function() {
|
25
|
+
var str = t._getDateTime(new Date(), ed.getParam("plugin_insertdate_timeFormat", ed.getLang('insertdatetime.time_fmt')));
|
26
|
+
|
27
|
+
ed.execCommand('mceInsertContent', false, str);
|
28
|
+
});
|
29
|
+
|
30
|
+
ed.addButton('insertdate', {title : 'insertdatetime.insertdate_desc', cmd : 'mceInsertDate'});
|
31
|
+
ed.addButton('inserttime', {title : 'insertdatetime.inserttime_desc', cmd : 'mceInsertTime'});
|
32
|
+
},
|
33
|
+
|
34
|
+
getInfo : function() {
|
35
|
+
return {
|
36
|
+
longname : 'Insert date/time',
|
37
|
+
author : 'Moxiecode Systems AB',
|
38
|
+
authorurl : 'http://tinymce.moxiecode.com',
|
39
|
+
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime',
|
40
|
+
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
41
|
+
};
|
42
|
+
},
|
43
|
+
|
44
|
+
// Private methods
|
45
|
+
|
46
|
+
_getDateTime : function(d, fmt) {
|
47
|
+
var ed = this.editor;
|
48
|
+
|
49
|
+
function addZeros(value, len) {
|
50
|
+
value = "" + value;
|
51
|
+
|
52
|
+
if (value.length < len) {
|
53
|
+
for (var i=0; i<(len-value.length); i++)
|
54
|
+
value = "0" + value;
|
55
|
+
}
|
56
|
+
|
57
|
+
return value;
|
58
|
+
};
|
59
|
+
|
60
|
+
fmt = fmt.replace("%D", "%m/%d/%y");
|
61
|
+
fmt = fmt.replace("%r", "%I:%M:%S %p");
|
62
|
+
fmt = fmt.replace("%Y", "" + d.getFullYear());
|
63
|
+
fmt = fmt.replace("%y", "" + d.getYear());
|
64
|
+
fmt = fmt.replace("%m", addZeros(d.getMonth()+1, 2));
|
65
|
+
fmt = fmt.replace("%d", addZeros(d.getDate(), 2));
|
66
|
+
fmt = fmt.replace("%H", "" + addZeros(d.getHours(), 2));
|
67
|
+
fmt = fmt.replace("%M", "" + addZeros(d.getMinutes(), 2));
|
68
|
+
fmt = fmt.replace("%S", "" + addZeros(d.getSeconds(), 2));
|
69
|
+
fmt = fmt.replace("%I", "" + ((d.getHours() + 11) % 12 + 1));
|
70
|
+
fmt = fmt.replace("%p", "" + (d.getHours() < 12 ? "AM" : "PM"));
|
71
|
+
fmt = fmt.replace("%B", "" + ed.getLang("insertdatetime.months_long").split(',')[d.getMonth()]);
|
72
|
+
fmt = fmt.replace("%b", "" + ed.getLang("insertdatetime.months_short").split(',')[d.getMonth()]);
|
73
|
+
fmt = fmt.replace("%A", "" + ed.getLang("insertdatetime.day_long").split(',')[d.getDay()]);
|
74
|
+
fmt = fmt.replace("%a", "" + ed.getLang("insertdatetime.day_short").split(',')[d.getDay()]);
|
75
|
+
fmt = fmt.replace("%%", "%");
|
76
|
+
|
77
|
+
return fmt;
|
78
|
+
}
|
79
|
+
});
|
80
|
+
|
81
|
+
// Register plugin
|
82
|
+
tinymce.PluginManager.add('insertdatetime', tinymce.plugins.InsertDateTime);
|
83
|
+
})();
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){function a(b){do{if(b.className&&b.className.indexOf("mceItemLayer")!=-1){return b}}while(b=b.parentNode)}tinymce.create("tinymce.plugins.Layer",{init:function(b,c){var d=this;d.editor=b;b.addCommand("mceInsertLayer",d._insertLayer,d);b.addCommand("mceMoveForward",function(){d._move(1)});b.addCommand("mceMoveBackward",function(){d._move(-1)});b.addCommand("mceMakeAbsolute",function(){d._toggleAbsolute()});b.addButton("moveforward",{title:"layer.forward_desc",cmd:"mceMoveForward"});b.addButton("movebackward",{title:"layer.backward_desc",cmd:"mceMoveBackward"});b.addButton("absolute",{title:"layer.absolute_desc",cmd:"mceMakeAbsolute"});b.addButton("insertlayer",{title:"layer.insertlayer_desc",cmd:"mceInsertLayer"});b.onInit.add(function(){var e=b.dom;if(tinymce.isIE){b.getDoc().execCommand("2D-Position",false,true)}});b.onMouseUp.add(function(f,h){var g=a(h.target);if(g){f.dom.setAttrib(g,"data-mce-style","")}});b.onMouseDown.add(function(f,j){var h=j.target,i=f.getDoc(),g;if(tinymce.isGecko){if(a(h)){if(i.designMode!=="on"){i.designMode="on";h=i.body;g=h.parentNode;g.removeChild(h);g.appendChild(h)}}else{if(i.designMode=="on"){i.designMode="off"}}}});b.onNodeChange.add(d._nodeChange,d);b.onVisualAid.add(d._visualAid,d)},getInfo:function(){return{longname:"Layer",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/layer",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(c,b,f){var d,e;d=this._getParentLayer(f);e=c.dom.getParent(f,"DIV,P,IMG");if(!e){b.setDisabled("absolute",1);b.setDisabled("moveforward",1);b.setDisabled("movebackward",1)}else{b.setDisabled("absolute",0);b.setDisabled("moveforward",!d);b.setDisabled("movebackward",!d);b.setActive("absolute",d&&d.style.position.toLowerCase()=="absolute")}},_visualAid:function(b,d,c){var f=b.dom;tinymce.each(f.select("div,p",d),function(g){if(/^(absolute|relative|fixed)$/i.test(g.style.position)){if(c){f.addClass(g,"mceItemVisualAid")}else{f.removeClass(g,"mceItemVisualAid")}f.addClass(g,"mceItemLayer")}})},_move:function(j){var c=this.editor,g,h=[],f=this._getParentLayer(c.selection.getNode()),e=-1,k=-1,b;b=[];tinymce.walk(c.getBody(),function(d){if(d.nodeType==1&&/^(absolute|relative|static)$/i.test(d.style.position)){b.push(d)}},"childNodes");for(g=0;g<b.length;g++){h[g]=b[g].style.zIndex?parseInt(b[g].style.zIndex):0;if(e<0&&b[g]==f){e=g}}if(j<0){for(g=0;g<h.length;g++){if(h[g]<h[e]){k=g;break}}if(k>-1){b[e].style.zIndex=h[k];b[k].style.zIndex=h[e]}else{if(h[e]>0){b[e].style.zIndex=h[e]-1}}}else{for(g=0;g<h.length;g++){if(h[g]>h[e]){k=g;break}}if(k>-1){b[e].style.zIndex=h[k];b[k].style.zIndex=h[e]}else{b[e].style.zIndex=h[e]+1}}c.execCommand("mceRepaint")},_getParentLayer:function(b){return this.editor.dom.getParent(b,function(c){return c.nodeType==1&&/^(absolute|relative|static)$/i.test(c.style.position)})},_insertLayer:function(){var c=this.editor,e=c.dom,d=e.getPos(e.getParent(c.selection.getNode(),"*")),b=c.getBody();c.dom.add(b,"div",{style:{position:"absolute",left:d.x,top:(d.y>20?d.y:20),width:100,height:100},"class":"mceItemVisualAid mceItemLayer"},c.selection.getContent()||c.getLang("layer.content"));if(tinymce.isIE){e.setHTML(b,b.innerHTML)}},_toggleAbsolute:function(){var b=this.editor,c=this._getParentLayer(b.selection.getNode());if(!c){c=b.dom.getParent(b.selection.getNode(),"DIV,P,IMG")}if(c){if(c.style.position.toLowerCase()=="absolute"){b.dom.setStyles(c,{position:"",left:"",top:"",width:"",height:""});b.dom.removeClass(c,"mceItemVisualAid");b.dom.removeClass(c,"mceItemLayer")}else{if(c.style.left==""){c.style.left=20+"px"}if(c.style.top==""){c.style.top=20+"px"}if(c.style.width==""){c.style.width=c.width?(c.width+"px"):"100px"}if(c.style.height==""){c.style.height=c.height?(c.height+"px"):"100px"}c.style.position="absolute";b.dom.setAttrib(c,"data-mce-style","");b.addVisual(b.getBody())}b.execCommand("mceRepaint");b.nodeChanged()}}});tinymce.PluginManager.add("layer",tinymce.plugins.Layer)})();
|