@atlaskit/editor-core 193.24.18 → 193.24.19
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/CHANGELOG.md +8 -0
- package/dist/cjs/create-editor/ReactEditorView.js +44 -27
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +44 -27
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +44 -27
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +0 -1
- package/dist/types/create-editor/create-preset.d.ts +31 -0
- package/dist/types/presets/default.d.ts +22 -0
- package/dist/types/presets/universal.d.ts +31 -0
- package/dist/types/presets/useUniversalPreset.d.ts +31 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +31 -0
- package/dist/types-ts4.5/presets/default.d.ts +22 -0
- package/dist/types-ts4.5/presets/universal.d.ts +31 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +31 -0
- package/package.json +4 -1
|
@@ -207,6 +207,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
207
207
|
to: number;
|
|
208
208
|
mark: import("prosemirror-model").Mark;
|
|
209
209
|
}) => boolean;
|
|
210
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
210
211
|
};
|
|
211
212
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
212
213
|
];
|
|
@@ -380,6 +381,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
380
381
|
to: number;
|
|
381
382
|
mark: import("prosemirror-model").Mark;
|
|
382
383
|
}) => boolean;
|
|
384
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
383
385
|
};
|
|
384
386
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
385
387
|
];
|
|
@@ -532,6 +534,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
532
534
|
to: number;
|
|
533
535
|
mark: import("prosemirror-model").Mark;
|
|
534
536
|
}) => boolean;
|
|
537
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
535
538
|
};
|
|
536
539
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
537
540
|
];
|
|
@@ -716,6 +719,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
716
719
|
to: number;
|
|
717
720
|
mark: import("prosemirror-model").Mark;
|
|
718
721
|
}) => boolean;
|
|
722
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
719
723
|
};
|
|
720
724
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
721
725
|
];
|
|
@@ -828,6 +832,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
828
832
|
to: number;
|
|
829
833
|
mark: import("prosemirror-model").Mark;
|
|
830
834
|
}) => boolean;
|
|
835
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
831
836
|
};
|
|
832
837
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
833
838
|
];
|
|
@@ -972,6 +977,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
972
977
|
to: number;
|
|
973
978
|
mark: import("prosemirror-model").Mark;
|
|
974
979
|
}) => boolean;
|
|
980
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
975
981
|
};
|
|
976
982
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
977
983
|
];
|
|
@@ -1097,6 +1103,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1097
1103
|
to: number;
|
|
1098
1104
|
mark: import("prosemirror-model").Mark;
|
|
1099
1105
|
}) => boolean;
|
|
1106
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1100
1107
|
};
|
|
1101
1108
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>
|
|
1102
1109
|
];
|
|
@@ -1413,6 +1420,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1413
1420
|
to: number;
|
|
1414
1421
|
mark: import("prosemirror-model").Mark;
|
|
1415
1422
|
}) => boolean;
|
|
1423
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1416
1424
|
};
|
|
1417
1425
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
1418
1426
|
];
|
|
@@ -1586,6 +1594,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1586
1594
|
to: number;
|
|
1587
1595
|
mark: import("prosemirror-model").Mark;
|
|
1588
1596
|
}) => boolean;
|
|
1597
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1589
1598
|
};
|
|
1590
1599
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
1591
1600
|
];
|
|
@@ -1846,6 +1855,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1846
1855
|
to: number;
|
|
1847
1856
|
mark: import("prosemirror-model").Mark;
|
|
1848
1857
|
}) => boolean;
|
|
1858
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1849
1859
|
};
|
|
1850
1860
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
1851
1861
|
];
|
|
@@ -2001,6 +2011,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2001
2011
|
to: number;
|
|
2002
2012
|
mark: import("prosemirror-model").Mark;
|
|
2003
2013
|
}) => boolean;
|
|
2014
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2004
2015
|
};
|
|
2005
2016
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>,
|
|
2006
2017
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"media", {
|
|
@@ -2065,6 +2076,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2065
2076
|
to: number;
|
|
2066
2077
|
mark: import("prosemirror-model").Mark;
|
|
2067
2078
|
}) => boolean;
|
|
2079
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2068
2080
|
};
|
|
2069
2081
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
2070
2082
|
];
|
|
@@ -2249,6 +2261,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2249
2261
|
to: number;
|
|
2250
2262
|
mark: import("prosemirror-model").Mark;
|
|
2251
2263
|
}) => boolean;
|
|
2264
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2252
2265
|
};
|
|
2253
2266
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
2254
2267
|
];
|
|
@@ -2361,6 +2374,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2361
2374
|
to: number;
|
|
2362
2375
|
mark: import("prosemirror-model").Mark;
|
|
2363
2376
|
}) => boolean;
|
|
2377
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2364
2378
|
};
|
|
2365
2379
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
2366
2380
|
];
|
|
@@ -2709,6 +2723,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2709
2723
|
to: number;
|
|
2710
2724
|
mark: import("prosemirror-model").Mark;
|
|
2711
2725
|
}) => boolean;
|
|
2726
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2712
2727
|
};
|
|
2713
2728
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
2714
2729
|
];
|
|
@@ -2962,6 +2977,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2962
2977
|
to: number;
|
|
2963
2978
|
mark: import("prosemirror-model").Mark;
|
|
2964
2979
|
}) => boolean;
|
|
2980
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2965
2981
|
};
|
|
2966
2982
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
2967
2983
|
];
|
|
@@ -3146,6 +3162,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3146
3162
|
to: number;
|
|
3147
3163
|
mark: import("prosemirror-model").Mark;
|
|
3148
3164
|
}) => boolean;
|
|
3165
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3149
3166
|
};
|
|
3150
3167
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
3151
3168
|
];
|
|
@@ -3258,6 +3275,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3258
3275
|
to: number;
|
|
3259
3276
|
mark: import("prosemirror-model").Mark;
|
|
3260
3277
|
}) => boolean;
|
|
3278
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3261
3279
|
};
|
|
3262
3280
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
3263
3281
|
];
|
|
@@ -3346,6 +3364,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3346
3364
|
to: number;
|
|
3347
3365
|
mark: import("prosemirror-model").Mark;
|
|
3348
3366
|
}) => boolean;
|
|
3367
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3349
3368
|
};
|
|
3350
3369
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
3351
3370
|
];
|
|
@@ -3652,6 +3671,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3652
3671
|
to: number;
|
|
3653
3672
|
mark: import("prosemirror-model").Mark;
|
|
3654
3673
|
}) => boolean;
|
|
3674
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3655
3675
|
};
|
|
3656
3676
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
3657
3677
|
];
|
|
@@ -3875,6 +3895,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3875
3895
|
to: number;
|
|
3876
3896
|
mark: import("prosemirror-model").Mark;
|
|
3877
3897
|
}) => boolean;
|
|
3898
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3878
3899
|
};
|
|
3879
3900
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
3880
3901
|
];
|
|
@@ -4002,6 +4023,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4002
4023
|
to: number;
|
|
4003
4024
|
mark: import("prosemirror-model").Mark;
|
|
4004
4025
|
}) => boolean;
|
|
4026
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4005
4027
|
};
|
|
4006
4028
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
4007
4029
|
];
|
|
@@ -4186,6 +4208,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4186
4208
|
to: number;
|
|
4187
4209
|
mark: import("prosemirror-model").Mark;
|
|
4188
4210
|
}) => boolean;
|
|
4211
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4189
4212
|
};
|
|
4190
4213
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
4191
4214
|
];
|
|
@@ -4298,6 +4321,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4298
4321
|
to: number;
|
|
4299
4322
|
mark: import("prosemirror-model").Mark;
|
|
4300
4323
|
}) => boolean;
|
|
4324
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4301
4325
|
};
|
|
4302
4326
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
4303
4327
|
];
|
|
@@ -4572,6 +4596,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4572
4596
|
to: number;
|
|
4573
4597
|
mark: import("prosemirror-model").Mark;
|
|
4574
4598
|
}) => boolean;
|
|
4599
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4575
4600
|
};
|
|
4576
4601
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
4577
4602
|
];
|
|
@@ -4896,6 +4921,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4896
4921
|
to: number;
|
|
4897
4922
|
mark: import("prosemirror-model").Mark;
|
|
4898
4923
|
}) => boolean;
|
|
4924
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
4899
4925
|
};
|
|
4900
4926
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
4901
4927
|
];
|
|
@@ -5069,6 +5095,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5069
5095
|
to: number;
|
|
5070
5096
|
mark: import("prosemirror-model").Mark;
|
|
5071
5097
|
}) => boolean;
|
|
5098
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5072
5099
|
};
|
|
5073
5100
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
5074
5101
|
];
|
|
@@ -5221,6 +5248,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5221
5248
|
to: number;
|
|
5222
5249
|
mark: import("prosemirror-model").Mark;
|
|
5223
5250
|
}) => boolean;
|
|
5251
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5224
5252
|
};
|
|
5225
5253
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
5226
5254
|
];
|
|
@@ -5405,6 +5433,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5405
5433
|
to: number;
|
|
5406
5434
|
mark: import("prosemirror-model").Mark;
|
|
5407
5435
|
}) => boolean;
|
|
5436
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5408
5437
|
};
|
|
5409
5438
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
5410
5439
|
];
|
|
@@ -5517,6 +5546,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5517
5546
|
to: number;
|
|
5518
5547
|
mark: import("prosemirror-model").Mark;
|
|
5519
5548
|
}) => boolean;
|
|
5549
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5520
5550
|
};
|
|
5521
5551
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
5522
5552
|
];
|
|
@@ -5661,6 +5691,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5661
5691
|
to: number;
|
|
5662
5692
|
mark: import("prosemirror-model").Mark;
|
|
5663
5693
|
}) => boolean;
|
|
5694
|
+
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
5664
5695
|
};
|
|
5665
5696
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>
|
|
5666
5697
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.24.
|
|
3
|
+
"version": "193.24.19",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -329,6 +329,9 @@
|
|
|
329
329
|
"type": "boolean",
|
|
330
330
|
"referenceOnly": true
|
|
331
331
|
},
|
|
332
|
+
"platform.editor.live-view.no-editor-selection-in-view-mode": {
|
|
333
|
+
"type": "boolean"
|
|
334
|
+
},
|
|
332
335
|
"platform.editor.scale-table-when-number-column-in-table-resized_y4qh2": {
|
|
333
336
|
"type": "boolean",
|
|
334
337
|
"referenceOnly": "true"
|