From 07704199616228849c17302f21dd5a5a30dbea66 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 26 Jan 2018 14:12:33 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/ckeditor/plugins/scayt/dialogs/dialog.css | 23 ++++++++ html/ckeditor/plugins/scayt/dialogs/options.js | 33 ++++++++++++ html/ckeditor/plugins/scayt/dialogs/toolbar.css | 71 +++++++++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 html/ckeditor/plugins/scayt/dialogs/dialog.css create mode 100644 html/ckeditor/plugins/scayt/dialogs/options.js create mode 100644 html/ckeditor/plugins/scayt/dialogs/toolbar.css (limited to 'html/ckeditor/plugins/scayt/dialogs') diff --git a/html/ckeditor/plugins/scayt/dialogs/dialog.css b/html/ckeditor/plugins/scayt/dialogs/dialog.css new file mode 100644 index 0000000..427c4b4 --- /dev/null +++ b/html/ckeditor/plugins/scayt/dialogs/dialog.css @@ -0,0 +1,23 @@ +div.cke_dialog_ui_scaytItemList { + border: 1px solid #c9cccf; +} + +.cke_scaytItemList-child { + position: relative; + padding: 6px 30px 6px 5px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.cke_scaytItemList-child:hover { + background: #ebebeb; +} + +.cke_scaytItemList-child .cke_scaytItemList_remove { + position: absolute; + top: 0; + right: 5px; + width: 26px; + height: 26px; +} diff --git a/html/ckeditor/plugins/scayt/dialogs/options.js b/html/ckeditor/plugins/scayt/dialogs/options.js new file mode 100644 index 0000000..22f3a58 --- /dev/null +++ b/html/ckeditor/plugins/scayt/dialogs/options.js @@ -0,0 +1,33 @@ +CKEDITOR.dialog.add("scaytDialog",function(c){var d=c.scayt,k='\x3cp\x3e\x3cimg src\x3d"'+d.getLogo()+'" /\x3e\x3c/p\x3e\x3cp\x3e'+d.getLocal("version")+d.getVersion()+"\x3c/p\x3e\x3cp\x3e"+d.getLocal("text_copyrights")+"\x3c/p\x3e",n=CKEDITOR.document,p={isChanged:function(){return null===this.newLang||this.currentLang===this.newLang?!1:!0},currentLang:d.getLang(),newLang:null,reset:function(){this.currentLang=d.getLang();this.newLang=null},id:"lang"},k=[{id:"options",label:d.getLocal("tab_options"), +onShow:function(){},elements:[{type:"vbox",id:"scaytOptions",children:function(){var b=d.getApplicationConfig(),a=[],c={"ignore-all-caps-words":"label_allCaps","ignore-domain-names":"label_ignoreDomainNames","ignore-words-with-mixed-cases":"label_mixedCase","ignore-words-with-numbers":"label_mixedWithDigits"},f;for(f in b)b={type:"checkbox"},b.id=f,b.label=d.getLocal(c[f]),a.push(b);return a}(),onShow:function(){this.getChild();for(var b=c.scayt,a=0;ab[1]?c=1:a[1]