Fix spellcheck word matching for non-ASCII characters #564

This commit is contained in:
Ben Gotow 2018-01-25 08:19:29 -08:00
parent 44568c79ab
commit 62f5c2a76f

View file

@ -64,7 +64,7 @@ function renderMark(props) {
function decorationsForNode(node, value) {
const { key, text } = node;
const regexp = /[\w]+/g;
const regexp = /([^\s.,¿?!:()[\]+><"“”|*&^%$#@—-]+)/g;
const decorations = [];
let match = null;