tinymce_fm 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +148 -0
- data/Rakefile +37 -0
- data/app/assets/images/tinymce_fm/folder.png +0 -0
- data/app/assets/images/tinymce_fm/folder_hover.png +0 -0
- data/app/assets/images/tinymce_fm/media_object.png +0 -0
- data/app/assets/javascripts/tinymce_fm/application.js +7 -0
- data/app/assets/stylesheets/tinymce_fm/application.css +8 -0
- data/app/assets/stylesheets/tinymce_fm/tinymce_fm.css.scss +37 -0
- data/app/controllers/tinymce_fm/application_controller.rb +4 -0
- data/app/controllers/tinymce_fm/filemanager_controller.rb +20 -0
- data/app/helpers/tinymce_fm/application_helper.rb +27 -0
- data/app/views/layouts/tinymce_fm/application.html.erb +41 -0
- data/app/views/tinymce_fm/filemanager/links.html.erb +34 -0
- data/app/views/tinymce_fm/filemanager/table.html.erb +84 -0
- data/app/views/tinymce_fm/filemanager/tinymce_managed_js.erb +120 -0
- data/config/locales/en.yml +14 -0
- data/config/locales/pl.yml +14 -0
- data/config/routes.rb +17 -0
- data/lib/tinymce_fm.rb +8 -0
- data/lib/tinymce_fm/builder_methods.rb +10 -0
- data/lib/tinymce_fm/engine.rb +8 -0
- data/lib/tinymce_fm/filemanager.rb +446 -0
- data/lib/tinymce_fm/version.rb +3 -0
- data/vendor/assets/javascripts/tinymce/langs/ar.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/bg.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/cn.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/cs.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/cy.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/da.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/de.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/en.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/es.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/fr.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/he.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/it.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/ja.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/km.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/mk.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/nl.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/pl.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/pt.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/ro.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/sk.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/sl.js +1 -0
- data/vendor/assets/javascripts/tinymce/langs/zh.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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/zh_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/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/zh_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/ar.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ar_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/bg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/bg_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/cn.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/cn_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/cs.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/cs_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/cy.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/cy_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/da.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/da_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/de_dlg.js +1 -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/langs/es.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/es_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/fr_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/he.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/he_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/it_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ja.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ja_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/km.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/km_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/mk.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/mk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/nl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/pt_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ro.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/ro_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/sk.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/sk_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/sl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/sl_dlg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/zh.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/zh_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/ar.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/bg.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/cn.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/cs.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/cy.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/da.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/de.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/en.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/es.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/fr.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/he.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/it.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/ja.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/km.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/mk.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/nl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/pl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/pt.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/ro.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/sk.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/sl.js +1 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/zh.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_popup.js +5 -0
- data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +16731 -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 +694 -0
@@ -0,0 +1 @@
|
|
1
|
+
(function(){var b=tinymce.each,a=tinymce.html.Node;tinymce.create("tinymce.plugins.FullPagePlugin",{init:function(c,d){var e=this;e.editor=c;c.addCommand("mceFullPageProperties",function(){c.windowManager.open({file:d+"/fullpage.htm",width:430+parseInt(c.getLang("fullpage.delta_width",0)),height:495+parseInt(c.getLang("fullpage.delta_height",0)),inline:1},{plugin_url:d,data:e._htmlToData()})});c.addButton("fullpage",{title:"fullpage.desc",cmd:"mceFullPageProperties"});c.onBeforeSetContent.add(e._setContent,e);c.onGetContent.add(e._getContent,e)},getInfo:function(){return{longname:"Fullpage",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_htmlToData:function(){var f=this._parseHeader(),h={},c,i,g,e=this.editor;function d(l,j){var k=l.attr(j);return k||""}h.fontface=e.getParam("fullpage_default_fontface","");h.fontsize=e.getParam("fullpage_default_fontsize","");i=f.firstChild;if(i.type==7){h.xml_pi=true;g=/encoding="([^"]+)"/.exec(i.value);if(g){h.docencoding=g[1]}}i=f.getAll("#doctype")[0];if(i){h.doctype="<!DOCTYPE"+i.value+">"}i=f.getAll("title")[0];if(i&&i.firstChild){h.metatitle=i.firstChild.value}b(f.getAll("meta"),function(m){var k=m.attr("name"),j=m.attr("http-equiv"),l;if(k){h["meta"+k.toLowerCase()]=m.attr("content")}else{if(j=="Content-Type"){l=/charset\s*=\s*(.*)\s*/gi.exec(m.attr("content"));if(l){h.docencoding=l[1]}}}});i=f.getAll("html")[0];if(i){h.langcode=d(i,"lang")||d(i,"xml:lang")}i=f.getAll("link")[0];if(i&&i.attr("rel")=="stylesheet"){h.stylesheet=i.attr("href")}i=f.getAll("body")[0];if(i){h.langdir=d(i,"dir");h.style=d(i,"style");h.visited_color=d(i,"vlink");h.link_color=d(i,"link");h.active_color=d(i,"alink")}return h},_dataToHtml:function(g){var f,d,h,j,k,e=this.editor.dom;function c(n,l,m){n.attr(l,m?m:undefined)}function i(l){if(d.firstChild){d.insert(l,d.firstChild)}else{d.append(l)}}f=this._parseHeader();d=f.getAll("head")[0];if(!d){j=f.getAll("html")[0];d=new a("head",1);if(j.firstChild){j.insert(d,j.firstChild,true)}else{j.append(d)}}j=f.firstChild;if(g.xml_pi){k='version="1.0"';if(g.docencoding){k+=' encoding="'+g.docencoding+'"'}if(j.type!=7){j=new a("xml",7);f.insert(j,f.firstChild,true)}j.value=k}else{if(j&&j.type==7){j.remove()}}j=f.getAll("#doctype")[0];if(g.doctype){if(!j){j=new a("#doctype",10);if(g.xml_pi){f.insert(j,f.firstChild)}else{i(j)}}j.value=g.doctype.substring(9,g.doctype.length-1)}else{if(j){j.remove()}}j=f.getAll("title")[0];if(g.metatitle){if(!j){j=new a("title",1);j.append(new a("#text",3)).value=g.metatitle;i(j)}}if(g.docencoding){j=null;b(f.getAll("meta"),function(l){if(l.attr("http-equiv")=="Content-Type"){j=l}});if(!j){j=new a("meta",1);j.attr("http-equiv","Content-Type");j.shortEnded=true;i(j)}j.attr("content","text/html; charset="+g.docencoding)}b("keywords,description,author,copyright,robots".split(","),function(m){var l=f.getAll("meta"),n,p,o=g["meta"+m];for(n=0;n<l.length;n++){p=l[n];if(p.attr("name")==m){if(o){p.attr("content",o)}else{p.remove()}return}}if(o){j=new a("meta",1);j.attr("name",m);j.attr("content",o);j.shortEnded=true;i(j)}});j=f.getAll("link")[0];if(j&&j.attr("rel")=="stylesheet"){if(g.stylesheet){j.attr("href",g.stylesheet)}else{j.remove()}}else{if(g.stylesheet){j=new a("link",1);j.attr({rel:"stylesheet",text:"text/css",href:g.stylesheet});j.shortEnded=true;i(j)}}j=f.getAll("body")[0];if(j){c(j,"dir",g.langdir);c(j,"style",g.style);c(j,"vlink",g.visited_color);c(j,"link",g.link_color);c(j,"alink",g.active_color);e.setAttribs(this.editor.getBody(),{style:g.style,dir:g.dir,vLink:g.visited_color,link:g.link_color,aLink:g.active_color})}j=f.getAll("html")[0];if(j){c(j,"lang",g.langcode);c(j,"xml:lang",g.langcode)}h=new tinymce.html.Serializer({validate:false,indent:true,apply_source_formatting:true,indent_before:"head,html,body,meta,title,script,link,style",indent_after:"head,html,body,meta,title,script,link,style"}).serialize(f);this.head=h.substring(0,h.indexOf("</body>"))},_parseHeader:function(){return new tinymce.html.DomParser({validate:false,root_name:"#document"}).parse(this.head)},_setContent:function(g,d){var m=this,i,c,h=d.content,f,l="",e=m.editor.dom,j;function k(n){return n.replace(/<\/?[A-Z]+/g,function(o){return o.toLowerCase()})}if(d.format=="raw"&&m.head){return}if(d.source_view&&g.getParam("fullpage_hide_in_source_view")){return}h=h.replace(/<(\/?)BODY/gi,"<$1body");i=h.indexOf("<body");if(i!=-1){i=h.indexOf(">",i);m.head=k(h.substring(0,i+1));c=h.indexOf("</body",i);if(c==-1){c=h.length}d.content=h.substring(i+1,c);m.foot=k(h.substring(c))}else{m.head=this._getDefaultHeader();m.foot="\n</body>\n</html>"}f=m._parseHeader();b(f.getAll("style"),function(n){if(n.firstChild){l+=n.firstChild.value}});j=f.getAll("body")[0];if(j){e.setAttribs(m.editor.getBody(),{style:j.attr("style")||"",dir:j.attr("dir")||"",vLink:j.attr("vlink")||"",link:j.attr("link")||"",aLink:j.attr("alink")||""})}e.remove("fullpage_styles");if(l){e.add(m.editor.getDoc().getElementsByTagName("head")[0],"style",{id:"fullpage_styles"},l);j=e.get("fullpage_styles");if(j.styleSheet){j.styleSheet.cssText=l}}},_getDefaultHeader:function(){var f="",c=this.editor,e,d="";if(c.getParam("fullpage_default_xml_pi")){f+='<?xml version="1.0" encoding="'+c.getParam("fullpage_default_encoding","ISO-8859-1")+'" ?>\n'}f+=c.getParam("fullpage_default_doctype",'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');f+="\n<html>\n<head>\n";if(e=c.getParam("fullpage_default_title")){f+="<title>"+e+"</title>\n"}if(e=c.getParam("fullpage_default_encoding")){f+='<meta http-equiv="Content-Type" content="text/html; charset='+e+'" />\n'}if(e=c.getParam("fullpage_default_font_family")){d+="font-family: "+e+";"}if(e=c.getParam("fullpage_default_font_size")){d+="font-size: "+e+";"}if(e=c.getParam("fullpage_default_text_color")){d+="color: "+e+";"}f+="</head>\n<body"+(d?' style="'+d+'"':"")+">\n";return f},_getContent:function(d,e){var c=this;if(!e.source_view||!d.getParam("fullpage_hide_in_source_view")){e.content=tinymce.trim(c.head)+"\n"+tinymce.trim(e.content)+"\n"+tinymce.trim(c.foot)}}});tinymce.PluginManager.add("fullpage",tinymce.plugins.FullPagePlugin)})();
|
@@ -0,0 +1,405 @@
|
|
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 each = tinymce.each, Node = tinymce.html.Node;
|
13
|
+
|
14
|
+
tinymce.create('tinymce.plugins.FullPagePlugin', {
|
15
|
+
init : function(ed, url) {
|
16
|
+
var t = this;
|
17
|
+
|
18
|
+
t.editor = ed;
|
19
|
+
|
20
|
+
// Register commands
|
21
|
+
ed.addCommand('mceFullPageProperties', function() {
|
22
|
+
ed.windowManager.open({
|
23
|
+
file : url + '/fullpage.htm',
|
24
|
+
width : 430 + parseInt(ed.getLang('fullpage.delta_width', 0)),
|
25
|
+
height : 495 + parseInt(ed.getLang('fullpage.delta_height', 0)),
|
26
|
+
inline : 1
|
27
|
+
}, {
|
28
|
+
plugin_url : url,
|
29
|
+
data : t._htmlToData()
|
30
|
+
});
|
31
|
+
});
|
32
|
+
|
33
|
+
// Register buttons
|
34
|
+
ed.addButton('fullpage', {title : 'fullpage.desc', cmd : 'mceFullPageProperties'});
|
35
|
+
|
36
|
+
ed.onBeforeSetContent.add(t._setContent, t);
|
37
|
+
ed.onGetContent.add(t._getContent, t);
|
38
|
+
},
|
39
|
+
|
40
|
+
getInfo : function() {
|
41
|
+
return {
|
42
|
+
longname : 'Fullpage',
|
43
|
+
author : 'Moxiecode Systems AB',
|
44
|
+
authorurl : 'http://tinymce.moxiecode.com',
|
45
|
+
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage',
|
46
|
+
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
47
|
+
};
|
48
|
+
},
|
49
|
+
|
50
|
+
// Private plugin internal methods
|
51
|
+
|
52
|
+
_htmlToData : function() {
|
53
|
+
var headerFragment = this._parseHeader(), data = {}, nodes, elm, matches, editor = this.editor;
|
54
|
+
|
55
|
+
function getAttr(elm, name) {
|
56
|
+
var value = elm.attr(name);
|
57
|
+
|
58
|
+
return value || '';
|
59
|
+
};
|
60
|
+
|
61
|
+
// Default some values
|
62
|
+
data.fontface = editor.getParam("fullpage_default_fontface", "");
|
63
|
+
data.fontsize = editor.getParam("fullpage_default_fontsize", "");
|
64
|
+
|
65
|
+
// Parse XML PI
|
66
|
+
elm = headerFragment.firstChild;
|
67
|
+
if (elm.type == 7) {
|
68
|
+
data.xml_pi = true;
|
69
|
+
matches = /encoding="([^"]+)"/.exec(elm.value);
|
70
|
+
if (matches)
|
71
|
+
data.docencoding = matches[1];
|
72
|
+
}
|
73
|
+
|
74
|
+
// Parse doctype
|
75
|
+
elm = headerFragment.getAll('#doctype')[0];
|
76
|
+
if (elm)
|
77
|
+
data.doctype = '<!DOCTYPE' + elm.value + ">";
|
78
|
+
|
79
|
+
// Parse title element
|
80
|
+
elm = headerFragment.getAll('title')[0];
|
81
|
+
if (elm && elm.firstChild) {
|
82
|
+
data.metatitle = elm.firstChild.value;
|
83
|
+
}
|
84
|
+
|
85
|
+
// Parse meta elements
|
86
|
+
each(headerFragment.getAll('meta'), function(meta) {
|
87
|
+
var name = meta.attr('name'), httpEquiv = meta.attr('http-equiv'), matches;
|
88
|
+
|
89
|
+
if (name)
|
90
|
+
data['meta' + name.toLowerCase()] = meta.attr('content');
|
91
|
+
else if (httpEquiv == "Content-Type") {
|
92
|
+
matches = /charset\s*=\s*(.*)\s*/gi.exec(meta.attr('content'));
|
93
|
+
|
94
|
+
if (matches)
|
95
|
+
data.docencoding = matches[1];
|
96
|
+
}
|
97
|
+
});
|
98
|
+
|
99
|
+
// Parse html attribs
|
100
|
+
elm = headerFragment.getAll('html')[0];
|
101
|
+
if (elm)
|
102
|
+
data.langcode = getAttr(elm, 'lang') || getAttr(elm, 'xml:lang');
|
103
|
+
|
104
|
+
// Parse stylesheet
|
105
|
+
elm = headerFragment.getAll('link')[0];
|
106
|
+
if (elm && elm.attr('rel') == 'stylesheet')
|
107
|
+
data.stylesheet = elm.attr('href');
|
108
|
+
|
109
|
+
// Parse body parts
|
110
|
+
elm = headerFragment.getAll('body')[0];
|
111
|
+
if (elm) {
|
112
|
+
data.langdir = getAttr(elm, 'dir');
|
113
|
+
data.style = getAttr(elm, 'style');
|
114
|
+
data.visited_color = getAttr(elm, 'vlink');
|
115
|
+
data.link_color = getAttr(elm, 'link');
|
116
|
+
data.active_color = getAttr(elm, 'alink');
|
117
|
+
}
|
118
|
+
|
119
|
+
return data;
|
120
|
+
},
|
121
|
+
|
122
|
+
_dataToHtml : function(data) {
|
123
|
+
var headerFragment, headElement, html, elm, value, dom = this.editor.dom;
|
124
|
+
|
125
|
+
function setAttr(elm, name, value) {
|
126
|
+
elm.attr(name, value ? value : undefined);
|
127
|
+
};
|
128
|
+
|
129
|
+
function addHeadNode(node) {
|
130
|
+
if (headElement.firstChild)
|
131
|
+
headElement.insert(node, headElement.firstChild);
|
132
|
+
else
|
133
|
+
headElement.append(node);
|
134
|
+
};
|
135
|
+
|
136
|
+
headerFragment = this._parseHeader();
|
137
|
+
headElement = headerFragment.getAll('head')[0];
|
138
|
+
if (!headElement) {
|
139
|
+
elm = headerFragment.getAll('html')[0];
|
140
|
+
headElement = new Node('head', 1);
|
141
|
+
|
142
|
+
if (elm.firstChild)
|
143
|
+
elm.insert(headElement, elm.firstChild, true);
|
144
|
+
else
|
145
|
+
elm.append(headElement);
|
146
|
+
}
|
147
|
+
|
148
|
+
// Add/update/remove XML-PI
|
149
|
+
elm = headerFragment.firstChild;
|
150
|
+
if (data.xml_pi) {
|
151
|
+
value = 'version="1.0"';
|
152
|
+
|
153
|
+
if (data.docencoding)
|
154
|
+
value += ' encoding="' + data.docencoding + '"';
|
155
|
+
|
156
|
+
if (elm.type != 7) {
|
157
|
+
elm = new Node('xml', 7);
|
158
|
+
headerFragment.insert(elm, headerFragment.firstChild, true);
|
159
|
+
}
|
160
|
+
|
161
|
+
elm.value = value;
|
162
|
+
} else if (elm && elm.type == 7)
|
163
|
+
elm.remove();
|
164
|
+
|
165
|
+
// Add/update/remove doctype
|
166
|
+
elm = headerFragment.getAll('#doctype')[0];
|
167
|
+
if (data.doctype) {
|
168
|
+
if (!elm) {
|
169
|
+
elm = new Node('#doctype', 10);
|
170
|
+
|
171
|
+
if (data.xml_pi)
|
172
|
+
headerFragment.insert(elm, headerFragment.firstChild);
|
173
|
+
else
|
174
|
+
addHeadNode(elm);
|
175
|
+
}
|
176
|
+
|
177
|
+
elm.value = data.doctype.substring(9, data.doctype.length - 1);
|
178
|
+
} else if (elm)
|
179
|
+
elm.remove();
|
180
|
+
|
181
|
+
// Add/update/remove title
|
182
|
+
elm = headerFragment.getAll('title')[0];
|
183
|
+
if (data.metatitle) {
|
184
|
+
if (!elm) {
|
185
|
+
elm = new Node('title', 1);
|
186
|
+
elm.append(new Node('#text', 3)).value = data.metatitle;
|
187
|
+
addHeadNode(elm);
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
// Add meta encoding
|
192
|
+
if (data.docencoding) {
|
193
|
+
elm = null;
|
194
|
+
each(headerFragment.getAll('meta'), function(meta) {
|
195
|
+
if (meta.attr('http-equiv') == 'Content-Type')
|
196
|
+
elm = meta;
|
197
|
+
});
|
198
|
+
|
199
|
+
if (!elm) {
|
200
|
+
elm = new Node('meta', 1);
|
201
|
+
elm.attr('http-equiv', 'Content-Type');
|
202
|
+
elm.shortEnded = true;
|
203
|
+
addHeadNode(elm);
|
204
|
+
}
|
205
|
+
|
206
|
+
elm.attr('content', 'text/html; charset=' + data.docencoding);
|
207
|
+
}
|
208
|
+
|
209
|
+
// Add/update/remove meta
|
210
|
+
each('keywords,description,author,copyright,robots'.split(','), function(name) {
|
211
|
+
var nodes = headerFragment.getAll('meta'), i, meta, value = data['meta' + name];
|
212
|
+
|
213
|
+
for (i = 0; i < nodes.length; i++) {
|
214
|
+
meta = nodes[i];
|
215
|
+
|
216
|
+
if (meta.attr('name') == name) {
|
217
|
+
if (value)
|
218
|
+
meta.attr('content', value);
|
219
|
+
else
|
220
|
+
meta.remove();
|
221
|
+
|
222
|
+
return;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
if (value) {
|
227
|
+
elm = new Node('meta', 1);
|
228
|
+
elm.attr('name', name);
|
229
|
+
elm.attr('content', value);
|
230
|
+
elm.shortEnded = true;
|
231
|
+
|
232
|
+
addHeadNode(elm);
|
233
|
+
}
|
234
|
+
});
|
235
|
+
|
236
|
+
// Add/update/delete link
|
237
|
+
elm = headerFragment.getAll('link')[0];
|
238
|
+
if (elm && elm.attr('rel') == 'stylesheet') {
|
239
|
+
if (data.stylesheet)
|
240
|
+
elm.attr('href', data.stylesheet);
|
241
|
+
else
|
242
|
+
elm.remove();
|
243
|
+
} else if (data.stylesheet) {
|
244
|
+
elm = new Node('link', 1);
|
245
|
+
elm.attr({
|
246
|
+
rel : 'stylesheet',
|
247
|
+
text : 'text/css',
|
248
|
+
href : data.stylesheet
|
249
|
+
});
|
250
|
+
elm.shortEnded = true;
|
251
|
+
|
252
|
+
addHeadNode(elm);
|
253
|
+
}
|
254
|
+
|
255
|
+
// Update body attributes
|
256
|
+
elm = headerFragment.getAll('body')[0];
|
257
|
+
if (elm) {
|
258
|
+
setAttr(elm, 'dir', data.langdir);
|
259
|
+
setAttr(elm, 'style', data.style);
|
260
|
+
setAttr(elm, 'vlink', data.visited_color);
|
261
|
+
setAttr(elm, 'link', data.link_color);
|
262
|
+
setAttr(elm, 'alink', data.active_color);
|
263
|
+
|
264
|
+
// Update iframe body as well
|
265
|
+
dom.setAttribs(this.editor.getBody(), {
|
266
|
+
style : data.style,
|
267
|
+
dir : data.dir,
|
268
|
+
vLink : data.visited_color,
|
269
|
+
link : data.link_color,
|
270
|
+
aLink : data.active_color
|
271
|
+
});
|
272
|
+
}
|
273
|
+
|
274
|
+
// Set html attributes
|
275
|
+
elm = headerFragment.getAll('html')[0];
|
276
|
+
if (elm) {
|
277
|
+
setAttr(elm, 'lang', data.langcode);
|
278
|
+
setAttr(elm, 'xml:lang', data.langcode);
|
279
|
+
}
|
280
|
+
|
281
|
+
// Serialize header fragment and crop away body part
|
282
|
+
html = new tinymce.html.Serializer({
|
283
|
+
validate: false,
|
284
|
+
indent: true,
|
285
|
+
apply_source_formatting : true,
|
286
|
+
indent_before: 'head,html,body,meta,title,script,link,style',
|
287
|
+
indent_after: 'head,html,body,meta,title,script,link,style'
|
288
|
+
}).serialize(headerFragment);
|
289
|
+
|
290
|
+
this.head = html.substring(0, html.indexOf('</body>'));
|
291
|
+
},
|
292
|
+
|
293
|
+
_parseHeader : function() {
|
294
|
+
// Parse the contents with a DOM parser
|
295
|
+
return new tinymce.html.DomParser({
|
296
|
+
validate: false,
|
297
|
+
root_name: '#document'
|
298
|
+
}).parse(this.head);
|
299
|
+
},
|
300
|
+
|
301
|
+
_setContent : function(ed, o) {
|
302
|
+
var self = this, startPos, endPos, content = o.content, headerFragment, styles = '', dom = self.editor.dom, elm;
|
303
|
+
|
304
|
+
function low(s) {
|
305
|
+
return s.replace(/<\/?[A-Z]+/g, function(a) {
|
306
|
+
return a.toLowerCase();
|
307
|
+
})
|
308
|
+
};
|
309
|
+
|
310
|
+
// Ignore raw updated if we already have a head, this will fix issues with undo/redo keeping the head/foot separate
|
311
|
+
if (o.format == 'raw' && self.head)
|
312
|
+
return;
|
313
|
+
|
314
|
+
if (o.source_view && ed.getParam('fullpage_hide_in_source_view'))
|
315
|
+
return;
|
316
|
+
|
317
|
+
// Parse out head, body and footer
|
318
|
+
content = content.replace(/<(\/?)BODY/gi, '<$1body');
|
319
|
+
startPos = content.indexOf('<body');
|
320
|
+
|
321
|
+
if (startPos != -1) {
|
322
|
+
startPos = content.indexOf('>', startPos);
|
323
|
+
self.head = low(content.substring(0, startPos + 1));
|
324
|
+
|
325
|
+
endPos = content.indexOf('</body', startPos);
|
326
|
+
if (endPos == -1)
|
327
|
+
endPos = content.length;
|
328
|
+
|
329
|
+
o.content = content.substring(startPos + 1, endPos);
|
330
|
+
self.foot = low(content.substring(endPos));
|
331
|
+
} else {
|
332
|
+
self.head = this._getDefaultHeader();
|
333
|
+
self.foot = '\n</body>\n</html>';
|
334
|
+
}
|
335
|
+
|
336
|
+
// Parse header and update iframe
|
337
|
+
headerFragment = self._parseHeader();
|
338
|
+
each(headerFragment.getAll('style'), function(node) {
|
339
|
+
if (node.firstChild)
|
340
|
+
styles += node.firstChild.value;
|
341
|
+
});
|
342
|
+
|
343
|
+
elm = headerFragment.getAll('body')[0];
|
344
|
+
if (elm) {
|
345
|
+
dom.setAttribs(self.editor.getBody(), {
|
346
|
+
style : elm.attr('style') || '',
|
347
|
+
dir : elm.attr('dir') || '',
|
348
|
+
vLink : elm.attr('vlink') || '',
|
349
|
+
link : elm.attr('link') || '',
|
350
|
+
aLink : elm.attr('alink') || ''
|
351
|
+
});
|
352
|
+
}
|
353
|
+
|
354
|
+
dom.remove('fullpage_styles');
|
355
|
+
|
356
|
+
if (styles) {
|
357
|
+
dom.add(self.editor.getDoc().getElementsByTagName('head')[0], 'style', {id : 'fullpage_styles'}, styles);
|
358
|
+
|
359
|
+
// Needed for IE 6/7
|
360
|
+
elm = dom.get('fullpage_styles');
|
361
|
+
if (elm.styleSheet)
|
362
|
+
elm.styleSheet.cssText = styles;
|
363
|
+
}
|
364
|
+
},
|
365
|
+
|
366
|
+
_getDefaultHeader : function() {
|
367
|
+
var header = '', editor = this.editor, value, styles = '';
|
368
|
+
|
369
|
+
if (editor.getParam('fullpage_default_xml_pi'))
|
370
|
+
header += '<?xml version="1.0" encoding="' + editor.getParam('fullpage_default_encoding', 'ISO-8859-1') + '" ?>\n';
|
371
|
+
|
372
|
+
header += editor.getParam('fullpage_default_doctype', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
|
373
|
+
header += '\n<html>\n<head>\n';
|
374
|
+
|
375
|
+
if (value = editor.getParam('fullpage_default_title'))
|
376
|
+
header += '<title>' + value + '</title>\n';
|
377
|
+
|
378
|
+
if (value = editor.getParam('fullpage_default_encoding'))
|
379
|
+
header += '<meta http-equiv="Content-Type" content="text/html; charset=' + value + '" />\n';
|
380
|
+
|
381
|
+
if (value = editor.getParam('fullpage_default_font_family'))
|
382
|
+
styles += 'font-family: ' + value + ';';
|
383
|
+
|
384
|
+
if (value = editor.getParam('fullpage_default_font_size'))
|
385
|
+
styles += 'font-size: ' + value + ';';
|
386
|
+
|
387
|
+
if (value = editor.getParam('fullpage_default_text_color'))
|
388
|
+
styles += 'color: ' + value + ';';
|
389
|
+
|
390
|
+
header += '</head>\n<body' + (styles ? ' style="' + styles + '"' : '') + '>\n';
|
391
|
+
|
392
|
+
return header;
|
393
|
+
},
|
394
|
+
|
395
|
+
_getContent : function(ed, o) {
|
396
|
+
var self = this;
|
397
|
+
|
398
|
+
if (!o.source_view || !ed.getParam('fullpage_hide_in_source_view'))
|
399
|
+
o.content = tinymce.trim(self.head) + '\n' + tinymce.trim(o.content) + '\n' + tinymce.trim(self.foot);
|
400
|
+
}
|
401
|
+
});
|
402
|
+
|
403
|
+
// Register plugin
|
404
|
+
tinymce.PluginManager.add('fullpage', tinymce.plugins.FullPagePlugin);
|
405
|
+
})();
|
@@ -0,0 +1,259 @@
|
|
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>{#fullpage_dlg.title}</title>
|
5
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
6
|
+
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
7
|
+
<script type="text/javascript" src="../../utils/form_utils.js"></script>
|
8
|
+
<script type="text/javascript" src="js/fullpage.js"></script>
|
9
|
+
<link href="css/fullpage.css" rel="stylesheet" type="text/css" />
|
10
|
+
</head>
|
11
|
+
<body id="fullpage" style="display: none">
|
12
|
+
<form onsubmit="FullPageDialog.update();return false;" name="fullpage" action="#">
|
13
|
+
<div class="tabs">
|
14
|
+
<ul>
|
15
|
+
<li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{#fullpage_dlg.meta_tab}</a></span></li>
|
16
|
+
<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#fullpage_dlg.appearance_tab}</a></span></li>
|
17
|
+
</ul>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="panel_wrapper">
|
21
|
+
<div id="meta_panel" class="panel current">
|
22
|
+
<fieldset>
|
23
|
+
<legend>{#fullpage_dlg.meta_props}</legend>
|
24
|
+
|
25
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
26
|
+
<tr>
|
27
|
+
<td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label> </td>
|
28
|
+
<td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<td class="nowrap"><label for="metakeywords">{#fullpage_dlg.meta_keywords}</label> </td>
|
32
|
+
<td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td>
|
33
|
+
</tr>
|
34
|
+
<tr>
|
35
|
+
<td class="nowrap"><label for="metadescription">{#fullpage_dlg.meta_description}</label> </td>
|
36
|
+
<td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td class="nowrap"><label for="metaauthor">{#fullpage_dlg.author}</label> </td>
|
40
|
+
<td><input type="text" id="metaauthor" name="metaauthor" value="" /></td>
|
41
|
+
</tr>
|
42
|
+
<tr>
|
43
|
+
<td class="nowrap"><label for="metacopyright">{#fullpage_dlg.copyright}</label> </td>
|
44
|
+
<td><input type="text" id="metacopyright" name="metacopyright" value="" /></td>
|
45
|
+
</tr>
|
46
|
+
<tr>
|
47
|
+
<td class="nowrap"><label for="metarobots">{#fullpage_dlg.meta_robots}</label> </td>
|
48
|
+
<td>
|
49
|
+
<select id="metarobots" name="metarobots">
|
50
|
+
<option value="">{#not_set}</option>
|
51
|
+
<option value="index,follow">{#fullpage_dlg.meta_index_follow}</option>
|
52
|
+
<option value="index,nofollow">{#fullpage_dlg.meta_index_nofollow}</option>
|
53
|
+
<option value="noindex,follow">{#fullpage_dlg.meta_noindex_follow}</option>
|
54
|
+
<option value="noindex,nofollow">{#fullpage_dlg.meta_noindex_nofollow}</option>
|
55
|
+
</select>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
</table>
|
59
|
+
</fieldset>
|
60
|
+
|
61
|
+
<fieldset>
|
62
|
+
<legend>{#fullpage_dlg.langprops}</legend>
|
63
|
+
|
64
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
65
|
+
<tr>
|
66
|
+
<td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td>
|
67
|
+
<td>
|
68
|
+
<select id="docencoding" name="docencoding">
|
69
|
+
<option value="">{#not_set}</option>
|
70
|
+
</select>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
<tr>
|
74
|
+
<td class="nowrap"><label for="doctype">{#fullpage_dlg.doctypes}</label> </td>
|
75
|
+
<td>
|
76
|
+
<select id="doctype" name="doctype">
|
77
|
+
<option value="">{#not_set}</option>
|
78
|
+
</select>
|
79
|
+
</td>
|
80
|
+
</tr>
|
81
|
+
<tr>
|
82
|
+
<td class="nowrap"><label for="langcode">{#fullpage_dlg.langcode}</label> </td>
|
83
|
+
<td><input type="text" id="langcode" name="langcode" value="" /></td>
|
84
|
+
</tr>
|
85
|
+
<tr>
|
86
|
+
<td class="column1"><label for="langdir">{#fullpage_dlg.langdir}</label></td>
|
87
|
+
<td>
|
88
|
+
<select id="langdir" name="langdir">
|
89
|
+
<option value="">{#not_set}</option>
|
90
|
+
<option value="ltr">{#fullpage_dlg.ltr}</option>
|
91
|
+
<option value="rtl">{#fullpage_dlg.rtl}</option>
|
92
|
+
</select>
|
93
|
+
</td>
|
94
|
+
</tr>
|
95
|
+
<tr>
|
96
|
+
<td class="nowrap"><label for="xml_pi">{#fullpage_dlg.xml_pi}</label> </td>
|
97
|
+
<td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td>
|
98
|
+
</tr>
|
99
|
+
</table>
|
100
|
+
</fieldset>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div id="appearance_panel" class="panel">
|
104
|
+
<fieldset>
|
105
|
+
<legend>{#fullpage_dlg.appearance_textprops}</legend>
|
106
|
+
|
107
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
108
|
+
<tr>
|
109
|
+
<td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td>
|
110
|
+
<td>
|
111
|
+
<select id="fontface" name="fontface" onchange="FullPageDialog.changedStyleProp();">
|
112
|
+
<option value="">{#not_set}</option>
|
113
|
+
</select>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
|
117
|
+
<tr>
|
118
|
+
<td class="column1"><label for="fontsize">{#fullpage_dlg.fontsize}</label></td>
|
119
|
+
<td>
|
120
|
+
<select id="fontsize" name="fontsize" onchange="FullPageDialog.changedStyleProp();">
|
121
|
+
<option value="">{#not_set}</option>
|
122
|
+
</select>
|
123
|
+
</td>
|
124
|
+
</tr>
|
125
|
+
|
126
|
+
<tr>
|
127
|
+
<td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td>
|
128
|
+
<td>
|
129
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
130
|
+
<tr>
|
131
|
+
<td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');FullPageDialog.changedStyleProp();" /></td>
|
132
|
+
<td id="textcolor_pickcontainer"> </td>
|
133
|
+
</tr>
|
134
|
+
</table>
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
</table>
|
138
|
+
</fieldset>
|
139
|
+
|
140
|
+
<fieldset>
|
141
|
+
<legend>{#fullpage_dlg.appearance_bgprops}</legend>
|
142
|
+
|
143
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
144
|
+
<tr>
|
145
|
+
<td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td>
|
146
|
+
<td>
|
147
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
148
|
+
<tr>
|
149
|
+
<td><input id="bgimage" name="bgimage" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
|
150
|
+
<td id="bgimage_pickcontainer"> </td>
|
151
|
+
</tr>
|
152
|
+
</table>
|
153
|
+
</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td>
|
157
|
+
<td>
|
158
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
159
|
+
<tr>
|
160
|
+
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');FullPageDialog.changedStyleProp();" /></td>
|
161
|
+
<td id="bgcolor_pickcontainer"> </td>
|
162
|
+
</tr>
|
163
|
+
</table>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
</table>
|
167
|
+
</fieldset>
|
168
|
+
|
169
|
+
<fieldset>
|
170
|
+
<legend>{#fullpage_dlg.appearance_marginprops}</legend>
|
171
|
+
|
172
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
173
|
+
<tr>
|
174
|
+
<td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td>
|
175
|
+
<td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
|
176
|
+
<td class="column1"><label for="rightmargin">{#fullpage_dlg.right_margin}</label></td>
|
177
|
+
<td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td class="column1"><label for="topmargin">{#fullpage_dlg.top_margin}</label></td>
|
181
|
+
<td><input id="topmargin" name="topmargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
|
182
|
+
<td class="column1"><label for="bottommargin">{#fullpage_dlg.bottom_margin}</label></td>
|
183
|
+
<td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="FullPageDialog.changedStyleProp();" /></td>
|
184
|
+
</tr>
|
185
|
+
</table>
|
186
|
+
</fieldset>
|
187
|
+
|
188
|
+
<fieldset>
|
189
|
+
<legend>{#fullpage_dlg.appearance_linkprops}</legend>
|
190
|
+
|
191
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
192
|
+
<tr>
|
193
|
+
<td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td>
|
194
|
+
<td>
|
195
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
196
|
+
<tr>
|
197
|
+
<td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');FullPageDialog.changedStyleProp();" /></td>
|
198
|
+
<td id="link_color_pickcontainer"> </td>
|
199
|
+
</tr>
|
200
|
+
</table>
|
201
|
+
</td>
|
202
|
+
|
203
|
+
<td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td>
|
204
|
+
<td>
|
205
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
206
|
+
<tr>
|
207
|
+
<td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');FullPageDialog.changedStyleProp();" /></td>
|
208
|
+
<td id="visited_color_pickcontainer"> </td>
|
209
|
+
</tr>
|
210
|
+
</table>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
|
214
|
+
<tr>
|
215
|
+
<td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td>
|
216
|
+
<td>
|
217
|
+
<table border="0" cellpadding="0" cellspacing="0">
|
218
|
+
<tr>
|
219
|
+
<td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');FullPageDialog.changedStyleProp();" /></td>
|
220
|
+
<td id="active_color_pickcontainer"> </td>
|
221
|
+
</tr>
|
222
|
+
</table>
|
223
|
+
</td>
|
224
|
+
|
225
|
+
<td> </td>
|
226
|
+
<td> </td>
|
227
|
+
</tr>
|
228
|
+
</table>
|
229
|
+
</fieldset>
|
230
|
+
|
231
|
+
<fieldset>
|
232
|
+
<legend>{#fullpage_dlg.appearance_style}</legend>
|
233
|
+
|
234
|
+
<table border="0" cellpadding="4" cellspacing="0">
|
235
|
+
<tr>
|
236
|
+
<td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td>
|
237
|
+
<td><table border="0" cellpadding="0" cellspacing="0">
|
238
|
+
<tr>
|
239
|
+
<td><input id="stylesheet" name="stylesheet" type="text" value="" /></td>
|
240
|
+
<td id="stylesheet_browsercontainer"> </td>
|
241
|
+
</tr>
|
242
|
+
</table></td>
|
243
|
+
</tr>
|
244
|
+
<tr>
|
245
|
+
<td class="column1"><label for="style">{#fullpage_dlg.style}</label></td>
|
246
|
+
<td><input id="style" name="style" type="text" value="" onchange="FullPageDialog.changedStyle();" /></td>
|
247
|
+
</tr>
|
248
|
+
</table>
|
249
|
+
</fieldset>
|
250
|
+
</div>
|
251
|
+
</div>
|
252
|
+
|
253
|
+
<div class="mceActionPanel">
|
254
|
+
<input type="submit" id="insert" name="update" value="{#update}" />
|
255
|
+
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
256
|
+
</div>
|
257
|
+
</form>
|
258
|
+
</body>
|
259
|
+
</html>
|