@threadlabs/looma 0.37.2 → 0.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/catalog.json
CHANGED
|
@@ -11492,10 +11492,7 @@ function getDefaultEditorExtensions(options = {}) {
|
|
|
11492
11492
|
LoomaSmartPaste,
|
|
11493
11493
|
codeBlockNodeView ? codeBlock.extend({ addNodeView: () => codeBlockNodeView }) : codeBlock,
|
|
11494
11494
|
Typography,
|
|
11495
|
-
Placeholder.configure({
|
|
11496
|
-
placeholder: ({ node }) => node.type.name === "paragraph" ? placeholder : "",
|
|
11497
|
-
emptyNodeClass: "is-editor-empty"
|
|
11498
|
-
}),
|
|
11495
|
+
Placeholder.configure({ placeholder: ({ node }) => node.type.name === "paragraph" ? placeholder : "" }),
|
|
11499
11496
|
...mention ? [mention] : [],
|
|
11500
11497
|
LoomaTableKit,
|
|
11501
11498
|
LoomaListBehavior,
|
|
@@ -15,7 +15,7 @@ export type LoomaCodeLanguages = NonNullable<Parameters<typeof createLowlight>[0
|
|
|
15
15
|
export interface DefaultEditorExtensionsOptions {
|
|
16
16
|
/** Replaceable display data; updating it must use setReferenceDisplay, never setContent. */
|
|
17
17
|
references?: LoomaReferenceMap;
|
|
18
|
-
/**
|
|
18
|
+
/** Writing prompt displayed in an empty paragraph only while the document is empty. */
|
|
19
19
|
placeholder?: string;
|
|
20
20
|
/** Passed to Tiptap Link; defaults false to keep editing clicks in the editor. */
|
|
21
21
|
linkOpenOnClick?: boolean;
|