Skip to content

Commit

Permalink
Fix slate issue caused by Chrome 106
Browse files Browse the repository at this point in the history
Was able to determine that this was the problem by bisecting our Electron upgrade and identifying which chrome version bump broke it, and then googling for slate + chrome version.

It looks like this entire concept of webkit-user-modify is deprecated, so I have no idea why this matters, but it looks like they changed the default to read-write-plaintext and it broke Slate for everyone.

ianstormtaylor/slate#5110
  • Loading branch information
bengotow committed Nov 20, 2023
1 parent fbb6834 commit f34918d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/internal_packages/composer/styles/composer.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
padding-top: 12px;
position: relative; // needed for floating emoji picker
color: @text-color;

div[contenteditable] {
-webkit-user-modify: read-write;
}
}
}

Expand Down

0 comments on commit f34918d

Please sign in to comment.