tinymce-rails 3.4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +57 -0
- data/Rakefile +52 -0
- data/assets/integration/tinymce.jquery.js +3 -0
- data/assets/integration/tinymce.js +2 -0
- data/assets/integration/tinymce.preinit.js.erb +1 -0
- data/assets/vendor/tinymce/jquery.tinymce.js +1 -0
- data/assets/vendor/tinymce/langs/en.js +223 -0
- data/assets/vendor/tinymce/license.txt +504 -0
- data/assets/vendor/tinymce/plugins/advhr/css/advhr.css +5 -0
- data/assets/vendor/tinymce/plugins/advhr/editor_plugin.js +57 -0
- data/assets/vendor/tinymce/plugins/advhr/js/rule.js +43 -0
- data/assets/vendor/tinymce/plugins/advhr/langs/en_dlg.js +7 -0
- data/assets/vendor/tinymce/plugins/advhr/rule.htm +58 -0
- data/assets/vendor/tinymce/plugins/advimage/css/advimage.css +13 -0
- data/assets/vendor/tinymce/plugins/advimage/editor_plugin.js +50 -0
- data/assets/vendor/tinymce/plugins/advimage/image.htm +235 -0
- data/assets/vendor/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/assets/vendor/tinymce/plugins/advimage/js/image.js +458 -0
- data/assets/vendor/tinymce/plugins/advimage/langs/en_dlg.js +45 -0
- data/assets/vendor/tinymce/plugins/advlink/css/advlink.css +8 -0
- data/assets/vendor/tinymce/plugins/advlink/editor_plugin.js +61 -0
- data/assets/vendor/tinymce/plugins/advlink/js/advlink.js +532 -0
- data/assets/vendor/tinymce/plugins/advlink/langs/en_dlg.js +54 -0
- data/assets/vendor/tinymce/plugins/advlink/link.htm +338 -0
- data/assets/vendor/tinymce/plugins/advlist/editor_plugin.js +176 -0
- data/assets/vendor/tinymce/plugins/autolink/editor_plugin.js +172 -0
- data/assets/vendor/tinymce/plugins/autoresize/editor_plugin.js +137 -0
- data/assets/vendor/tinymce/plugins/autosave/editor_plugin.js +431 -0
- data/assets/vendor/tinymce/plugins/autosave/langs/en.js +4 -0
- data/assets/vendor/tinymce/plugins/bbcode/editor_plugin.js +120 -0
- data/assets/vendor/tinymce/plugins/contextmenu/editor_plugin.js +160 -0
- data/assets/vendor/tinymce/plugins/directionality/editor_plugin.js +82 -0
- data/assets/vendor/tinymce/plugins/emotions/editor_plugin.js +43 -0
- data/assets/vendor/tinymce/plugins/emotions/emotions.htm +41 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/assets/vendor/tinymce/plugins/emotions/js/emotions.js +22 -0
- data/assets/vendor/tinymce/plugins/emotions/langs/en_dlg.js +20 -0
- data/assets/vendor/tinymce/plugins/example/dialog.htm +22 -0
- data/assets/vendor/tinymce/plugins/example/editor_plugin.js +84 -0
- data/assets/vendor/tinymce/plugins/example/img/example.gif +0 -0
- data/assets/vendor/tinymce/plugins/example/js/dialog.js +19 -0
- data/assets/vendor/tinymce/plugins/example/langs/en.js +3 -0
- data/assets/vendor/tinymce/plugins/example/langs/en_dlg.js +3 -0
- data/assets/vendor/tinymce/plugins/example_dependency/editor_plugin.js +50 -0
- data/assets/vendor/tinymce/plugins/fullpage/css/fullpage.css +143 -0
- data/assets/vendor/tinymce/plugins/fullpage/editor_plugin.js +399 -0
- data/assets/vendor/tinymce/plugins/fullpage/fullpage.htm +259 -0
- data/assets/vendor/tinymce/plugins/fullpage/js/fullpage.js +232 -0
- data/assets/vendor/tinymce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/assets/vendor/tinymce/plugins/fullscreen/editor_plugin.js +159 -0
- data/assets/vendor/tinymce/plugins/fullscreen/fullscreen.htm +109 -0
- data/assets/vendor/tinymce/plugins/iespell/editor_plugin.js +54 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/editor_plugin.js +696 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/assets/vendor/tinymce/plugins/inlinepopups/template.htm +387 -0
- data/assets/vendor/tinymce/plugins/insertdatetime/editor_plugin.js +83 -0
- data/assets/vendor/tinymce/plugins/layer/editor_plugin.js +214 -0
- data/assets/vendor/tinymce/plugins/legacyoutput/editor_plugin.js +139 -0
- data/assets/vendor/tinymce/plugins/lists/editor_plugin.js +688 -0
- data/assets/vendor/tinymce/plugins/media/css/media.css +17 -0
- data/assets/vendor/tinymce/plugins/media/editor_plugin.js +777 -0
- data/assets/vendor/tinymce/plugins/media/js/embed.js +73 -0
- data/assets/vendor/tinymce/plugins/media/js/media.js +355 -0
- data/assets/vendor/tinymce/plugins/media/langs/en_dlg.js +109 -0
- data/assets/vendor/tinymce/plugins/media/media.htm +812 -0
- data/assets/vendor/tinymce/plugins/media/moxieplayer.swf +0 -0
- data/assets/vendor/tinymce/plugins/nonbreaking/editor_plugin.js +53 -0
- data/assets/vendor/tinymce/plugins/noneditable/editor_plugin.js +95 -0
- data/assets/vendor/tinymce/plugins/pagebreak/editor_plugin.js +74 -0
- data/assets/vendor/tinymce/plugins/paste/editor_plugin.js +942 -0
- data/assets/vendor/tinymce/plugins/paste/js/pastetext.js +36 -0
- data/assets/vendor/tinymce/plugins/paste/js/pasteword.js +51 -0
- data/assets/vendor/tinymce/plugins/paste/langs/en_dlg.js +5 -0
- data/assets/vendor/tinymce/plugins/paste/pastetext.htm +27 -0
- data/assets/vendor/tinymce/plugins/paste/pasteword.htm +21 -0
- data/assets/vendor/tinymce/plugins/preview/editor_plugin.js +53 -0
- data/assets/vendor/tinymce/plugins/preview/example.html +28 -0
- data/assets/vendor/tinymce/plugins/preview/jscripts/embed.js +73 -0
- data/assets/vendor/tinymce/plugins/preview/preview.html +17 -0
- data/assets/vendor/tinymce/plugins/print/editor_plugin.js +34 -0
- data/assets/vendor/tinymce/plugins/save/editor_plugin.js +101 -0
- data/assets/vendor/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/assets/vendor/tinymce/plugins/searchreplace/editor_plugin.js +61 -0
- data/assets/vendor/tinymce/plugins/searchreplace/js/searchreplace.js +142 -0
- data/assets/vendor/tinymce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/assets/vendor/tinymce/plugins/searchreplace/searchreplace.htm +100 -0
- data/assets/vendor/tinymce/plugins/spellchecker/css/content.css +1 -0
- data/assets/vendor/tinymce/plugins/spellchecker/editor_plugin.js +434 -0
- data/assets/vendor/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/assets/vendor/tinymce/plugins/style/css/props.css +13 -0
- data/assets/vendor/tinymce/plugins/style/editor_plugin.js +55 -0
- data/assets/vendor/tinymce/plugins/style/js/props.js +635 -0
- data/assets/vendor/tinymce/plugins/style/langs/en_dlg.js +70 -0
- data/assets/vendor/tinymce/plugins/style/props.htm +838 -0
- data/assets/vendor/tinymce/plugins/tabfocus/editor_plugin.js +114 -0
- data/assets/vendor/tinymce/plugins/table/cell.htm +180 -0
- data/assets/vendor/tinymce/plugins/table/css/cell.css +17 -0
- data/assets/vendor/tinymce/plugins/table/css/row.css +25 -0
- data/assets/vendor/tinymce/plugins/table/css/table.css +13 -0
- data/assets/vendor/tinymce/plugins/table/editor_plugin.js +1263 -0
- data/assets/vendor/tinymce/plugins/table/js/cell.js +319 -0
- data/assets/vendor/tinymce/plugins/table/js/merge_cells.js +27 -0
- data/assets/vendor/tinymce/plugins/table/js/row.js +237 -0
- data/assets/vendor/tinymce/plugins/table/js/table.js +450 -0
- data/assets/vendor/tinymce/plugins/table/langs/en_dlg.js +75 -0
- data/assets/vendor/tinymce/plugins/table/merge_cells.htm +32 -0
- data/assets/vendor/tinymce/plugins/table/row.htm +158 -0
- data/assets/vendor/tinymce/plugins/table/table.htm +188 -0
- data/assets/vendor/tinymce/plugins/template/blank.htm +12 -0
- data/assets/vendor/tinymce/plugins/template/css/template.css +23 -0
- data/assets/vendor/tinymce/plugins/template/editor_plugin.js +159 -0
- data/assets/vendor/tinymce/plugins/template/js/template.js +106 -0
- data/assets/vendor/tinymce/plugins/template/langs/en_dlg.js +15 -0
- data/assets/vendor/tinymce/plugins/template/template.htm +31 -0
- data/assets/vendor/tinymce/plugins/visualchars/editor_plugin.js +83 -0
- data/assets/vendor/tinymce/plugins/wordcount/editor_plugin.js +114 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/abbr.htm +142 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/acronym.htm +142 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/attributes.htm +149 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/cite.htm +142 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/del.htm +162 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/editor_plugin.js +132 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/ins.htm +162 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/attributes.js +111 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/element_common.js +229 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/js/ins.js +53 -0
- data/assets/vendor/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/assets/vendor/tinymce/themes/advanced/about.htm +52 -0
- data/assets/vendor/tinymce/themes/advanced/anchor.htm +26 -0
- data/assets/vendor/tinymce/themes/advanced/charmap.htm +51 -0
- data/assets/vendor/tinymce/themes/advanced/color_picker.htm +74 -0
- data/assets/vendor/tinymce/themes/advanced/editor_template.js +1358 -0
- data/assets/vendor/tinymce/themes/advanced/image.htm +80 -0
- data/assets/vendor/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/flash.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/icons.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/trans.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/video.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/js/about.js +73 -0
- data/assets/vendor/tinymce/themes/advanced/js/anchor.js +42 -0
- data/assets/vendor/tinymce/themes/advanced/js/charmap.js +355 -0
- data/assets/vendor/tinymce/themes/advanced/js/color_picker.js +329 -0
- data/assets/vendor/tinymce/themes/advanced/js/image.js +247 -0
- data/assets/vendor/tinymce/themes/advanced/js/link.js +153 -0
- data/assets/vendor/tinymce/themes/advanced/js/source_editor.js +56 -0
- data/assets/vendor/tinymce/themes/advanced/langs/en.js +68 -0
- data/assets/vendor/tinymce/themes/advanced/langs/en_dlg.js +54 -0
- data/assets/vendor/tinymce/themes/advanced/link.htm +57 -0
- data/assets/vendor/tinymce/themes/advanced/shortcuts.htm +47 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/content.css +47 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/dialog.css +117 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/default/ui.css +214 -0
- data/assets/vendor/tinymce/themes/advanced/skins/highcontrast/content.css +23 -0
- data/assets/vendor/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
- data/assets/vendor/tinymce/themes/advanced/skins/highcontrast/ui.css +102 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/content.css +46 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/dialog.css +117 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/ui.css +217 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/assets/vendor/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/assets/vendor/tinymce/themes/advanced/source_editor.htm +25 -0
- data/assets/vendor/tinymce/themes/simple/editor_template.js +84 -0
- data/assets/vendor/tinymce/themes/simple/img/icons.gif +0 -0
- data/assets/vendor/tinymce/themes/simple/langs/en.js +11 -0
- data/assets/vendor/tinymce/themes/simple/skins/default/content.css +25 -0
- data/assets/vendor/tinymce/themes/simple/skins/default/ui.css +32 -0
- data/assets/vendor/tinymce/themes/simple/skins/o2k7/content.css +17 -0
- data/assets/vendor/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/assets/vendor/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
- data/assets/vendor/tinymce/tiny_mce.js +15338 -0
- data/assets/vendor/tinymce/tiny_mce_popup.js +5 -0
- data/assets/vendor/tinymce/utils/editable_selects.js +70 -0
- data/assets/vendor/tinymce/utils/form_utils.js +210 -0
- data/assets/vendor/tinymce/utils/mctabs.js +162 -0
- data/assets/vendor/tinymce/utils/validate.js +252 -0
- data/lib/tinymce-rails.rb +2 -0
- data/lib/tinymce/railtie.rb +17 -0
- data/lib/tinymce/version.rb +3 -0
- metadata +300 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
// Uncomment and change this document.domain value if you are loading the script cross subdomains
|
|
3
|
+
// document.domain = 'moxiecode.com';
|
|
4
|
+
|
|
5
|
+
var tinymce=null,tinyMCEPopup,tinyMCE;tinyMCEPopup={init:function(){var b=this,a,c;a=b.getWin();tinymce=a.tinymce;tinyMCE=a.tinyMCE;b.editor=tinymce.EditorManager.activeEditor;b.params=b.editor.windowManager.params;b.features=b.editor.windowManager.features;b.dom=b.editor.windowManager.createInstance("tinymce.dom.DOMUtils",document);if(b.features.popup_css!==false){b.dom.loadCSS(b.features.popup_css||b.editor.settings.popup_css)}b.listeners=[];b.onInit={add:function(e,d){b.listeners.push({func:e,scope:d})}};b.isWindow=!b.getWindowArg("mce_inline");b.id=b.getWindowArg("mce_window_id");b.editor.windowManager.onOpen.dispatch(b.editor.windowManager,window)},getWin:function(){return(!window.frameElement&&window.dialogArguments)||opener||parent||top},getWindowArg:function(c,b){var a=this.params[c];return tinymce.is(a)?a:b},getParam:function(b,a){return this.editor.getParam(b,a)},getLang:function(b,a){return this.editor.getLang(b,a)},execCommand:function(d,c,e,b){b=b||{};b.skip_focus=1;this.restoreSelection();return this.editor.execCommand(d,c,e,b)},resizeToInnerSize:function(){var a=this;setTimeout(function(){var b=a.dom.getViewPort(window);a.editor.windowManager.resizeBy(a.getWindowArg("mce_width")-b.w,a.getWindowArg("mce_height")-b.h,a.id||window)},10)},executeOnLoad:function(s){this.onInit.add(function(){eval(s)})},storeSelection:function(){this.editor.windowManager.bookmark=tinyMCEPopup.editor.selection.getBookmark(1)},restoreSelection:function(){var a=tinyMCEPopup;if(!a.isWindow&&tinymce.isIE){a.editor.selection.moveToBookmark(a.editor.windowManager.bookmark)}},requireLangPack:function(){var b=this,a=b.getWindowArg("plugin_url")||b.getWindowArg("theme_url");if(a&&b.editor.settings.language&&b.features.translate_i18n!==false&&b.editor.settings.language_load!==false){a+="/langs/"+b.editor.settings.language+"_dlg.js";if(!tinymce.ScriptLoader.isDone(a)){document.write('<script type="text/javascript" src="'+tinymce._addVer(a)+'"><\/script>');tinymce.ScriptLoader.markDone(a)}}},pickColor:function(b,a){this.execCommand("mceColorPicker",true,{color:document.getElementById(a).value,func:function(e){document.getElementById(a).value=e;try{document.getElementById(a).onchange()}catch(d){}}})},openBrowser:function(a,c,b){tinyMCEPopup.restoreSelection();this.editor.execCallback("file_browser_callback",a,document.getElementById(a).value,c,window)},confirm:function(b,a,c){this.editor.windowManager.confirm(b,a,c,window)},alert:function(b,a,c){this.editor.windowManager.alert(b,a,c,window)},close:function(){var a=this;function b(){a.editor.windowManager.close(window);tinymce=tinyMCE=a.editor=a.params=a.dom=a.dom.doc=null}if(tinymce.isOpera){a.getWin().setTimeout(b,0)}else{b()}},_restoreSelection:function(){var a=window.event.srcElement;if(a.nodeName=="INPUT"&&(a.type=="submit"||a.type=="button")){tinyMCEPopup.restoreSelection()}},_onDOMLoaded:function(){var b=tinyMCEPopup,d=document.title,e,c,a;if(b.domLoaded){return}b.domLoaded=1;if(b.features.translate_i18n!==false){c=document.body.innerHTML;if(tinymce.isIE){c=c.replace(/ (value|title|alt)=([^"][^\s>]+)/gi,' $1="$2"')}document.dir=b.editor.getParam("directionality","");if((a=b.editor.translate(c))&&a!=c){document.body.innerHTML=a}if((a=b.editor.translate(d))&&a!=d){document.title=d=a}}if(!b.editor.getParam("browser_preferred_colors",false)||!b.isWindow){b.dom.addClass(document.body,"forceColors")}document.body.style.display="";if(tinymce.isIE){document.attachEvent("onmouseup",tinyMCEPopup._restoreSelection);b.dom.add(b.dom.select("head")[0],"base",{target:"_self"})}b.restoreSelection();b.resizeToInnerSize();if(!b.isWindow){b.editor.windowManager.setTitle(window,d)}else{window.focus()}if(!tinymce.isIE&&!b.isWindow){tinymce.dom.Event._add(document,"focus",function(){b.editor.windowManager.focus(b.id)})}tinymce.each(b.dom.select("select"),function(f){f.onkeydown=tinyMCEPopup._accessHandler});tinymce.each(b.listeners,function(f){f.func.call(f.scope,b.editor)});if(b.getWindowArg("mce_auto_focus",true)){window.focus();tinymce.each(document.forms,function(g){tinymce.each(g.elements,function(f){if(b.dom.hasClass(f,"mceFocus")&&!f.disabled){f.focus();return false}})})}document.onkeyup=tinyMCEPopup._closeWinKeyHandler},_accessHandler:function(a){a=a||window.event;if(a.keyCode==13||a.keyCode==32){a=a.target||a.srcElement;if(a.onchange){a.onchange()}return tinymce.dom.Event.cancel(a)}},_closeWinKeyHandler:function(a){a=a||window.event;if(a.keyCode==27){tinyMCEPopup.close()}},_wait:function(){if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);tinyMCEPopup._onDOMLoaded()}});if(document.documentElement.doScroll&&window==window.top){(function(){if(tinyMCEPopup.domLoaded){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}tinyMCEPopup._onDOMLoaded()})()}document.attachEvent("onload",tinyMCEPopup._onDOMLoaded)}else{if(document.addEventListener){window.addEventListener("DOMContentLoaded",tinyMCEPopup._onDOMLoaded,false);window.addEventListener("load",tinyMCEPopup._onDOMLoaded,false)}}}};tinyMCEPopup.init();tinyMCEPopup._wait();
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* editable_selects.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
|
+
var TinyMCE_EditableSelects = {
|
|
12
|
+
editSelectElm : null,
|
|
13
|
+
|
|
14
|
+
init : function() {
|
|
15
|
+
var nl = document.getElementsByTagName("select"), i, d = document, o;
|
|
16
|
+
|
|
17
|
+
for (i=0; i<nl.length; i++) {
|
|
18
|
+
if (nl[i].className.indexOf('mceEditableSelect') != -1) {
|
|
19
|
+
o = new Option('(value)', '__mce_add_custom__');
|
|
20
|
+
|
|
21
|
+
o.className = 'mceAddSelectValue';
|
|
22
|
+
|
|
23
|
+
nl[i].options[nl[i].options.length] = o;
|
|
24
|
+
nl[i].onchange = TinyMCE_EditableSelects.onChangeEditableSelect;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
onChangeEditableSelect : function(e) {
|
|
30
|
+
var d = document, ne, se = window.event ? window.event.srcElement : e.target;
|
|
31
|
+
|
|
32
|
+
if (se.options[se.selectedIndex].value == '__mce_add_custom__') {
|
|
33
|
+
ne = d.createElement("input");
|
|
34
|
+
ne.id = se.id + "_custom";
|
|
35
|
+
ne.name = se.name + "_custom";
|
|
36
|
+
ne.type = "text";
|
|
37
|
+
|
|
38
|
+
ne.style.width = se.offsetWidth + 'px';
|
|
39
|
+
se.parentNode.insertBefore(ne, se);
|
|
40
|
+
se.style.display = 'none';
|
|
41
|
+
ne.focus();
|
|
42
|
+
ne.onblur = TinyMCE_EditableSelects.onBlurEditableSelectInput;
|
|
43
|
+
ne.onkeydown = TinyMCE_EditableSelects.onKeyDown;
|
|
44
|
+
TinyMCE_EditableSelects.editSelectElm = se;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
onBlurEditableSelectInput : function() {
|
|
49
|
+
var se = TinyMCE_EditableSelects.editSelectElm;
|
|
50
|
+
|
|
51
|
+
if (se) {
|
|
52
|
+
if (se.previousSibling.value != '') {
|
|
53
|
+
addSelectValue(document.forms[0], se.id, se.previousSibling.value, se.previousSibling.value);
|
|
54
|
+
selectByValue(document.forms[0], se.id, se.previousSibling.value);
|
|
55
|
+
} else
|
|
56
|
+
selectByValue(document.forms[0], se.id, '');
|
|
57
|
+
|
|
58
|
+
se.style.display = 'inline';
|
|
59
|
+
se.parentNode.removeChild(se.previousSibling);
|
|
60
|
+
TinyMCE_EditableSelects.editSelectElm = null;
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
onKeyDown : function(e) {
|
|
65
|
+
e = e || window.event;
|
|
66
|
+
|
|
67
|
+
if (e.keyCode == 13)
|
|
68
|
+
TinyMCE_EditableSelects.onBlurEditableSelectInput();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* form_utils.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
|
+
var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme"));
|
|
12
|
+
|
|
13
|
+
function getColorPickerHTML(id, target_form_element) {
|
|
14
|
+
var h = "", dom = tinyMCEPopup.dom;
|
|
15
|
+
|
|
16
|
+
if (label = dom.select('label[for=' + target_form_element + ']')[0]) {
|
|
17
|
+
label.id = label.id || dom.uniqueId();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
h += '<a role="button" aria-labelledby="' + id + '_label" id="' + id + '_link" href="javascript:;" onclick="tinyMCEPopup.pickColor(event,\'' + target_form_element +'\');" onmousedown="return false;" class="pickcolor">';
|
|
21
|
+
h += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> <span id="' + id + '_label" class="mceVoiceLabel mceIconOnly" style="display:none;">' + tinyMCEPopup.getLang('browse') + '</span></span></a>';
|
|
22
|
+
|
|
23
|
+
return h;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function updateColor(img_id, form_element_id) {
|
|
27
|
+
document.getElementById(img_id).style.backgroundColor = document.forms[0].elements[form_element_id].value;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function setBrowserDisabled(id, state) {
|
|
31
|
+
var img = document.getElementById(id);
|
|
32
|
+
var lnk = document.getElementById(id + "_link");
|
|
33
|
+
|
|
34
|
+
if (lnk) {
|
|
35
|
+
if (state) {
|
|
36
|
+
lnk.setAttribute("realhref", lnk.getAttribute("href"));
|
|
37
|
+
lnk.removeAttribute("href");
|
|
38
|
+
tinyMCEPopup.dom.addClass(img, 'disabled');
|
|
39
|
+
} else {
|
|
40
|
+
if (lnk.getAttribute("realhref"))
|
|
41
|
+
lnk.setAttribute("href", lnk.getAttribute("realhref"));
|
|
42
|
+
|
|
43
|
+
tinyMCEPopup.dom.removeClass(img, 'disabled');
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function getBrowserHTML(id, target_form_element, type, prefix) {
|
|
49
|
+
var option = prefix + "_" + type + "_browser_callback", cb, html;
|
|
50
|
+
|
|
51
|
+
cb = tinyMCEPopup.getParam(option, tinyMCEPopup.getParam("file_browser_callback"));
|
|
52
|
+
|
|
53
|
+
if (!cb)
|
|
54
|
+
return "";
|
|
55
|
+
|
|
56
|
+
html = "";
|
|
57
|
+
html += '<a id="' + id + '_link" href="javascript:openBrowser(\'' + id + '\',\'' + target_form_element + '\', \'' + type + '\',\'' + option + '\');" onmousedown="return false;" class="browse">';
|
|
58
|
+
html += '<span id="' + id + '" title="' + tinyMCEPopup.getLang('browse') + '"> </span></a>';
|
|
59
|
+
|
|
60
|
+
return html;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function openBrowser(img_id, target_form_element, type, option) {
|
|
64
|
+
var img = document.getElementById(img_id);
|
|
65
|
+
|
|
66
|
+
if (img.className != "mceButtonDisabled")
|
|
67
|
+
tinyMCEPopup.openBrowser(target_form_element, type, option);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
|
|
71
|
+
if (!form_obj || !form_obj.elements[field_name])
|
|
72
|
+
return;
|
|
73
|
+
|
|
74
|
+
if (!value)
|
|
75
|
+
value = "";
|
|
76
|
+
|
|
77
|
+
var sel = form_obj.elements[field_name];
|
|
78
|
+
|
|
79
|
+
var found = false;
|
|
80
|
+
for (var i=0; i<sel.options.length; i++) {
|
|
81
|
+
var option = sel.options[i];
|
|
82
|
+
|
|
83
|
+
if (option.value == value || (ignore_case && option.value.toLowerCase() == value.toLowerCase())) {
|
|
84
|
+
option.selected = true;
|
|
85
|
+
found = true;
|
|
86
|
+
} else
|
|
87
|
+
option.selected = false;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (!found && add_custom && value != '') {
|
|
91
|
+
var option = new Option(value, value);
|
|
92
|
+
option.selected = true;
|
|
93
|
+
sel.options[sel.options.length] = option;
|
|
94
|
+
sel.selectedIndex = sel.options.length - 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return found;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function getSelectValue(form_obj, field_name) {
|
|
101
|
+
var elm = form_obj.elements[field_name];
|
|
102
|
+
|
|
103
|
+
if (elm == null || elm.options == null || elm.selectedIndex === -1)
|
|
104
|
+
return "";
|
|
105
|
+
|
|
106
|
+
return elm.options[elm.selectedIndex].value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function addSelectValue(form_obj, field_name, name, value) {
|
|
110
|
+
var s = form_obj.elements[field_name];
|
|
111
|
+
var o = new Option(name, value);
|
|
112
|
+
s.options[s.options.length] = o;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function addClassesToList(list_id, specific_option) {
|
|
116
|
+
// Setup class droplist
|
|
117
|
+
var styleSelectElm = document.getElementById(list_id);
|
|
118
|
+
var styles = tinyMCEPopup.getParam('theme_advanced_styles', false);
|
|
119
|
+
styles = tinyMCEPopup.getParam(specific_option, styles);
|
|
120
|
+
|
|
121
|
+
if (styles) {
|
|
122
|
+
var stylesAr = styles.split(';');
|
|
123
|
+
|
|
124
|
+
for (var i=0; i<stylesAr.length; i++) {
|
|
125
|
+
if (stylesAr != "") {
|
|
126
|
+
var key, value;
|
|
127
|
+
|
|
128
|
+
key = stylesAr[i].split('=')[0];
|
|
129
|
+
value = stylesAr[i].split('=')[1];
|
|
130
|
+
|
|
131
|
+
styleSelectElm.options[styleSelectElm.length] = new Option(key, value);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
} else {
|
|
135
|
+
tinymce.each(tinyMCEPopup.editor.dom.getClasses(), function(o) {
|
|
136
|
+
styleSelectElm.options[styleSelectElm.length] = new Option(o.title || o['class'], o['class']);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function isVisible(element_id) {
|
|
142
|
+
var elm = document.getElementById(element_id);
|
|
143
|
+
|
|
144
|
+
return elm && elm.style.display != "none";
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function convertRGBToHex(col) {
|
|
148
|
+
var re = new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)", "gi");
|
|
149
|
+
|
|
150
|
+
var rgb = col.replace(re, "$1,$2,$3").split(',');
|
|
151
|
+
if (rgb.length == 3) {
|
|
152
|
+
r = parseInt(rgb[0]).toString(16);
|
|
153
|
+
g = parseInt(rgb[1]).toString(16);
|
|
154
|
+
b = parseInt(rgb[2]).toString(16);
|
|
155
|
+
|
|
156
|
+
r = r.length == 1 ? '0' + r : r;
|
|
157
|
+
g = g.length == 1 ? '0' + g : g;
|
|
158
|
+
b = b.length == 1 ? '0' + b : b;
|
|
159
|
+
|
|
160
|
+
return "#" + r + g + b;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
return col;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
function convertHexToRGB(col) {
|
|
167
|
+
if (col.indexOf('#') != -1) {
|
|
168
|
+
col = col.replace(new RegExp('[^0-9A-F]', 'gi'), '');
|
|
169
|
+
|
|
170
|
+
r = parseInt(col.substring(0, 2), 16);
|
|
171
|
+
g = parseInt(col.substring(2, 4), 16);
|
|
172
|
+
b = parseInt(col.substring(4, 6), 16);
|
|
173
|
+
|
|
174
|
+
return "rgb(" + r + "," + g + "," + b + ")";
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
return col;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function trimSize(size) {
|
|
181
|
+
return size.replace(/([0-9\.]+)(px|%|in|cm|mm|em|ex|pt|pc)/i, '$1$2');
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
function getCSSSize(size) {
|
|
185
|
+
size = trimSize(size);
|
|
186
|
+
|
|
187
|
+
if (size == "")
|
|
188
|
+
return "";
|
|
189
|
+
|
|
190
|
+
// Add px
|
|
191
|
+
if (/^[0-9]+$/.test(size))
|
|
192
|
+
size += 'px';
|
|
193
|
+
// Sanity check, IE doesn't like broken values
|
|
194
|
+
else if (!(/^[0-9\.]+(px|%|in|cm|mm|em|ex|pt|pc)$/i.test(size)))
|
|
195
|
+
return "";
|
|
196
|
+
|
|
197
|
+
return size;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
function getStyle(elm, attrib, style) {
|
|
201
|
+
var val = tinyMCEPopup.dom.getAttrib(elm, attrib);
|
|
202
|
+
|
|
203
|
+
if (val != '')
|
|
204
|
+
return '' + val;
|
|
205
|
+
|
|
206
|
+
if (typeof(style) == 'undefined')
|
|
207
|
+
style = attrib;
|
|
208
|
+
|
|
209
|
+
return tinyMCEPopup.dom.getStyle(elm, style);
|
|
210
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mctabs.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 MCTabs() {
|
|
12
|
+
this.settings = [];
|
|
13
|
+
this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.util.Dispatcher');
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
MCTabs.prototype.init = function(settings) {
|
|
17
|
+
this.settings = settings;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
MCTabs.prototype.getParam = function(name, default_value) {
|
|
21
|
+
var value = null;
|
|
22
|
+
|
|
23
|
+
value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
|
|
24
|
+
|
|
25
|
+
// Fix bool values
|
|
26
|
+
if (value == "true" || value == "false")
|
|
27
|
+
return (value == "true");
|
|
28
|
+
|
|
29
|
+
return value;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
MCTabs.prototype.showTab =function(tab){
|
|
33
|
+
tab.className = 'current';
|
|
34
|
+
tab.setAttribute("aria-selected", true);
|
|
35
|
+
tab.setAttribute("aria-expanded", true);
|
|
36
|
+
tab.tabIndex = 0;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
MCTabs.prototype.hideTab =function(tab){
|
|
40
|
+
var t=this;
|
|
41
|
+
|
|
42
|
+
tab.className = '';
|
|
43
|
+
tab.setAttribute("aria-selected", false);
|
|
44
|
+
tab.setAttribute("aria-expanded", false);
|
|
45
|
+
tab.tabIndex = -1;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
MCTabs.prototype.showPanel = function(panel) {
|
|
49
|
+
panel.className = 'current';
|
|
50
|
+
panel.setAttribute("aria-hidden", false);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
MCTabs.prototype.hidePanel = function(panel) {
|
|
54
|
+
panel.className = 'panel';
|
|
55
|
+
panel.setAttribute("aria-hidden", true);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
MCTabs.prototype.getPanelForTab = function(tabElm) {
|
|
59
|
+
return tinyMCEPopup.dom.getAttrib(tabElm, "aria-controls");
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
MCTabs.prototype.displayTab = function(tab_id, panel_id, avoid_focus) {
|
|
63
|
+
var panelElm, panelContainerElm, tabElm, tabContainerElm, selectionClass, nodes, i, t = this;
|
|
64
|
+
|
|
65
|
+
tabElm = document.getElementById(tab_id);
|
|
66
|
+
|
|
67
|
+
if (panel_id === undefined) {
|
|
68
|
+
panel_id = t.getPanelForTab(tabElm);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
panelElm= document.getElementById(panel_id);
|
|
72
|
+
panelContainerElm = panelElm ? panelElm.parentNode : null;
|
|
73
|
+
tabContainerElm = tabElm ? tabElm.parentNode : null;
|
|
74
|
+
selectionClass = t.getParam('selection_class', 'current');
|
|
75
|
+
|
|
76
|
+
if (tabElm && tabContainerElm) {
|
|
77
|
+
nodes = tabContainerElm.childNodes;
|
|
78
|
+
|
|
79
|
+
// Hide all other tabs
|
|
80
|
+
for (i = 0; i < nodes.length; i++) {
|
|
81
|
+
if (nodes[i].nodeName == "LI") {
|
|
82
|
+
t.hideTab(nodes[i]);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// Show selected tab
|
|
87
|
+
t.showTab(tabElm);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
if (panelElm && panelContainerElm) {
|
|
91
|
+
nodes = panelContainerElm.childNodes;
|
|
92
|
+
|
|
93
|
+
// Hide all other panels
|
|
94
|
+
for (i = 0; i < nodes.length; i++) {
|
|
95
|
+
if (nodes[i].nodeName == "DIV")
|
|
96
|
+
t.hidePanel(nodes[i]);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (!avoid_focus) {
|
|
100
|
+
tabElm.focus();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Show selected panel
|
|
104
|
+
t.showPanel(panelElm);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
MCTabs.prototype.getAnchor = function() {
|
|
109
|
+
var pos, url = document.location.href;
|
|
110
|
+
|
|
111
|
+
if ((pos = url.lastIndexOf('#')) != -1)
|
|
112
|
+
return url.substring(pos + 1);
|
|
113
|
+
|
|
114
|
+
return "";
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
//Global instance
|
|
119
|
+
var mcTabs = new MCTabs();
|
|
120
|
+
|
|
121
|
+
tinyMCEPopup.onInit.add(function() {
|
|
122
|
+
var tinymce = tinyMCEPopup.getWin().tinymce, dom = tinyMCEPopup.dom, each = tinymce.each;
|
|
123
|
+
|
|
124
|
+
each(dom.select('div.tabs'), function(tabContainerElm) {
|
|
125
|
+
var keyNav;
|
|
126
|
+
|
|
127
|
+
dom.setAttrib(tabContainerElm, "role", "tablist");
|
|
128
|
+
|
|
129
|
+
var items = tinyMCEPopup.dom.select('li', tabContainerElm);
|
|
130
|
+
var action = function(id) {
|
|
131
|
+
mcTabs.displayTab(id, mcTabs.getPanelForTab(id));
|
|
132
|
+
mcTabs.onChange.dispatch(id);
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
each(items, function(item) {
|
|
136
|
+
dom.setAttrib(item, 'role', 'tab');
|
|
137
|
+
dom.bind(item, 'click', function(evt) {
|
|
138
|
+
action(item.id);
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
dom.bind(dom.getRoot(), 'keydown', function(evt) {
|
|
143
|
+
if (evt.keyCode === 9 && evt.ctrlKey && !evt.altKey) { // Tab
|
|
144
|
+
keyNav.moveFocus(evt.shiftKey ? -1 : 1);
|
|
145
|
+
tinymce.dom.Event.cancel(evt);
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
each(dom.select('a', tabContainerElm), function(a) {
|
|
150
|
+
dom.setAttrib(a, 'tabindex', '-1');
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
keyNav = tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', {
|
|
154
|
+
root: tabContainerElm,
|
|
155
|
+
items: items,
|
|
156
|
+
onAction: action,
|
|
157
|
+
actOnFocus: true,
|
|
158
|
+
enableLeftRight: true,
|
|
159
|
+
enableUpDown: true
|
|
160
|
+
}, tinyMCEPopup.dom);
|
|
161
|
+
});
|
|
162
|
+
});
|