/// <inheritdoc/>
        public override void SetModel(TextToolbar model)
        {
            base.SetModel(model);

            CommonButtons = new CommonButtons(model);
            ButtonActions = new MarkDownButtonActions(this);
        }
Ejemplo n.º 2
0
 /// <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);
 }