Skip to content
Snippets Groups Projects
Commit f1077709 authored by chris's avatar chris
Browse files

disallow right click paste

parent 2f2973fc
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,7 @@ class ContainerEditor extends SubstanceContainerEditor { ...@@ -42,6 +42,7 @@ class ContainerEditor extends SubstanceContainerEditor {
documentSession.undo() documentSession.undo()
} }
}) })
el.addEventListener('contextmenu', event => event.preventDefault())
} }
return el return el
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment