TextMarkupContextMenuSettings: { colors: { displayName: string; value: string }[] }

Text markup context menu settings

Type declaration

  • colors: { displayName: string; value: string }[]

    Available colors

    Example

    // Change available colors:
    textMarkupContextMenu: { colors: [{value: "#ff0000", displayName: "Red"}, {value: "#000000", displayName: "Black"}] }
    // Hide colors groups:
    textMarkupContextMenu: { colors: [] }