//>>built
define("dijit/_editor/plugins/NewPage","dojo/_base/declare dojo/i18n dojo/_base/lang ../_Plugin ../../form/Button dojo/i18n!../nls/commands".split(" "),function(e,f,g,b,h){var d=e("dijit._editor.plugins.NewPage",b,{content:"\x3cbr\x3e",_initButton:function(){var a=f.getLocalization("dijit._editor","commands"),c=this.editor;this.button=new h({label:a.newPage,ownerDocument:c.ownerDocument,dir:c.dir,lang:c.lang,showLabel:!1,iconClass:this.iconClassPrefix+" "+this.iconClassPrefix+"NewPage",tabIndex:"-1",
onClick:g.hitch(this,"_newPage")})},setEditor:function(a){this.editor=a;this._initButton()},updateState:function(){this.button.set("disabled",this.get("disabled"))},_newPage:function(){this.editor.beginEditing();this.editor.set("value",this.content);this.editor.endEditing();this.editor.focus()}});b.registry.newPage=b.registry.newpage=function(a){return new d({content:"content"in a?a.content:"\x3cbr\x3e"})};return d});