Hi, I want to create a new right-click menu option and then add the default option as a submenu, such as “row_above”, “row_below”, “col_left”, etc. Here is the code I write
`contextMenu:{
items: {
"edit_row_col": {
name: "operation",
submenu: {
items: [
{key: "row_above", name:"add a row above"},
{key: "row_below", name:"add a row below"},
{key: "col_left", name:"add a left col"},
{key: "col_right", name:"add a right col"},
]
}
}
}
}`
But when I click, the browser prompts “Error: Menu command ‘row_below’ not exists.”