You need to run this example in production for it to work :
go run -tags production .
Context menu shown here only if you select text
Selecting text here and right-clicking the box below or its border shouldn't show the context menu
content editable
Context Menu hidden here even if text is selected
Context menu shown here only if you select text