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

Lexical: Added overflow container

This commit is contained in:
Dan Brown
2024-06-27 16:28:06 +01:00
parent 4e2820d6e3
commit f10ec3271a
6 changed files with 80 additions and 11 deletions

View File

@@ -26,7 +26,12 @@ export class EditorDropdownButton extends EditorContainerUiElement {
});
}
this.children.push(this.button);
this.addChildren(this.button);
}
insertItems(...items: EditorUiElement[]) {
this.addChildren(...items);
this.childItems.push(...items);
}
protected buildDOM(): HTMLElement {