@ixo/editor 1.4.0 → 1.5.1
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-BO2JVTVH.mjs → chunk-VGSTHGS4.mjs} +370 -565
- package/dist/chunk-VGSTHGS4.mjs.map +1 -0
- package/dist/index.d.ts +10 -36
- package/dist/index.mjs +1 -1
- package/dist/mantine/index.mjs +1 -1
- package/package.json +7 -7
- package/style-mantine.css +1 -1
- package/style.css +1 -1
- package/dist/chunk-BO2JVTVH.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -960,15 +960,6 @@ declare const ProposalVoteBlockSpec: {
|
|
|
960
960
|
readonly dependsOn: {
|
|
961
961
|
readonly default: string;
|
|
962
962
|
};
|
|
963
|
-
readonly proposalBlockId: {
|
|
964
|
-
readonly default: "";
|
|
965
|
-
};
|
|
966
|
-
readonly hasDependencies: {
|
|
967
|
-
readonly default: true;
|
|
968
|
-
};
|
|
969
|
-
readonly dependencies: {
|
|
970
|
-
readonly default: "";
|
|
971
|
-
};
|
|
972
963
|
readonly title: {
|
|
973
964
|
readonly default: "";
|
|
974
965
|
};
|
|
@@ -999,15 +990,6 @@ declare const ProposalVoteBlockSpec: {
|
|
|
999
990
|
readonly dependsOn: {
|
|
1000
991
|
readonly default: string;
|
|
1001
992
|
};
|
|
1002
|
-
readonly proposalBlockId: {
|
|
1003
|
-
readonly default: "";
|
|
1004
|
-
};
|
|
1005
|
-
readonly hasDependencies: {
|
|
1006
|
-
readonly default: true;
|
|
1007
|
-
};
|
|
1008
|
-
readonly dependencies: {
|
|
1009
|
-
readonly default: "";
|
|
1010
|
-
};
|
|
1011
993
|
readonly title: {
|
|
1012
994
|
readonly default: "";
|
|
1013
995
|
};
|
|
@@ -1212,15 +1194,6 @@ declare const blockSpecs: {
|
|
|
1212
1194
|
readonly dependsOn: {
|
|
1213
1195
|
readonly default: string;
|
|
1214
1196
|
};
|
|
1215
|
-
readonly proposalBlockId: {
|
|
1216
|
-
readonly default: "";
|
|
1217
|
-
};
|
|
1218
|
-
readonly hasDependencies: {
|
|
1219
|
-
readonly default: true;
|
|
1220
|
-
};
|
|
1221
|
-
readonly dependencies: {
|
|
1222
|
-
readonly default: "";
|
|
1223
|
-
};
|
|
1224
1197
|
readonly title: {
|
|
1225
1198
|
readonly default: "";
|
|
1226
1199
|
};
|
|
@@ -1251,15 +1224,6 @@ declare const blockSpecs: {
|
|
|
1251
1224
|
readonly dependsOn: {
|
|
1252
1225
|
readonly default: string;
|
|
1253
1226
|
};
|
|
1254
|
-
readonly proposalBlockId: {
|
|
1255
|
-
readonly default: "";
|
|
1256
|
-
};
|
|
1257
|
-
readonly hasDependencies: {
|
|
1258
|
-
readonly default: true;
|
|
1259
|
-
};
|
|
1260
|
-
readonly dependencies: {
|
|
1261
|
-
readonly default: "";
|
|
1262
|
-
};
|
|
1263
1227
|
readonly title: {
|
|
1264
1228
|
readonly default: "";
|
|
1265
1229
|
};
|
|
@@ -1465,6 +1429,16 @@ interface IxoEditorType<BSchema extends IxoBlockSchema = IxoBlockSchema, ISchema
|
|
|
1465
1429
|
* @returns Array of flow blocks
|
|
1466
1430
|
*/
|
|
1467
1431
|
getFlow?: () => any[];
|
|
1432
|
+
/**
|
|
1433
|
+
* Get the document type (template, flow, page, or empty)
|
|
1434
|
+
* @returns Document type string
|
|
1435
|
+
*/
|
|
1436
|
+
getDocType?: () => string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Set the document type (template, flow, page, or empty)
|
|
1439
|
+
* @param value - Document type to set
|
|
1440
|
+
*/
|
|
1441
|
+
setDocType?: (value: 'template' | 'flow' | 'page' | '') => void;
|
|
1468
1442
|
}
|
|
1469
1443
|
/**
|
|
1470
1444
|
* Re-map BlockNote renderer props to use IxoEditorType instead of BlockNoteEditor.
|
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": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "A custom BlockNote editor wrapper for IXO team",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"react-dom": "^18.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@blocknote/core": "
|
|
61
|
-
"@blocknote/mantine": "
|
|
62
|
-
"@blocknote/react": "
|
|
63
|
-
"@tabler/icons-react": "
|
|
64
|
-
"yjs": "
|
|
65
|
-
"zustand": "
|
|
60
|
+
"@blocknote/core": "0.29.1",
|
|
61
|
+
"@blocknote/mantine": "0.29.1",
|
|
62
|
+
"@blocknote/react": "0.29.1",
|
|
63
|
+
"@tabler/icons-react": "3.35.0",
|
|
64
|
+
"yjs": "13.6.27",
|
|
65
|
+
"zustand": "5.0.8"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@commitlint/cli": "^20.0.0",
|