@atlaskit/editor-core 187.44.11 → 187.45.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/CHANGELOG.md +6 -0
- package/dist/cjs/labs/next/presets/universal.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/labs/next/presets/universal.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/labs/next/presets/universal.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/types/editor-props.d.ts +6 -0
- package/dist/types-ts4.5/types/editor-props.d.ts +6 -0
- package/package.json +1 -1
- package/report.api.md +2 -0
- package/tmp/api-report-tmp.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 187.45.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b9264ebb903`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9264ebb903) - Deprecate 'UNSAFE_allowBorderMark' prop in the editor plugin and replace it with 'allowBorderMark'
|
|
8
|
+
|
|
3
9
|
## 187.44.11
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -379,7 +379,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
379
379
|
}
|
|
380
380
|
return builder;
|
|
381
381
|
}).maybeAdd(_plugins.borderPlugin, function (plugin, builder) {
|
|
382
|
-
if (props.UNSAFE_allowBorderMark) {
|
|
382
|
+
if (props.allowBorderMark || props.UNSAFE_allowBorderMark) {
|
|
383
383
|
return builder.add(plugin);
|
|
384
384
|
}
|
|
385
385
|
return builder;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "187.
|
|
9
|
+
var version = "187.45.0";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
|
@@ -376,7 +376,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
376
376
|
}
|
|
377
377
|
return builder;
|
|
378
378
|
}).maybeAdd(borderPlugin, (plugin, builder) => {
|
|
379
|
-
if (props.UNSAFE_allowBorderMark) {
|
|
379
|
+
if (props.allowBorderMark || props.UNSAFE_allowBorderMark) {
|
|
380
380
|
return builder.add(plugin);
|
|
381
381
|
}
|
|
382
382
|
return builder;
|
|
@@ -372,7 +372,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
372
372
|
}
|
|
373
373
|
return builder;
|
|
374
374
|
}).maybeAdd(borderPlugin, function (plugin, builder) {
|
|
375
|
-
if (props.UNSAFE_allowBorderMark) {
|
|
375
|
+
if (props.allowBorderMark || props.UNSAFE_allowBorderMark) {
|
|
376
376
|
return builder.add(plugin);
|
|
377
377
|
}
|
|
378
378
|
return builder;
|
|
@@ -212,8 +212,14 @@ export interface EditorPluginFeatureProps {
|
|
|
212
212
|
/**
|
|
213
213
|
* Enable experimental support for the "border" mark.
|
|
214
214
|
* Refer to ADF Change proposal #65 for more details.
|
|
215
|
+
* @deprecated Use allowBorderMark instead.
|
|
215
216
|
*/
|
|
216
217
|
UNSAFE_allowBorderMark?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Enable support for the "border" mark.
|
|
220
|
+
* Refer to ADF Change proposal #65 for more details.
|
|
221
|
+
*/
|
|
222
|
+
allowBorderMark?: boolean;
|
|
217
223
|
/**
|
|
218
224
|
* Enable support for the "fragment" mark.
|
|
219
225
|
* Refer to ADF Change proposal #60 for more details.
|
|
@@ -212,8 +212,14 @@ export interface EditorPluginFeatureProps {
|
|
|
212
212
|
/**
|
|
213
213
|
* Enable experimental support for the "border" mark.
|
|
214
214
|
* Refer to ADF Change proposal #65 for more details.
|
|
215
|
+
* @deprecated Use allowBorderMark instead.
|
|
215
216
|
*/
|
|
216
217
|
UNSAFE_allowBorderMark?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Enable support for the "border" mark.
|
|
220
|
+
* Refer to ADF Change proposal #65 for more details.
|
|
221
|
+
*/
|
|
222
|
+
allowBorderMark?: boolean;
|
|
217
223
|
/**
|
|
218
224
|
* Enable support for the "fragment" mark.
|
|
219
225
|
* Refer to ADF Change proposal #60 for more details.
|
package/package.json
CHANGED
package/report.api.md
CHANGED
|
@@ -767,6 +767,7 @@ interface EditorPluginFeatureProps {
|
|
|
767
767
|
allowAnalyticsGASV3?: boolean;
|
|
768
768
|
// (undocumented)
|
|
769
769
|
allowBlockType?: BlockTypePluginOptions['allowBlockType'];
|
|
770
|
+
allowBorderMark?: boolean;
|
|
770
771
|
// (undocumented)
|
|
771
772
|
allowBreakout?: boolean;
|
|
772
773
|
// (undocumented)
|
|
@@ -846,6 +847,7 @@ interface EditorPluginFeatureProps {
|
|
|
846
847
|
smartLinks?: CardOptions;
|
|
847
848
|
// (undocumented)
|
|
848
849
|
textFormatting?: TextFormattingOptions;
|
|
850
|
+
// @deprecated
|
|
849
851
|
UNSAFE_allowBorderMark?: boolean;
|
|
850
852
|
// @deprecated (undocumented)
|
|
851
853
|
UNSAFE_cards?: CardOptions;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -700,6 +700,7 @@ interface EditorPluginFeatureProps {
|
|
|
700
700
|
allowAnalyticsGASV3?: boolean;
|
|
701
701
|
// (undocumented)
|
|
702
702
|
allowBlockType?: BlockTypePluginOptions['allowBlockType'];
|
|
703
|
+
allowBorderMark?: boolean;
|
|
703
704
|
// (undocumented)
|
|
704
705
|
allowBreakout?: boolean;
|
|
705
706
|
// (undocumented)
|
|
@@ -775,6 +776,7 @@ interface EditorPluginFeatureProps {
|
|
|
775
776
|
smartLinks?: CardOptions;
|
|
776
777
|
// (undocumented)
|
|
777
778
|
textFormatting?: TextFormattingOptions;
|
|
779
|
+
// @deprecated
|
|
778
780
|
UNSAFE_allowBorderMark?: boolean;
|
|
779
781
|
// @deprecated (undocumented)
|
|
780
782
|
UNSAFE_cards?: CardOptions;
|