Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: use css containment for editor

Abdullah Attace949d94f230
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index ff9a12844..3fbcc3be4 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -1,4 +1,7 @@
-
+.ProseMirror {
+ contain: content;
+ content-visibility: auto;
+}
.ProseMirror p span {
font-family: inherit;