Describe the bug
When i use $ npm install --save jsoneditor ang-jsoneditor to install ang-jsoneditor package with "ang-jsoneditor": "1.8.1" in package.json file, there is not found onCreateMenu function
this.editorOptions.onCreateMenu = (items, node) => { // this line error not found onCreateMenu
items = items.filter(function (item) {
return item.type !== 'separator'
});
return items;
};
Describe the bug When i use $ npm install --save jsoneditor ang-jsoneditor to install ang-jsoneditor package with "ang-jsoneditor": "1.8.1" in package.json file, there is not found onCreateMenu function
this.editorOptions.onCreateMenu = (items, node) => { // this line error not found onCreateMenu items = items.filter(function (item) { return item.type !== 'separator' });![image](https://user-images.githubusercontent.com/34026313/189652063-a1df6ae3-b7b3-4a73-8bdb-cb6004fb3ff2.png)
return items; };
I want to filter the menus, so can anyone help?