]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_editor.scss
Lexical: Linked code block to editor, added button
[bookstack] / resources / sass / _editor.scss
index 7530382630bd309e744e50019f726250118a5322..5305ada823570c5cc3098095c94aa35b1c656677 100644 (file)
@@ -244,6 +244,13 @@ body.editor-is-fullscreen {
   cursor: row-resize;
 }
 
+.editor-code-block-wrap {
+  user-select: none;
+  > * {
+    pointer-events: none;
+  }
+}
+
 // Editor theme styles
 .editor-theme-bold {
   font-weight: bold;