mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-24 22:51:23 +08:00
Lexical: Added media resize support via drag handles
This commit is contained in:
@ -63,4 +63,11 @@ export function updateElementWithCommonBlockProps(element: HTMLElement, node: Co
|
||||
if (node.__alignment) {
|
||||
element.classList.add('align-' + node.__alignment);
|
||||
}
|
||||
}
|
||||
|
||||
export interface NodeHasSize {
|
||||
setHeight(height: number): void;
|
||||
setWidth(width: number): void;
|
||||
getHeight(): number;
|
||||
getWidth(): number;
|
||||
}
|
Reference in New Issue
Block a user