tinymce-rails 3.5.11.1 → 4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.md +40 -103
- data/Rakefile +10 -15
- data/app/assets/javascripts/tinymce-jquery.js +1 -1
- data/app/assets/javascripts/tinymce.js +1 -1
- data/app/assets/javascripts/tinymce/preinit.js.erb +1 -2
- data/lib/tasks/tinymce-assets.rake +3 -6
- data/lib/tinymce/rails.rb +1 -1
- data/lib/tinymce/rails/asset_installer.rb +36 -34
- data/lib/tinymce/rails/asset_manifest.rb +89 -108
- data/lib/tinymce/rails/configuration.rb +36 -29
- data/lib/tinymce/rails/engine.rb +1 -40
- data/lib/tinymce/rails/helper.rb +5 -9
- data/lib/tinymce/rails/version.rb +2 -2
- data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/readme.md +3 -0
- data/vendor/assets/javascripts/tinymce/license.txt +504 -504
- data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/bbcode/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/code/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/editable_selects.js +70 -70
- data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/form_utils.js +210 -210
- data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/mctabs.js +161 -161
- data/vendor/assets/javascripts/tinymce/plugins/compat3x/tiny_mce_popup.js +435 -0
- data/vendor/assets/javascripts/tinymce/{utils → plugins/compat3x}/validate.js +252 -252
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/directionality/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-cool.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-cry.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-embarassed.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-foot-in-mouth.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-frown.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-innocent.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-kiss.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-laughing.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-money-mouth.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-sealed.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-smile.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-surprised.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-tongue-out.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-undecided.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-wink.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/{emotions → emoticons}/img/smiley-yell.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/emoticons/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/example_dependency/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/hr/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/layer/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/print/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/textcolor/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/css/visualblocks.css +114 -21
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/content.inline.min.css +1 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/content.min.css +1 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.eot +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.svg +166 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.ttf +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon-small.woff +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.eot +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.svg +150 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.ttf +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/icomoon.woff +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/fonts/readme.md +1 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/img/anchor.gif +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/img/loader.gif +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/img/object.gif +0 -0
- data/vendor/assets/javascripts/tinymce/{themes/advanced → skins/lightgray}/img/trans.gif +0 -0
- data/vendor/assets/javascripts/tinymce/{plugins/spellchecker → skins/lightgray}/img/wline.gif +0 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.ie7.min.css +1 -0
- data/vendor/assets/javascripts/tinymce/skins/lightgray/skin.min.css +1 -0
- data/vendor/assets/javascripts/tinymce/themes/modern/theme.js +1 -0
- data/vendor/assets/javascripts/tinymce/tinymce.js +10 -0
- data/vendor/assets/javascripts/tinymce/tinymce_jquery.js +9 -0
- metadata +100 -272
- checksums.yaml +0 -7
- data/lib/tinymce/rails/asset_installer/compile.rb +0 -44
- data/lib/tinymce/rails/asset_installer/copy.rb +0 -52
- data/vendor/assets/javascripts/tinymce/langs/en.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advhr/css/advhr.css +0 -5
- data/vendor/assets/javascripts/tinymce/plugins/advhr/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +0 -57
- data/vendor/assets/javascripts/tinymce/plugins/advhr/js/rule.js +0 -43
- data/vendor/assets/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advhr/rule.htm +0 -58
- data/vendor/assets/javascripts/tinymce/plugins/advimage/css/advimage.css +0 -13
- data/vendor/assets/javascripts/tinymce/plugins/advimage/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +0 -50
- data/vendor/assets/javascripts/tinymce/plugins/advimage/image.htm +0 -235
- data/vendor/assets/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/advimage/js/image.js +0 -464
- data/vendor/assets/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlink/css/advlink.css +0 -8
- data/vendor/assets/javascripts/tinymce/plugins/advlink/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +0 -61
- data/vendor/assets/javascripts/tinymce/plugins/advlink/js/advlink.js +0 -543
- data/vendor/assets/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlink/link.htm +0 -338
- data/vendor/assets/javascripts/tinymce/plugins/advlist/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +0 -176
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +0 -184
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +0 -119
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +0 -433
- data/vendor/assets/javascripts/tinymce/plugins/bbcode/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +0 -120
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +0 -163
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +0 -85
- data/vendor/assets/javascripts/tinymce/plugins/emotions/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +0 -43
- data/vendor/assets/javascripts/tinymce/plugins/emotions/emotions.htm +0 -42
- data/vendor/assets/javascripts/tinymce/plugins/emotions/js/emotions.js +0 -43
- data/vendor/assets/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/example/dialog.htm +0 -22
- data/vendor/assets/javascripts/tinymce/plugins/example/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/example/editor_plugin_src.js +0 -84
- data/vendor/assets/javascripts/tinymce/plugins/example/img/example.gif +0 -0
- data/vendor/assets/javascripts/tinymce/plugins/example/js/dialog.js +0 -19
- data/vendor/assets/javascripts/tinymce/plugins/example/langs/en.js +0 -3
- data/vendor/assets/javascripts/tinymce/plugins/example/langs/en_dlg.js +0 -3
- data/vendor/assets/javascripts/tinymce/plugins/example_dependency/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/example_dependency/editor_plugin_src.js +0 -50
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/css/fullpage.css +0 -143
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +0 -405
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/fullpage.htm +0 -259
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/js/fullpage.js +0 -232
- data/vendor/assets/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +0 -234
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +0 -117
- data/vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +0 -54
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +0 -699
- 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 +0 -90
- data/vendor/assets/javascripts/tinymce/plugins/inlinepopups/template.htm +0 -387
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +0 -83
- data/vendor/assets/javascripts/tinymce/plugins/layer/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/layer/editor_plugin_src.js +0 -262
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +0 -139
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/lists/editor_plugin_src.js +0 -955
- data/vendor/assets/javascripts/tinymce/plugins/media/css/media.css +0 -17
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/editor_plugin_src.js +0 -898
- data/vendor/assets/javascripts/tinymce/plugins/media/js/embed.js +0 -73
- data/vendor/assets/javascripts/tinymce/plugins/media/js/media.js +0 -513
- data/vendor/assets/javascripts/tinymce/plugins/media/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/media.htm +0 -922
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +0 -54
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +0 -537
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +0 -74
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/editor_plugin_src.js +0 -887
- data/vendor/assets/javascripts/tinymce/plugins/paste/js/pastetext.js +0 -36
- data/vendor/assets/javascripts/tinymce/plugins/paste/js/pasteword.js +0 -51
- data/vendor/assets/javascripts/tinymce/plugins/paste/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/pastetext.htm +0 -27
- data/vendor/assets/javascripts/tinymce/plugins/paste/pasteword.htm +0 -21
- data/vendor/assets/javascripts/tinymce/plugins/preview/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/preview/editor_plugin_src.js +0 -53
- data/vendor/assets/javascripts/tinymce/plugins/preview/example.html +0 -28
- data/vendor/assets/javascripts/tinymce/plugins/preview/jscripts/embed.js +0 -73
- data/vendor/assets/javascripts/tinymce/plugins/preview/preview.html +0 -17
- data/vendor/assets/javascripts/tinymce/plugins/print/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/print/editor_plugin_src.js +0 -34
- data/vendor/assets/javascripts/tinymce/plugins/save/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/save/editor_plugin_src.js +0 -101
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +0 -6
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +0 -61
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +0 -152
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +0 -100
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/css/content.css +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +0 -471
- data/vendor/assets/javascripts/tinymce/plugins/style/css/props.css +0 -14
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/style/editor_plugin_src.js +0 -71
- data/vendor/assets/javascripts/tinymce/plugins/style/js/props.js +0 -709
- data/vendor/assets/javascripts/tinymce/plugins/style/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/style/props.htm +0 -845
- data/vendor/assets/javascripts/tinymce/plugins/style/readme.txt +0 -19
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +0 -122
- data/vendor/assets/javascripts/tinymce/plugins/table/cell.htm +0 -180
- data/vendor/assets/javascripts/tinymce/plugins/table/css/cell.css +0 -17
- data/vendor/assets/javascripts/tinymce/plugins/table/css/row.css +0 -25
- data/vendor/assets/javascripts/tinymce/plugins/table/css/table.css +0 -13
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/editor_plugin_src.js +0 -1456
- data/vendor/assets/javascripts/tinymce/plugins/table/js/cell.js +0 -319
- data/vendor/assets/javascripts/tinymce/plugins/table/js/merge_cells.js +0 -27
- data/vendor/assets/javascripts/tinymce/plugins/table/js/row.js +0 -254
- data/vendor/assets/javascripts/tinymce/plugins/table/js/table.js +0 -501
- data/vendor/assets/javascripts/tinymce/plugins/table/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/merge_cells.htm +0 -32
- data/vendor/assets/javascripts/tinymce/plugins/table/row.htm +0 -158
- data/vendor/assets/javascripts/tinymce/plugins/table/table.htm +0 -188
- data/vendor/assets/javascripts/tinymce/plugins/template/blank.htm +0 -12
- data/vendor/assets/javascripts/tinymce/plugins/template/css/template.css +0 -23
- data/vendor/assets/javascripts/tinymce/plugins/template/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/template/editor_plugin_src.js +0 -159
- data/vendor/assets/javascripts/tinymce/plugins/template/js/template.js +0 -106
- data/vendor/assets/javascripts/tinymce/plugins/template/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/template/template.htm +0 -31
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/editor_plugin_src.js +0 -63
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +0 -83
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +0 -122
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +0 -142
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +0 -142
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +0 -149
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +0 -142
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +0 -11
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +0 -9
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/del.htm +0 -162
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +0 -132
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +0 -162
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +0 -28
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +0 -28
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +0 -111
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +0 -28
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +0 -53
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +0 -229
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +0 -53
- data/vendor/assets/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/about.htm +0 -52
- data/vendor/assets/javascripts/tinymce/themes/advanced/anchor.htm +0 -26
- data/vendor/assets/javascripts/tinymce/themes/advanced/charmap.htm +0 -55
- data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +0 -70
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +0 -1490
- data/vendor/assets/javascripts/tinymce/themes/advanced/image.htm +0 -80
- 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/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 +0 -73
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +0 -56
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/charmap.js +0 -363
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +0 -345
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +0 -253
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +0 -159
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +0 -78
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/link.htm +0 -57
- data/vendor/assets/javascripts/tinymce/themes/advanced/shortcuts.htm +0 -47
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/content.css +0 -50
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/default/dialog.css +0 -118
- 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 +0 -219
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +0 -24
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +0 -106
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +0 -106
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +0 -48
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +0 -118
- 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 +0 -222
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +0 -8
- data/vendor/assets/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +0 -5
- data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +0 -25
- data/vendor/assets/javascripts/tinymce/themes/simple/editor_template.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/simple/editor_template_src.js +0 -84
- data/vendor/assets/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/simple/langs/en.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/default/content.css +0 -25
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/default/ui.css +0 -32
- data/vendor/assets/javascripts/tinymce/themes/simple/skins/o2k7/content.css +0 -17
- 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 +0 -35
- data/vendor/assets/javascripts/tinymce/tiny_mce.js +0 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_jquery.js +0 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_jquery_src.js +0 -17942
- data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +0 -5
- data/vendor/assets/javascripts/tinymce/tiny_mce_src.js +0 -19156
@@ -1,259 +0,0 @@
|
|
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>
|
@@ -1,232 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* fullpage.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
|
-
tinyMCEPopup.requireLangPack();
|
13
|
-
|
14
|
-
var defaultDocTypes =
|
15
|
-
'XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,' +
|
16
|
-
'XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,' +
|
17
|
-
'XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,' +
|
18
|
-
'XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">,' +
|
19
|
-
'HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,' +
|
20
|
-
'HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,' +
|
21
|
-
'HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">';
|
22
|
-
|
23
|
-
var defaultEncodings =
|
24
|
-
'Western european (iso-8859-1)=iso-8859-1,' +
|
25
|
-
'Central European (iso-8859-2)=iso-8859-2,' +
|
26
|
-
'Unicode (UTF-8)=utf-8,' +
|
27
|
-
'Chinese traditional (Big5)=big5,' +
|
28
|
-
'Cyrillic (iso-8859-5)=iso-8859-5,' +
|
29
|
-
'Japanese (iso-2022-jp)=iso-2022-jp,' +
|
30
|
-
'Greek (iso-8859-7)=iso-8859-7,' +
|
31
|
-
'Korean (iso-2022-kr)=iso-2022-kr,' +
|
32
|
-
'ASCII (us-ascii)=us-ascii';
|
33
|
-
|
34
|
-
var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings';
|
35
|
-
var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px';
|
36
|
-
|
37
|
-
function setVal(id, value) {
|
38
|
-
var elm = document.getElementById(id);
|
39
|
-
|
40
|
-
if (elm) {
|
41
|
-
value = value || '';
|
42
|
-
|
43
|
-
if (elm.nodeName == "SELECT")
|
44
|
-
selectByValue(document.forms[0], id, value);
|
45
|
-
else if (elm.type == "checkbox")
|
46
|
-
elm.checked = !!value;
|
47
|
-
else
|
48
|
-
elm.value = value;
|
49
|
-
}
|
50
|
-
};
|
51
|
-
|
52
|
-
function getVal(id) {
|
53
|
-
var elm = document.getElementById(id);
|
54
|
-
|
55
|
-
if (elm.nodeName == "SELECT")
|
56
|
-
return elm.options[elm.selectedIndex].value;
|
57
|
-
|
58
|
-
if (elm.type == "checkbox")
|
59
|
-
return elm.checked;
|
60
|
-
|
61
|
-
return elm.value;
|
62
|
-
};
|
63
|
-
|
64
|
-
window.FullPageDialog = {
|
65
|
-
changedStyle : function() {
|
66
|
-
var val, styles = tinyMCEPopup.editor.dom.parseStyle(getVal('style'));
|
67
|
-
|
68
|
-
setVal('fontface', styles['font-face']);
|
69
|
-
setVal('fontsize', styles['font-size']);
|
70
|
-
setVal('textcolor', styles['color']);
|
71
|
-
|
72
|
-
if (val = styles['background-image'])
|
73
|
-
setVal('bgimage', val.replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"));
|
74
|
-
else
|
75
|
-
setVal('bgimage', '');
|
76
|
-
|
77
|
-
setVal('bgcolor', styles['background-color']);
|
78
|
-
|
79
|
-
// Reset margin form elements
|
80
|
-
setVal('topmargin', '');
|
81
|
-
setVal('rightmargin', '');
|
82
|
-
setVal('bottommargin', '');
|
83
|
-
setVal('leftmargin', '');
|
84
|
-
|
85
|
-
// Expand margin
|
86
|
-
if (val = styles['margin']) {
|
87
|
-
val = val.split(' ');
|
88
|
-
styles['margin-top'] = val[0] || '';
|
89
|
-
styles['margin-right'] = val[1] || val[0] || '';
|
90
|
-
styles['margin-bottom'] = val[2] || val[0] || '';
|
91
|
-
styles['margin-left'] = val[3] || val[0] || '';
|
92
|
-
}
|
93
|
-
|
94
|
-
if (val = styles['margin-top'])
|
95
|
-
setVal('topmargin', val.replace(/px/, ''));
|
96
|
-
|
97
|
-
if (val = styles['margin-right'])
|
98
|
-
setVal('rightmargin', val.replace(/px/, ''));
|
99
|
-
|
100
|
-
if (val = styles['margin-bottom'])
|
101
|
-
setVal('bottommargin', val.replace(/px/, ''));
|
102
|
-
|
103
|
-
if (val = styles['margin-left'])
|
104
|
-
setVal('leftmargin', val.replace(/px/, ''));
|
105
|
-
|
106
|
-
updateColor('bgcolor_pick', 'bgcolor');
|
107
|
-
updateColor('textcolor_pick', 'textcolor');
|
108
|
-
},
|
109
|
-
|
110
|
-
changedStyleProp : function() {
|
111
|
-
var val, dom = tinyMCEPopup.editor.dom, styles = dom.parseStyle(getVal('style'));
|
112
|
-
|
113
|
-
styles['font-face'] = getVal('fontface');
|
114
|
-
styles['font-size'] = getVal('fontsize');
|
115
|
-
styles['color'] = getVal('textcolor');
|
116
|
-
styles['background-color'] = getVal('bgcolor');
|
117
|
-
|
118
|
-
if (val = getVal('bgimage'))
|
119
|
-
styles['background-image'] = "url('" + val + "')";
|
120
|
-
else
|
121
|
-
styles['background-image'] = '';
|
122
|
-
|
123
|
-
delete styles['margin'];
|
124
|
-
|
125
|
-
if (val = getVal('topmargin'))
|
126
|
-
styles['margin-top'] = val + "px";
|
127
|
-
else
|
128
|
-
styles['margin-top'] = '';
|
129
|
-
|
130
|
-
if (val = getVal('rightmargin'))
|
131
|
-
styles['margin-right'] = val + "px";
|
132
|
-
else
|
133
|
-
styles['margin-right'] = '';
|
134
|
-
|
135
|
-
if (val = getVal('bottommargin'))
|
136
|
-
styles['margin-bottom'] = val + "px";
|
137
|
-
else
|
138
|
-
styles['margin-bottom'] = '';
|
139
|
-
|
140
|
-
if (val = getVal('leftmargin'))
|
141
|
-
styles['margin-left'] = val + "px";
|
142
|
-
else
|
143
|
-
styles['margin-left'] = '';
|
144
|
-
|
145
|
-
// Serialize, parse and reserialize this will compress redundant styles
|
146
|
-
setVal('style', dom.serializeStyle(dom.parseStyle(dom.serializeStyle(styles))));
|
147
|
-
this.changedStyle();
|
148
|
-
},
|
149
|
-
|
150
|
-
update : function() {
|
151
|
-
var data = {};
|
152
|
-
|
153
|
-
tinymce.each(tinyMCEPopup.dom.select('select,input,textarea'), function(node) {
|
154
|
-
data[node.id] = getVal(node.id);
|
155
|
-
});
|
156
|
-
|
157
|
-
tinyMCEPopup.editor.plugins.fullpage._dataToHtml(data);
|
158
|
-
tinyMCEPopup.close();
|
159
|
-
}
|
160
|
-
};
|
161
|
-
|
162
|
-
function init() {
|
163
|
-
var form = document.forms[0], i, item, list, editor = tinyMCEPopup.editor;
|
164
|
-
|
165
|
-
// Setup doctype select box
|
166
|
-
list = editor.getParam("fullpage_doctypes", defaultDocTypes).split(',');
|
167
|
-
for (i = 0; i < list.length; i++) {
|
168
|
-
item = list[i].split('=');
|
169
|
-
|
170
|
-
if (item.length > 1)
|
171
|
-
addSelectValue(form, 'doctype', item[0], item[1]);
|
172
|
-
}
|
173
|
-
|
174
|
-
// Setup fonts select box
|
175
|
-
list = editor.getParam("fullpage_fonts", defaultFontNames).split(';');
|
176
|
-
for (i = 0; i < list.length; i++) {
|
177
|
-
item = list[i].split('=');
|
178
|
-
|
179
|
-
if (item.length > 1)
|
180
|
-
addSelectValue(form, 'fontface', item[0], item[1]);
|
181
|
-
}
|
182
|
-
|
183
|
-
// Setup fontsize select box
|
184
|
-
list = editor.getParam("fullpage_fontsizes", defaultFontSizes).split(',');
|
185
|
-
for (i = 0; i < list.length; i++)
|
186
|
-
addSelectValue(form, 'fontsize', list[i], list[i]);
|
187
|
-
|
188
|
-
// Setup encodings select box
|
189
|
-
list = editor.getParam("fullpage_encodings", defaultEncodings).split(',');
|
190
|
-
for (i = 0; i < list.length; i++) {
|
191
|
-
item = list[i].split('=');
|
192
|
-
|
193
|
-
if (item.length > 1)
|
194
|
-
addSelectValue(form, 'docencoding', item[0], item[1]);
|
195
|
-
}
|
196
|
-
|
197
|
-
// Setup color pickers
|
198
|
-
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor');
|
199
|
-
document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color');
|
200
|
-
document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color');
|
201
|
-
document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color');
|
202
|
-
document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor');
|
203
|
-
document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage');
|
204
|
-
document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage');
|
205
|
-
|
206
|
-
// Resize some elements
|
207
|
-
if (isVisible('stylesheetbrowser'))
|
208
|
-
document.getElementById('stylesheet').style.width = '220px';
|
209
|
-
|
210
|
-
if (isVisible('link_href_browser'))
|
211
|
-
document.getElementById('element_link_href').style.width = '230px';
|
212
|
-
|
213
|
-
if (isVisible('bgimage_browser'))
|
214
|
-
document.getElementById('bgimage').style.width = '210px';
|
215
|
-
|
216
|
-
// Update form
|
217
|
-
tinymce.each(tinyMCEPopup.getWindowArg('data'), function(value, key) {
|
218
|
-
setVal(key, value);
|
219
|
-
});
|
220
|
-
|
221
|
-
FullPageDialog.changedStyle();
|
222
|
-
|
223
|
-
// Update colors
|
224
|
-
updateColor('textcolor_pick', 'textcolor');
|
225
|
-
updateColor('bgcolor_pick', 'bgcolor');
|
226
|
-
updateColor('visited_color_pick', 'visited_color');
|
227
|
-
updateColor('active_color_pick', 'active_color');
|
228
|
-
updateColor('link_color_pick', 'link_color');
|
229
|
-
};
|
230
|
-
|
231
|
-
tinyMCEPopup.onInit.add(init);
|
232
|
-
})();
|