From 689ee9c7ea48c2e3de8790dcaae4500207567508 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 03:56:46 -0400 Subject: add ckeditor --- .../plugins/scayt/dialogs/options.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js (limited to 'data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js') diff --git a/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js new file mode 100644 index 0000000..12dbfd1 --- /dev/null +++ b/data/stuff/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js @@ -0,0 +1,19 @@ +CKEDITOR.dialog.add("scaytDialog",function(c){var f=c.scayt,q='\x3cp\x3e\x3cimg src\x3d"'+f.getLogo()+'" /\x3e\x3c/p\x3e\x3cp\x3e'+f.getLocal("version")+f.getVersion()+"\x3c/p\x3e\x3cp\x3e"+f.getLocal("text_copyrights")+"\x3c/p\x3e",r=CKEDITOR.document,n={isChanged:function(){return null===this.newLang||this.currentLang===this.newLang?!1:!0},currentLang:f.getLang(),newLang:null,reset:function(){this.currentLang=f.getLang();this.newLang=null},id:"lang"},q=[{id:"options",label:f.getLocal("tab_options"), +onShow:function(){},elements:[{type:"vbox",id:"scaytOptions",children:function(){var a=f.getApplicationConfig(),b=[],g={"ignore-all-caps-words":"label_allCaps","ignore-domain-names":"label_ignoreDomainNames","ignore-words-with-mixed-cases":"label_mixedCase","ignore-words-with-numbers":"label_mixedWithDigits"},e;for(e in a)a={type:"checkbox"},a.id=e,a.label=f.getLocal(g[e]),b.push(a);return b}(),onShow:function(){this.getChild();for(var a=c.scayt,b=0;bb[1]?c=1:a[1]