editor: chrome specific - stop selecting the whole word after right click
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 1 Jul 2014 12:40:30 +0000 (14:40 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 1 Jul 2014 14:01:53 +0000 (16:01 +0200)
Having spellcheck active causes Chrome to select right clicked word if
it detects spell check suggestions which causes problems with selection
and canvas context menu.

src/editor/modules/documentCanvas/canvas/canvas.html

index d798fd2..e437d42 100644 (file)
@@ -1,5 +1,5 @@
 <div class="view-table">
     <div class="view-row">
 <div class="view-table">
     <div class="view-row">
-        <div class="root-wrapper" contenteditable="true"></div>
+        <div class="root-wrapper" contenteditable="true" spellcheck="false"></div>
     </div>
 </div>
\ No newline at end of file
     </div>
 </div>
\ No newline at end of file