JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.0.1
[ckeditor.git] / _source / plugins / colordialog / plugin.js
diff --git a/_source/plugins/colordialog/plugin.js b/_source/plugins/colordialog/plugin.js
new file mode 100644 (file)
index 0000000..7006d68
--- /dev/null
@@ -0,0 +1,13 @@
+( function()\r
+{\r
+       CKEDITOR.plugins.colordialog =\r
+       {\r
+               init : function( editor )\r
+               {\r
+                       editor.addCommand( 'colordialog', new CKEDITOR.dialogCommand( 'colordialog' ) );\r
+                       CKEDITOR.dialog.add( 'colordialog', this.path + 'dialogs/colordialog.js' );\r
+               }\r
+       };\r
+\r
+       CKEDITOR.plugins.add( 'colordialog', CKEDITOR.plugins.colordialog );\r
+} )();\r