/// <inheritdoc/> public override void SetModel(TextToolbar model) { base.SetModel(model); CommonButtons = new CommonButtons(model); ButtonActions = new MarkDownButtonActions(this); }
/// <summary> /// Initializes a new instance of the <see cref="MarkDownFormatter"/> class. /// </summary> /// <param name="model"><see cref="TextToolbar"/> where formatter will be used</param> public MarkDownFormatter(TextToolbar model) : base(model) { CommonButtons = new CommonButtons(model); ButtonActions = new MarkDownButtonActions(this); }