1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

CM6: Further fixes/improvements after testing

- Updated event naming to be "cm6" when codemirror-specific.
- Removed cm block border in md editor to prevent double bordering.
- Updated copy handling to fallback to execCommand.
This commit is contained in:
Dan Brown
2023-04-18 15:08:17 +01:00
parent 3e738b1471
commit baf5edd73a
4 changed files with 18 additions and 4 deletions

View File

@@ -6,11 +6,11 @@
font-size: 12px;
border: 1px solid #ddd;
line-height: 1.4;
margin-bottom: $-l;
}
.page-content .cm-editor,
.CodeMirrorContainer .cm-editor {
margin-bottom: $-l;
border-radius: 4px;
}