@ixo/editor 7.13.1 → 7.14.0

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/dist/index.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  useCreateCollaborativeIxoEditor,
24
24
  useCreateIxoEditor,
25
25
  useTrackBlockFocus
26
- } from "./chunk-QFOAEPJT.js";
26
+ } from "./chunk-OCO3YMSP.js";
27
27
  import "./chunk-JIUHQT5G.js";
28
28
  import "./chunk-NDB4OY5L.js";
29
29
  import "./chunk-7ZLW7H37.js";
@@ -75,7 +75,7 @@ import {
75
75
  usePanel,
76
76
  usePanelStore,
77
77
  useTrackBlockFocus
78
- } from "../chunk-QFOAEPJT.js";
78
+ } from "../chunk-OCO3YMSP.js";
79
79
  import "../chunk-JIUHQT5G.js";
80
80
  import "../chunk-NDB4OY5L.js";
81
81
  import "../chunk-7ZLW7H37.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixo/editor",
3
- "version": "7.13.1",
3
+ "version": "7.14.0",
4
4
  "description": "A custom BlockNote editor wrapper for IXO team",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "scripts": {
62
62
  "build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsup && node scripts/generate-action-manifest.mjs",
63
- "dev": "nodemon --watch src --ext ts,tsx --exec \"tsup\"",
63
+ "dev": "cross-env IXO_EDITOR_WATCH=1 tsup --watch src",
64
64
  "clean": "rimraf dist style.css",
65
65
  "prepare": "pnpm run clean && pnpm run build",
66
66
  "example:action-gallery": "pnpm --dir examples/action-type-gallery dev",
package/style-core.css CHANGED
@@ -66,6 +66,22 @@
66
66
  --bn-colors-highlight-colors-purple: #a78bfa;
67
67
  }
68
68
 
69
+ /* Hosts may reset every <a> to plain text (the portal does); a link inside a page must still read as a link */
70
+ .ixo-editor .bn-inline-content a {
71
+ color: inherit;
72
+ text-decoration: underline;
73
+ text-decoration-color: color-mix(in srgb, var(--mantine-color-text) 45%, transparent);
74
+ text-underline-offset: 2px;
75
+ }
76
+
77
+ /* A block selected whole (a click inside an IXO block) gets a thin outline, not BlockNote's blue wash over its content */
78
+ .ixo-editor .bn-block-content.ProseMirror-selectednode > *::after,
79
+ .ixo-editor .ProseMirror-selectednode > .bn-block-content > *::after {
80
+ background-color: transparent;
81
+ border-radius: 8px;
82
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mantine-color-text) 25%, transparent);
83
+ }
84
+
69
85
  /* BlockNote pads the table wrapper for its row handles; pull it back onto the text edge */
70
86
  .ixo-editor .bn-editor [data-content-type='table'] .tableWrapper {
71
87
  margin-inline-start: calc(-1 * var(--bn-table-handle-size));
package/style-mantine.css CHANGED
@@ -8714,6 +8714,22 @@ we just don't display it in CSS instead. */
8714
8714
  --bn-colors-highlight-colors-purple: #a78bfa;
8715
8715
  }
8716
8716
 
8717
+ /* Hosts may reset every <a> to plain text (the portal does); a link inside a page must still read as a link */
8718
+ .ixo-editor .bn-inline-content a {
8719
+ color: inherit;
8720
+ text-decoration: underline;
8721
+ text-decoration-color: color-mix(in srgb, var(--mantine-color-text) 45%, transparent);
8722
+ text-underline-offset: 2px;
8723
+ }
8724
+
8725
+ /* A block selected whole (a click inside an IXO block) gets a thin outline, not BlockNote's blue wash over its content */
8726
+ .ixo-editor .bn-block-content.ProseMirror-selectednode > *::after,
8727
+ .ixo-editor .ProseMirror-selectednode > .bn-block-content > *::after {
8728
+ background-color: transparent;
8729
+ border-radius: 8px;
8730
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mantine-color-text) 25%, transparent);
8731
+ }
8732
+
8717
8733
  /* BlockNote pads the table wrapper for its row handles; pull it back onto the text edge */
8718
8734
  .ixo-editor .bn-editor [data-content-type='table'] .tableWrapper {
8719
8735
  margin-inline-start: calc(-1 * var(--bn-table-handle-size));
package/style-scoped.css CHANGED
@@ -1298,6 +1298,22 @@ we just don't display it in CSS instead. */
1298
1298
  --bn-colors-highlight-colors-purple: #a78bfa;
1299
1299
  }
1300
1300
 
1301
+ /* Hosts may reset every <a> to plain text (the portal does); a link inside a page must still read as a link */
1302
+ .ixo-editor .bn-inline-content a {
1303
+ color: inherit;
1304
+ text-decoration: underline;
1305
+ text-decoration-color: color-mix(in srgb, var(--mantine-color-text) 45%, transparent);
1306
+ text-underline-offset: 2px;
1307
+ }
1308
+
1309
+ /* A block selected whole (a click inside an IXO block) gets a thin outline, not BlockNote's blue wash over its content */
1310
+ .ixo-editor .bn-block-content.ProseMirror-selectednode > *::after,
1311
+ .ixo-editor .ProseMirror-selectednode > .bn-block-content > *::after {
1312
+ background-color: transparent;
1313
+ border-radius: 8px;
1314
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mantine-color-text) 25%, transparent);
1315
+ }
1316
+
1301
1317
  /* BlockNote pads the table wrapper for its row handles; pull it back onto the text edge */
1302
1318
  .ixo-editor .bn-editor [data-content-type='table'] .tableWrapper {
1303
1319
  margin-inline-start: calc(-1 * var(--bn-table-handle-size));
package/style.css CHANGED
@@ -8714,6 +8714,22 @@ we just don't display it in CSS instead. */
8714
8714
  --bn-colors-highlight-colors-purple: #a78bfa;
8715
8715
  }
8716
8716
 
8717
+ /* Hosts may reset every <a> to plain text (the portal does); a link inside a page must still read as a link */
8718
+ .ixo-editor .bn-inline-content a {
8719
+ color: inherit;
8720
+ text-decoration: underline;
8721
+ text-decoration-color: color-mix(in srgb, var(--mantine-color-text) 45%, transparent);
8722
+ text-underline-offset: 2px;
8723
+ }
8724
+
8725
+ /* A block selected whole (a click inside an IXO block) gets a thin outline, not BlockNote's blue wash over its content */
8726
+ .ixo-editor .bn-block-content.ProseMirror-selectednode > *::after,
8727
+ .ixo-editor .ProseMirror-selectednode > .bn-block-content > *::after {
8728
+ background-color: transparent;
8729
+ border-radius: 8px;
8730
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mantine-color-text) 25%, transparent);
8731
+ }
8732
+
8717
8733
  /* BlockNote pads the table wrapper for its row handles; pull it back onto the text edge */
8718
8734
  .ixo-editor .bn-editor [data-content-type='table'] .tableWrapper {
8719
8735
  margin-inline-start: calc(-1 * var(--bn-table-handle-size));