[
  {
    "id": "file",
    "open": true,
    "value": "File",
    "items": [
      {
        "id": "save",
        "value": "Save",
        "hotkey": "CTRL+S",
        "icon": "mdi mdi-content-save"
      },
      {
        "id": "import",
        "value": "Import",
        "icon": "mdi mdi-file-import"
      },
      {
        "id": "download",
        "value": "Download",
        "icon": "mdi mdi-file-export"
      },
      {
        "id": "close",
        "value": "Close",
        "icon": "mdi mdi-close",
        "hotkey": "ESC"
      }
    ]
  },
  {
    "id": "edit",
    "value": "Edit",
    "items": [
      {
        "id": "undo",
        "value": "Undo",
        "hotkey": "CTRL+Z",
        "icon": "mdi mdi-undo"
      },
      {
        "id": "redo",
        "value": "Redo",
        "hotkey": "CTRL+Y",
        "icon": "mdi mdi-redo"
      },
      {
        "type": "separator"
      },
      {
        "id": "paste",
        "value": "Paste",
        "hotkey": "CTRL+V",
        "icon": "mdi mdi-content-paste"
      },
      {
        "id": "copy",
        "value": "Copy",
        "hotkey": "CTRL+C",
        "icon": "mdi mdi-content-copy"
      },
      {
        "id": "cut",
        "value": "Cut",
        "hotkey": "CTRL+X",
        "icon": "mdi mdi-content-cut"
      },
      { "type": "separator" },
      {
        "id": "clear",
        "value": "Clear",
        "icon": "dxi dxi-eraser",
        "items": [
          {
            "id": "clear-value",
            "value": "Clear value"
          },
          {
            "id": "clear-styles",
            "value": "Clear styles"
          },
          {
            "id": "clear-all",
            "value": "Clear all"
          }
        ]
      }
    ]
  },
  {
    "id": "format",
    "value": "Format",
    "items": [
      {
        "id": "font-weight-bold",
        "value": "bold",
        "hotkey": "CTRL+B",
        "icon": "mdi mdi-format-bold"
      },
      {
        "id": "font-style-italic",
        "value": "Italic",
        "hotkey": "CTRL+I",
        "icon": "mdi mdi-format-italic"
      },
      {
        "id": "text-decoration-underline",
        "value": "Underline",
        "hotkey": "CTRL+U",
        "icon": "mdi mdi-format-underline"
      },
      { "type": "separator" },
      {
        "id": "align",
        "css": "dhx_menu-item--left-gap",
        "value": "Align",
        "items": [
          {
            "id": "align-left",
            "value": "Left",
            "icon": "mdi mdi-format-align-left"
          },
          {
            "id": "align-center",
            "value": "Center",
            "icon": "mdi mdi-format-align-center"
          },
          {
            "id": "align-right",
            "value": "Right",
            "icon": "mdi mdi-format-align-right"
          }
        ]
      }
    ]
  },
  {
    "id": "tools",
    "value": "Tools",
    "items": [
      {
        "id": "statistics",
        "value": "Statistics",
        "icon": ""
      },
      {
        "id": "vocabulary",
        "value": "Vocabulary",
        "icon": ""
      }
    ]
  },
  {
    "id": "charts",
    "value": "Charts",
    "html": "<img class='menu-item' src='https://snippet.dhtmlx.com/codebase/data/menu/04/img/chart-pie.svg'/><span class='dhx_nav-menu-button__text'>Charts</span>",
    "items": [
      {
        "id": "spline",
        "value": "Spline",
        "html": "<img class='menu-item context-menu-item' src='https://snippet.dhtmlx.com/codebase/data/menu/04/img/chart-spline.svg'/><span class='dhx_menu-button__text'> Spline</span>"
      },
      {
        "id": "donut",
        "value": "Donut",
        "html": "<img class='menu-item context-menu-item' src='https://snippet.dhtmlx.com/codebase/data/menu/04/img/chart-donut.svg'/><span class='dhx_menu-button__text'> Donut</span>"
      },
      {
        "id": "bar",
        "value": "Bar",
        "html": "<img class='menu-item context-menu-item' src='https://snippet.dhtmlx.com/codebase/data/menu/04/img/chart-bar.svg'/><span class='dhx_menu-button__text'> Bar</span>"
      }
    ]
  },

  {
    "type": "spacer"
  },
  {
    "id": "help",
    "value": "Help",
    "items": [
      {
        "id": "about",
        "value": "About",
        "icon": "mdi mdi-information"
      },
      {
        "id": "bugs",
        "value": "Bugs",
        "icon": "mdi mdi-bug"
      },
      {
        "id": "support",
        "value": "Support",
        "icon": "mdi mdi-face-agent"
      }
    ]
  }
]
