mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Lexical: Added support for table caption nodes
Needs linking up to the table form still.
This commit is contained in:
@ -1165,6 +1165,16 @@ export class LexicalNode {
|
||||
markDirty(): void {
|
||||
this.getWritable();
|
||||
}
|
||||
|
||||
/**
|
||||
* Insert the DOM of this node into that of the parent.
|
||||
* Allows this node to implement custom DOM attachment logic.
|
||||
* Boolean result indicates if the insertion was handled by the function.
|
||||
* A true return value prevents default insertion logic from taking place.
|
||||
*/
|
||||
insertDOMIntoParent(nodeDOM: HTMLElement, parentDOM: HTMLElement): boolean {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function errorOnTypeKlassMismatch(
|
||||
|
Reference in New Issue
Block a user