@chinenyem wrote:
How can i do a pop up context menu on externalobjeindent preformatted text by 4 spacesctsdropped event?
This is what I have:"ExternalObjectsDropped": function(e){
console.log("dropped")
cxTool.showContextMenu(cxTool, null)}
It produces the context menu but I get this error:
go.js:13 Uncaught Error: ContextMenuTool.currentContextMenu value is not an instance of Adornment: ContextMenu Tool
Posts: 5
Participants: 2