Disable spellcheck
This commit is contained in:
parent
ce0c85c354
commit
701cd7b29d
|
@ -246,7 +246,7 @@ function editor(root, inputData, options) {
|
||||||
editing = true
|
editing = true
|
||||||
|
|
||||||
let elements = $(rootElement).children('div.list-item');
|
let elements = $(rootElement).children('div.list-item');
|
||||||
let $textarea = $('<textarea rows=1 class="input-line">');
|
let $textarea = $('<textarea rows=1 class="input-line" spellcheck="false">');
|
||||||
$textarea.val(cursor.getCurrent(store).text).trigger('input')
|
$textarea.val(cursor.getCurrent(store).text).trigger('input')
|
||||||
let currentElement = cursor.getCurrentElement(elements);
|
let currentElement = cursor.getCurrentElement(elements);
|
||||||
currentElement.find('.content').replaceWith($textarea)
|
currentElement.find('.content').replaceWith($textarea)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user