@atlaskit/editor-core 224.1.2 → 224.1.3
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 +19 -0
- package/dist/cjs/presets/universal.js +1 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 224.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1eb42bae392d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1eb42bae392d7) -
|
|
8
|
+
Clean up experiment `platform_editor_remove_bidi_char_warning`. Bidirectional character warnings
|
|
9
|
+
are no longer rendered in code blocks: `codeBidiWarningPlugin` is no longer registered by any
|
|
10
|
+
preset, and the renderer passes `hasBidiWarnings={false}` to `@atlaskit/code` code blocks. Bidi
|
|
11
|
+
warnings on inline `code` marks are unaffected.
|
|
12
|
+
|
|
13
|
+
`codeBidiWarning` has been removed from the plugin lists and plugin options of the Confluence
|
|
14
|
+
full-page, Confluence markdown, and Company Hub presets, so consumers no longer need to pass
|
|
15
|
+
`pluginOptions.codeBidiWarning` or `enabledOptionalPlugins.codeBidiWarning`.
|
|
16
|
+
|
|
17
|
+
`@atlaskit/editor-plugin-code-bidi-warning` is retained but now has no consumers; it is scheduled
|
|
18
|
+
for removal in a follow-up.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 224.1.2
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -20,7 +20,6 @@ var _border = require("@atlaskit/editor-plugins/border");
|
|
|
20
20
|
var _breakout = require("@atlaskit/editor-plugins/breakout");
|
|
21
21
|
var _caption = require("@atlaskit/editor-plugins/caption");
|
|
22
22
|
var _card = require("@atlaskit/editor-plugins/card");
|
|
23
|
-
var _codeBidiWarning = require("@atlaskit/editor-plugins/code-bidi-warning");
|
|
24
23
|
var _collabEdit = require("@atlaskit/editor-plugins/collab-edit");
|
|
25
24
|
var _contentInsertion = require("@atlaskit/editor-plugins/content-insertion");
|
|
26
25
|
var _contextPanel = require("@atlaskit/editor-plugins/context-panel");
|
|
@@ -255,9 +254,7 @@ function createUniversalPresetInternal(_ref) {
|
|
|
255
254
|
}]).maybeAdd([_findReplace.findReplacePlugin, {
|
|
256
255
|
takeFullWidth: !!featureFlags.showAvatarGroupAsPlugin === false && !hasBeforePrimaryToolbar(props.primaryToolbarComponents),
|
|
257
256
|
twoLineEditorToolbar: !!props.primaryToolbarComponents && !!featureFlags.twoLineEditorToolbar
|
|
258
|
-
}], Boolean(props.allowFindReplace)).maybeAdd(_border.borderPlugin, Boolean(props.allowBorderMark)).maybeAdd(_fragment.fragmentPlugin, Boolean(props.allowFragmentMark)).add(_pasteOptionsToolbar.pasteOptionsToolbarPlugin)
|
|
259
|
-
appearance: appearance
|
|
260
|
-
}], !(0, _expValEquals.expValEquals)('platform_editor_remove_bidi_char_warning', 'isEnabled', true));
|
|
257
|
+
}], Boolean(props.allowFindReplace)).maybeAdd(_border.borderPlugin, Boolean(props.allowBorderMark)).maybeAdd(_fragment.fragmentPlugin, Boolean(props.allowFragmentMark)).add(_pasteOptionsToolbar.pasteOptionsToolbarPlugin);
|
|
261
258
|
return finalPreset;
|
|
262
259
|
}
|
|
263
260
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "224.1.
|
|
9
|
+
var version = exports.version = "224.1.2";
|
|
@@ -10,7 +10,6 @@ import { borderPlugin } from '@atlaskit/editor-plugins/border';
|
|
|
10
10
|
import { breakoutPlugin } from '@atlaskit/editor-plugins/breakout';
|
|
11
11
|
import { captionPlugin } from '@atlaskit/editor-plugins/caption';
|
|
12
12
|
import { cardPlugin } from '@atlaskit/editor-plugins/card';
|
|
13
|
-
import { codeBidiWarningPlugin } from '@atlaskit/editor-plugins/code-bidi-warning';
|
|
14
13
|
import { collabEditPlugin } from '@atlaskit/editor-plugins/collab-edit';
|
|
15
14
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugins/content-insertion';
|
|
16
15
|
import { contextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
@@ -260,9 +259,7 @@ export default function createUniversalPresetInternal({
|
|
|
260
259
|
}]).maybeAdd([findReplacePlugin, {
|
|
261
260
|
takeFullWidth: !!featureFlags.showAvatarGroupAsPlugin === false && !hasBeforePrimaryToolbar(props.primaryToolbarComponents),
|
|
262
261
|
twoLineEditorToolbar: !!props.primaryToolbarComponents && !!featureFlags.twoLineEditorToolbar
|
|
263
|
-
}], Boolean(props.allowFindReplace)).maybeAdd(borderPlugin, Boolean(props.allowBorderMark)).maybeAdd(fragmentPlugin, Boolean(props.allowFragmentMark)).add(pasteOptionsToolbarPlugin)
|
|
264
|
-
appearance
|
|
265
|
-
}], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true));
|
|
262
|
+
}], Boolean(props.allowFindReplace)).maybeAdd(borderPlugin, Boolean(props.allowBorderMark)).maybeAdd(fragmentPlugin, Boolean(props.allowFragmentMark)).add(pasteOptionsToolbarPlugin);
|
|
266
263
|
return finalPreset;
|
|
267
264
|
}
|
|
268
265
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
@@ -14,7 +14,6 @@ import { borderPlugin } from '@atlaskit/editor-plugins/border';
|
|
|
14
14
|
import { breakoutPlugin } from '@atlaskit/editor-plugins/breakout';
|
|
15
15
|
import { captionPlugin } from '@atlaskit/editor-plugins/caption';
|
|
16
16
|
import { cardPlugin } from '@atlaskit/editor-plugins/card';
|
|
17
|
-
import { codeBidiWarningPlugin } from '@atlaskit/editor-plugins/code-bidi-warning';
|
|
18
17
|
import { collabEditPlugin } from '@atlaskit/editor-plugins/collab-edit';
|
|
19
18
|
import { contentInsertionPlugin } from '@atlaskit/editor-plugins/content-insertion';
|
|
20
19
|
import { contextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
@@ -248,9 +247,7 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
248
247
|
}]).maybeAdd([findReplacePlugin, {
|
|
249
248
|
takeFullWidth: !!featureFlags.showAvatarGroupAsPlugin === false && !hasBeforePrimaryToolbar(props.primaryToolbarComponents),
|
|
250
249
|
twoLineEditorToolbar: !!props.primaryToolbarComponents && !!featureFlags.twoLineEditorToolbar
|
|
251
|
-
}], Boolean(props.allowFindReplace)).maybeAdd(borderPlugin, Boolean(props.allowBorderMark)).maybeAdd(fragmentPlugin, Boolean(props.allowFragmentMark)).add(pasteOptionsToolbarPlugin)
|
|
252
|
-
appearance: appearance
|
|
253
|
-
}], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true));
|
|
250
|
+
}], Boolean(props.allowFindReplace)).maybeAdd(borderPlugin, Boolean(props.allowBorderMark)).maybeAdd(fragmentPlugin, Boolean(props.allowFragmentMark)).add(pasteOptionsToolbarPlugin);
|
|
254
251
|
return finalPreset;
|
|
255
252
|
}
|
|
256
253
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "224.1.
|
|
3
|
+
"version": "224.1.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
59
59
|
"@atlaskit/emoji": "^72.0.0",
|
|
60
60
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
61
|
-
"@atlaskit/icon": "^37.
|
|
61
|
+
"@atlaskit/icon": "^37.4.0",
|
|
62
62
|
"@atlaskit/insm": "^2.0.0",
|
|
63
63
|
"@atlaskit/link": "^5.0.0",
|
|
64
64
|
"@atlaskit/media-card": "^81.6.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
70
70
|
"@atlaskit/react-ufo": "^7.6.0",
|
|
71
71
|
"@atlaskit/task-decision": "^21.8.0",
|
|
72
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
72
|
+
"@atlaskit/tmp-editor-statsig": "^151.0.0",
|
|
73
73
|
"@atlaskit/tokens": "^16.7.0",
|
|
74
74
|
"@atlaskit/tooltip": "^24.0.0",
|
|
75
75
|
"@atlaskit/width-detector": "^7.0.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/modal-dialog": "^16.3.0",
|
|
117
117
|
"@atlaskit/popper": "^9.1.0",
|
|
118
118
|
"@atlaskit/portal": "^6.2.0",
|
|
119
|
-
"@atlaskit/renderer": "^136.
|
|
119
|
+
"@atlaskit/renderer": "^136.1.0",
|
|
120
120
|
"@atlaskit/section-message": "^10.0.0",
|
|
121
121
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
122
122
|
"@atlaskit/toggle": "^17.1.0",
|