@ixo/editor 5.8.0 → 5.9.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/{chunk-KMUBFINJ.mjs → chunk-MOPZZGGR.mjs} +134 -65
- package/dist/chunk-MOPZZGGR.mjs.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/mantine/index.mjs +1 -1
- package/package.json +3 -1
- package/style-core.css +8 -5
- package/style-mantine.css +8 -5
- package/style-scoped.css +8 -5
- package/style.css +8 -5
- package/dist/chunk-KMUBFINJ.mjs.map +0 -1
package/dist/index.mjs
CHANGED
package/dist/mantine/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixo/editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "A custom BlockNote editor wrapper for IXO team",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -72,6 +72,8 @@
|
|
|
72
72
|
"@dnd-kit/core": "^6.3.1",
|
|
73
73
|
"@ixo/ucan": "^1.0.1",
|
|
74
74
|
"@tabler/icons-react": "3.35.0",
|
|
75
|
+
"@tiptap/core": "2.26.1",
|
|
76
|
+
"@tiptap/extension-code": "2.26.1",
|
|
75
77
|
"blockstore-core": "^6.1.2",
|
|
76
78
|
"ipfs-unixfs-importer": "^16.1.1",
|
|
77
79
|
"multiformats": "^13.4.2",
|
package/style-core.css
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
border-radius: 0px !important;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
21
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
22
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
23
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
24
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
25
|
+
display: none !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
20
28
|
/* Light theme customizations */
|
|
21
29
|
.ixo-editor--theme-light {
|
|
22
30
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -62,11 +70,6 @@
|
|
|
62
70
|
border-radius: 0px !important;
|
|
63
71
|
}
|
|
64
72
|
|
|
65
|
-
.ixo-editor .bn-container:focus-within {
|
|
66
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
67
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
73
|
/* Block styles */
|
|
71
74
|
.ixo-editor .bn-block {
|
|
72
75
|
margin-bottom: 0.5em;
|
package/style-mantine.css
CHANGED
|
@@ -114,6 +114,14 @@
|
|
|
114
114
|
border-radius: 0px !important;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
118
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
119
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
120
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
121
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
122
|
+
display: none !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
/* Light theme customizations */
|
|
118
126
|
.ixo-editor--theme-light {
|
|
119
127
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -159,11 +167,6 @@
|
|
|
159
167
|
border-radius: 0px !important;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
|
-
.ixo-editor .bn-container:focus-within {
|
|
163
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
164
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
170
|
/* Block styles */
|
|
168
171
|
.ixo-editor .bn-block {
|
|
169
172
|
margin-bottom: 0.5em;
|
package/style-scoped.css
CHANGED
|
@@ -312,6 +312,14 @@
|
|
|
312
312
|
border-radius: 0px !important;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
316
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
317
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
318
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
319
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
320
|
+
display: none !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
315
323
|
/* Light theme customizations */
|
|
316
324
|
.ixo-editor--theme-light {
|
|
317
325
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -357,11 +365,6 @@
|
|
|
357
365
|
border-radius: 0px !important;
|
|
358
366
|
}
|
|
359
367
|
|
|
360
|
-
.ixo-editor .bn-container:focus-within {
|
|
361
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
362
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
368
|
/* Block styles */
|
|
366
369
|
.ixo-editor .bn-block {
|
|
367
370
|
margin-bottom: 0.5em;
|
package/style.css
CHANGED
|
@@ -114,6 +114,14 @@
|
|
|
114
114
|
border-radius: 0px !important;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
/* Read-only / published page: hide local collaboration cursor decorations */
|
|
118
|
+
.ixo-editor--readonly .bn-collaboration-cursor__base,
|
|
119
|
+
.ixo-editor--readonly .bn-collaboration-cursor__caret,
|
|
120
|
+
.ixo-editor--readonly .bn-collaboration-cursor__label,
|
|
121
|
+
.ixo-editor--readonly .ProseMirror-yjs-cursor {
|
|
122
|
+
display: none !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
117
125
|
/* Light theme customizations */
|
|
118
126
|
.ixo-editor--theme-light {
|
|
119
127
|
--bn-colors-editor-background: #ffffff;
|
|
@@ -159,11 +167,6 @@
|
|
|
159
167
|
border-radius: 0px !important;
|
|
160
168
|
}
|
|
161
169
|
|
|
162
|
-
.ixo-editor .bn-container:focus-within {
|
|
163
|
-
border-color: var(--bn-colors-highlight-colors-blue);
|
|
164
|
-
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
170
|
/* Block styles */
|
|
168
171
|
.ixo-editor .bn-block {
|
|
169
172
|
margin-bottom: 0.5em;
|