Skip to content

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

fix: make editor code block scrollable

thecodrrf580fd5fae8a
diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.js
index db76dde32..e01b517f4 100644
--- a/apps/web/src/components/editor/tinymce.js
+++ b/apps/web/src/components/editor/tinymce.js
@@ -160,6 +160,10 @@ function TinyMCE(props) {
span.diff-ins {
background-color: #CAFFFB;
}
+
+ pre.codeblock {
+ overflow-x: auto;
+ }
`,
toolbar: simple
? false