// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define("dojo dijit dojo/_base/lang dijit/_editor/_Plugin dijit/form/Button dojo/_base/declare".split(" "),function(b,d,e,f,g){b.experimental("dojox.editor.plugins.CleanBGColor");var c=b.declare("dojox.editor.plugins.CleanBGColor",f,{useDefaultCommand:!1,_initButton:function(){this.command="cleanBackgroundColor";this.hackCommand="hiliteColor";var a=this.editor;this.button=new g({ownerDocument:a.ownerDocument,dir:a.dir,lang:a.lang,showLabel:!1,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+
"Print",tabIndex:"-1",onClick:e.hitch(this,"_onClick")})},_onClick:function(){this.editor.execCommand(this.hackCommand,"transparent")},updateState:function(){var a=this.editor;a&&a.isLoaded&&(a=this.get("disabled"),this.button&&this.button.set("disabled",a))}});b.subscribe(d._scopeName+".Editor.getPlugin",null,function(a){if(!a.plugin)switch(a.args.name){case "cleanBackgroundColor":a.plugin=new c}});return c});