@brightsideoy/kama 0.1.0-alpha.45 → 0.1.0-alpha.47

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.
@@ -2,6 +2,7 @@ id: article
2
2
  label: Article
3
3
  inTree: false
4
4
  hasCanvas: true
5
+ directLinking: true
5
6
 
6
7
  regions:
7
8
  content:
@@ -2,6 +2,7 @@ id: event
2
2
  label: Event
3
3
  inTree: false
4
4
  hasCanvas: true
5
+ directLinking: true
5
6
 
6
7
  regions:
7
8
  main:
@@ -3,6 +3,7 @@ label: Page
3
3
  inTree: true
4
4
  inVault: true
5
5
  hasCanvas: true
6
+ directLinking: true
6
7
 
7
8
  # 👈 Keep this as the absolute last-resort fallback for the Public API
8
9
  defaultLayout: "single-column"
@@ -3,6 +3,7 @@ label: Product
3
3
  inTree: false
4
4
  inVault: true
5
5
  hasCanvas: false
6
+ directLinking: true
6
7
 
7
8
  layout:
8
9
  columns: "3fr 1fr"
@@ -1,6 +1,6 @@
1
1
  import StarterKit from "@tiptap/starter-kit";
2
- import Link from "@tiptap/extension-link";
3
2
  import type { RteProfile } from "../../utils/rteProfiles";
3
+ import Link from "../../src/utils/CmsLink";
4
4
 
5
5
  export const profile: RteProfile = {
6
6
  extensions: [StarterKit, Link.configure({ openOnClick: false })],
@@ -4,6 +4,7 @@ import Document from "@tiptap/extension-document";
4
4
  import Subscript from "@tiptap/extension-subscript";
5
5
  import Superscript from "@tiptap/extension-superscript";
6
6
  import type { RteProfile } from "../../src/utils/rteProfiles";
7
+ import Link from "../../src/utils/CmsLink";
7
8
 
8
9
  // Custom document node forcing default top-level block to be a heading (H2)
9
10
  const CustomDocument = Document.extend({
@@ -19,6 +20,7 @@ export const profile: RteProfile = {
19
20
  }),
20
21
  Subscript.configure(),
21
22
  Superscript.configure(),
23
+ Link.configure({ openOnClick: false }),
22
24
  ],
23
25
  toolbar: [
24
26
  "heading-1",
@@ -29,5 +31,6 @@ export const profile: RteProfile = {
29
31
  "italic",
30
32
  "superscript",
31
33
  "subscript",
34
+ "link",
32
35
  ],
33
36
  };
@@ -1,6 +1,6 @@
1
1
  import StarterKit from "@tiptap/starter-kit";
2
- import Link from "@tiptap/extension-link";
3
2
  import type { RteProfile } from "../../utils/rteProfiles";
3
+ import Link from "../../src/utils/CmsLink";
4
4
 
5
5
  export const profile: RteProfile = {
6
6
  extensions: [StarterKit, Link.configure({ openOnClick: false })],