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

Lexical: Further fixes

- Improved node resizer positioning to be more accurate
- Fixed drop handling not running within editor margin space
- Made media dom update smarter to reduce reloads
- Fixed media alignment, broken due to added wrapper
This commit is contained in:
Dan Brown
2024-09-09 12:28:01 +01:00
parent 16518a4f89
commit fd07aa0f05
7 changed files with 68 additions and 12 deletions

View File

@@ -374,10 +374,21 @@ body.editor-is-fullscreen {
}
.editor-media-wrap {
display: inline-block;
cursor: not-allowed;
iframe {
pointer-events: none;
}
&.align-left {
float: left;
}
&.align-right {
float: right;
}
&.align-center {
display: block;
margin-inline: auto;
}
}
/**