mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-31 11:54:03 -05:00
Fix disabling Grammarly
How this underscore got there I don't know, *sigh*.
This commit is contained in:
parent
3f9c4f8259
commit
db4179cc39
3 changed files with 3 additions and 3 deletions
|
@ -2616,7 +2616,7 @@ function Squire ( root, config ) {
|
||||||
|
|
||||||
root.setAttribute( 'contenteditable', 'true' );
|
root.setAttribute( 'contenteditable', 'true' );
|
||||||
// Grammarly breaks the editor, *sigh*
|
// Grammarly breaks the editor, *sigh*
|
||||||
root.setAttribute( 'data_gramm', 'false' );
|
root.setAttribute( 'data-gramm', 'false' );
|
||||||
|
|
||||||
// Remove Firefox's built-in controls
|
// Remove Firefox's built-in controls
|
||||||
try {
|
try {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -97,7 +97,7 @@ function Squire ( root, config ) {
|
||||||
|
|
||||||
root.setAttribute( 'contenteditable', 'true' );
|
root.setAttribute( 'contenteditable', 'true' );
|
||||||
// Grammarly breaks the editor, *sigh*
|
// Grammarly breaks the editor, *sigh*
|
||||||
root.setAttribute( 'data_gramm', 'false' );
|
root.setAttribute( 'data-gramm', 'false' );
|
||||||
|
|
||||||
// Remove Firefox's built-in controls
|
// Remove Firefox's built-in controls
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue