Files
SIG/Scripts/AjaxControlToolkit/Release/HtmlEditor.ToolbarButtons.Paragraph.js
JORGE LUIS CAUDILLO ESPARZA c35cf91883 Commit inicial Ventas Productivo
2019-08-14 16:40:54 -07:00

1 line
782 B
JavaScript

Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph=function(n){Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph.initializeBase(this,[n])};Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph.prototype={checkState:function(){return Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph.callBaseMethod(this,"checkState")?this._designPanel._textAlignState(""):!1},callMethod:function(){if(!Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph.callBaseMethod(this,"callMethod"))return!1;this._designPanel._execCommand("Paragraph")}};Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph.registerClass("Sys.Extended.UI.HtmlEditor.ToolbarButtons.Paragraph",Sys.Extended.UI.HtmlEditor.ToolbarButtons.EditorToggleButton);