using System;

namespace InABox.Core
{
    
    [Flags]
    public enum RichTextEditorButtons
    {
        None = 0,
        Bold,
        Color,
        Italic,
        Underline,
        Align,
        Hyperlink,
        Picture,
        Table,
        Zoom,
        Font,
        All = ~None,
        Simple = Bold | Color | Italic | Underline | Picture
    }
    
    public class RichTextEditor : BaseEditor
    {

        public RichTextEditorButtons VisibleButtons { get; set; } = RichTextEditorButtons.All;
        
        protected override BaseEditor DoClone()
        {
            return new RichTextEditor() { VisibleButtons = this.VisibleButtons };
        }
    }
}