text: (function(){var b=tinymce.dom.Event;tinymce.create("tinymce.plugins.NonEditablePlugin",{init:function(k,j){var i=this,l,a,h;i.editor=k;l=k.getParam("noneditable_editable_class","mceEditable");a=k.getParam("noneditable_noneditable_class","mceNonEditable");k.onNodeChange.addToTop(function(f,g,c){var d,e;d=f.dom.getParent(f.selection.getStart(),function(n){return f.dom.hasClass(n,a)});e=f.dom.getParent(f.selection.getEnd(),function(n){return f.dom.hasClass(n,a)});if(d||e){h=1;i._setDisabled(1);return false}else{if(h==1){i._setDisabled(0);h=0}}})},getInfo:function(){return{longname:"Non editable elements",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/noneditable",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_block:function(f,e){var a=e.keyCode;if((a>32&&a<41)||(a>111&&a<124)){return}return b.cancel(e)},_setDisabled:function(e){var f=this,a=f.editor;tinymce.each(a.controlManager.controls,function(c){c.setDisabled(e)});if(e!==f.disabled){if(e){a.onKeyDown.addToTop(f._block);a.onKeyPress.addToTop(f._block);a.onKeyUp.addToTop(f._block);a.onPaste.addToTop(f._block);a.onContextMenu.addToTop(f._block)}else{a.onKeyDown.remove(f._block);a.onKeyPress.remove(f._block);a.onKeyUp.remove(f._block);a.onPaste.remove(f._block);a.onContextMenu.remove(f._block)}f.disabled=e}}});tinymce.PluginManager.add("noneditable",tinymce.plugins.NonEditablePlugin)})();