@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
@@ -448,7 +448,7 @@
448
448
  ],
449
449
  "schemaVersion": 1,
450
450
  "package": "@threadlabs/looma",
451
- "version": "0.37.2",
451
+ "version": "0.37.3",
452
452
  "groups": [
453
453
  {
454
454
  "id": "layout",
@@ -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
- /** Placeholder shown only for empty paragraphs, not every empty node type. */
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.37.2",
3
+ "version": "0.37.3",
4
4
  "type": "module",
5
5
  "description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
6
6
  "license": "MIT",