Thanks for the reply. Yes, set enableLocalPaste as true the paste item will be enabled. But we to set it to false to enable the external copy/paste. Can the paste item be removed rather than be disabled if the enableLocalPaste is false? Then I can add a customized menu item for the paste.
I have tried this.container.documentEditor.contextMenu.menuItems.splice but does not work.