ang-jsoneditor icon indicating copy to clipboard operation
ang-jsoneditor copied to clipboard

there is not found onCreateMenu function use "ang-jsoneditor": "1.8.1"

Open MichaelPanwenjie opened this issue 2 years ago • 0 comments

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; }; image

I want to filter the menus, so can anyone help?

MichaelPanwenjie avatar Sep 12 '22 12:09 MichaelPanwenjie