Beispiel #1
0
 /// <summary>
 /// Removes the custom toolbar button.
 /// </summary>
 /// <param name="toolbarButton">Button instance.</param>
 internal protected void RemoveMarkdownToolbarButton(MarkdownToolbarButton toolbarButton)
 {
     toolbarButtons.Remove(toolbarButton);
 }
Beispiel #2
0
 /// <summary>
 /// Adds the custom toolbar button.
 /// </summary>
 /// <param name="toolbarButton">Button instance.</param>
 internal protected void AddMarkdownToolbarButton(MarkdownToolbarButton toolbarButton)
 {
     toolbarButtons ??= new();
     toolbarButtons.Add(toolbarButton);
 }