diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-04-03 03:29:32 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-04-03 03:29:32 -0400 |
commit | 50ac423f6e3be7566c1106647158e81b6eaae44a (patch) | |
tree | 5aeddba59f956528ef4e4715940441a1619394c0 /data/stuff/tinymce-4.3.7/plugins/colorpicker | |
parent | fda56e40b460ab06b6abee98ae1bc7d5f5847c9f (diff) | |
download | old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.tar.bz2 old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.zip |
remove tinymce
Diffstat (limited to 'data/stuff/tinymce-4.3.7/plugins/colorpicker')
-rw-r--r-- | data/stuff/tinymce-4.3.7/plugins/colorpicker/plugin.min.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/data/stuff/tinymce-4.3.7/plugins/colorpicker/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/colorpicker/plugin.min.js deleted file mode 100644 index 66ea69c..0000000 --- a/data/stuff/tinymce-4.3.7/plugins/colorpicker/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.PluginManager.add("colorpicker",function(a){function b(b,c){function d(a){var b=new tinymce.util.Color(a),c=b.toRgb();f.fromJSON({r:c.r,g:c.g,b:c.b,hex:b.toHex().substr(1)}),e(b.toHex())}function e(a){f.find("#preview")[0].getEl().style.background=a}var f=a.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:c,onchange:function(){var a=this.rgb();f&&(f.find("#r").value(a.r),f.find("#g").value(a.g),f.find("#b").value(a.b),f.find("#hex").value(this.value().substr(1)),e(this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var a,b,c=f.find("colorpicker")[0];return a=this.name(),b=this.value(),"hex"==a?(b="#"+b,d(b),void c.value(b)):(b={r:f.find("#r").value(),g:f.find("#g").value(),b:f.find("#b").value()},c.value(b),void d(b))}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){b("#"+this.toJSON().hex)}});d(c)}a.settings.color_picker_callback||(a.settings.color_picker_callback=b)});
\ No newline at end of file |