0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Disable Grammarly extension

The extension does not handle rich text inputs well at all and causes various
broken behaviour, such as weird line breaks.
This commit is contained in:
Neil Jenkins 2020-04-27 16:18:10 +10:00
parent 8cc1e34a6c
commit 1d03266b05
3 changed files with 5 additions and 1 deletions

View file

@ -2615,6 +2615,8 @@ function Squire ( root, config ) {
this.setConfig( config );
root.setAttribute( 'contenteditable', 'true' );
// Grammarly breaks the editor, *sigh*
root.setAttribute( 'data_gramm', 'false' );
// Remove Firefox's built-in controls
try {

File diff suppressed because one or more lines are too long

View file

@ -96,6 +96,8 @@ function Squire ( root, config ) {
this.setConfig( config );
root.setAttribute( 'contenteditable', 'true' );
// Grammarly breaks the editor, *sigh*
root.setAttribute( 'data_gramm', 'false' );
// Remove Firefox's built-in controls
try {