1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

WYSIWYG: Updated code handling to respect direction

Specifically supports "dir" attribute being on top level "pre" element,
and handles application/switching of this within the editor.

For #4809
This commit is contained in:
Dan Brown
2024-02-18 17:55:56 +00:00
parent 9ff9b9c805
commit 999d41a7f5
4 changed files with 23 additions and 6 deletions

View File

@@ -34,10 +34,10 @@
align-items: center;
justify-content: center;
top: -1px;
right: -1px;
inset-inline-end: -1px;
background-color: #EEE;
border: 1px solid #DDD;
border-radius: 0 4px 0 0;
border-start-end-radius: 4px;
@include lightDark(background-color, #eee, #333);
@include lightDark(border-color, #ddd, #444);
@include lightDark(color, #444, #888);