export const RTE_DEFAULT_TEXT_COLOR = {
  key: 'black',
  light: '#111128',
  dark: '#E3E3E8',
};
export const RTE_TEXT_COLORS = [
  RTE_DEFAULT_TEXT_COLOR,
  {
    key: 'gray',
    light: '#5E5E6D',
    dark: '#B9B9C1',
  },
  {
    key: 'green',
    light: '#01801F',
    dark: '#59D977',
  },
  {
    key: 'red',
    light: '#BD2947',
    dark: '#FFB2B5',
  },
  {
    key: 'purple',
    light: '#563D82',
    dark: '#BEB2FF',
  },
  {
    key: 'teal',
    light: '#17758F',
    dark: '#4CD8FF',
  },
];
export const ZERO_WIDTH_SPACE = '\u200b';
export const VegaRTEPresetToolbarItems = [
  ['textStyles'],
  ['bold', 'italic', 'underline', 'strikethrough', 'code'],
  ['textColor'],
  ['horizontalAlignment', 'bulletsNumbers'],
  ['moreIndent', 'lessIndent'],
  ['link'],
  ['image'],
  ['clearStyle'],
];
/**
 * Void/self-closing HTML elements that have no closing tag and cannot contain children.
 * Source: https://html.spec.whatwg.org/multipage/syntax.html#void-elements
 */
export const HTML_VOID_TAGS = new Set([
  'area',
  'base',
  'br',
  'col',
  'embed',
  'hr',
  'img',
  'input',
  'link',
  'meta',
  'param',
  'source',
  'track',
  'wbr',
]);
