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

Lexical: Improved navigation around images/media

- Added specific handling to move/insert-up/down on arrow press.
- Prevented resize overlay from interrupting image node focus.
This commit is contained in:
Dan Brown
2025-03-28 14:17:52 +00:00
parent 62c8eb3357
commit 9bfcadd95f
3 changed files with 43 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ export class ImageNode extends ElementNode {
element.addEventListener('click', e => {
_editor.update(() => {
$selectSingleNode(this);
this.select();
});
});