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:
parent
8cc1e34a6c
commit
1d03266b05
3 changed files with 5 additions and 1 deletions
|
@ -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
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue