mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-03 23:42:28 +03:00
Lexical: Added custom id-supporting paragraph blocks
This commit is contained in:
@@ -45,10 +45,6 @@ export function createPageEditorInstance(editArea: HTMLElement) {
|
||||
debugView.textContent = JSON.stringify(editorState.toJSON(), null, 2);
|
||||
});
|
||||
|
||||
// Todo - How can we store things like IDs and alignment?
|
||||
// Node overrides?
|
||||
// https://lexical.dev/docs/concepts/node-replacement
|
||||
|
||||
// Example of creating, registering and using a custom command
|
||||
|
||||
const SET_BLOCK_CALLOUT_COMMAND = createCommand();
|
||||
|
||||
Reference in New Issue
Block a user