@atlaskit/editor-core 217.12.5 → 217.12.7
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 +16 -0
- package/dist/cjs/presets/universal.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/docs/4-annotations.tsx +2 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 217.12.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`48a64b7bbac82`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/48a64b7bbac82) -
|
|
8
|
+
Clean up stale experiment platform_editor_plain_text_support (always-enabled path)
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 217.12.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`ddd049a745d38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ddd049a745d38) -
|
|
16
|
+
Internal change to how legacy colors are applied. No visual changes.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 217.12.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -161,7 +161,7 @@ function createUniversalPresetInternal(_ref) {
|
|
|
161
161
|
mentionProvider: props.mentionProvider
|
|
162
162
|
}, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.mentionsPlugin)], Boolean(props.mentionProvider)).maybeAdd([_emoji.emojiPlugin, _objectSpread({
|
|
163
163
|
emojiProvider: props.emojiProvider
|
|
164
|
-
},
|
|
164
|
+
}, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.emojiPlugin)], Boolean(props.emojiProvider)).maybeAdd([_table.tablesPlugin, {
|
|
165
165
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
166
166
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && (0, _experiments.editorExperiment)('support_table_in_comment', true, {
|
|
167
167
|
exposure: true
|
|
@@ -156,7 +156,7 @@ export default function createUniversalPresetInternal({
|
|
|
156
156
|
...(initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.mentionsPlugin)
|
|
157
157
|
}], Boolean(props.mentionProvider)).maybeAdd([emojiPlugin, {
|
|
158
158
|
emojiProvider: props.emojiProvider,
|
|
159
|
-
...(
|
|
159
|
+
...(initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.emojiPlugin)
|
|
160
160
|
}], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
|
|
161
161
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
162
162
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && editorExperiment('support_table_in_comment', true, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "217.12.6";
|
|
@@ -154,7 +154,7 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
154
154
|
mentionProvider: props.mentionProvider
|
|
155
155
|
}, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.mentionsPlugin)], Boolean(props.mentionProvider)).maybeAdd([emojiPlugin, _objectSpread({
|
|
156
156
|
emojiProvider: props.emojiProvider
|
|
157
|
-
},
|
|
157
|
+
}, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.emojiPlugin)], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
|
|
158
158
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
159
159
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && editorExperiment('support_table_in_comment', true, {
|
|
160
160
|
exposure: true
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "217.12.6";
|
package/docs/4-annotations.tsx
CHANGED
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { code, md } from '@atlaskit/docs';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
|
-
import { N20 } from '@atlaskit/theme/colors';
|
|
7
6
|
import { token } from '@atlaskit/tokens';
|
|
8
7
|
|
|
9
8
|
import { Editor } from '../src';
|
|
@@ -203,7 +202,7 @@ class SplitExample extends React.Component<{ initialAdf: object }> {
|
|
|
203
202
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
204
203
|
padding: token('space.100'),
|
|
205
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
206
|
-
backgroundColor:
|
|
205
|
+
backgroundColor: '#F4F5F7',
|
|
207
206
|
border: `${token('border.width')} solid ${token('color.border.accent.gray')}`,
|
|
208
207
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
209
208
|
flex: 1,
|
|
@@ -252,7 +251,7 @@ ${(
|
|
|
252
251
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
253
252
|
padding: token('space.100'),
|
|
254
253
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
255
|
-
backgroundColor:
|
|
254
|
+
backgroundColor: '#F4F5F7',
|
|
256
255
|
border: `${token('border.width')} solid ${token('color.border.accent.gray')}`,
|
|
257
256
|
}}
|
|
258
257
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "217.12.
|
|
3
|
+
"version": "217.12.7",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
68
68
|
"@atlaskit/react-ufo": "^5.12.0",
|
|
69
69
|
"@atlaskit/task-decision": "^19.3.0",
|
|
70
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
70
|
+
"@atlaskit/tmp-editor-statsig": "^58.0.0",
|
|
71
71
|
"@atlaskit/tokens": "^12.0.0",
|
|
72
72
|
"@atlaskit/tooltip": "^21.1.0",
|
|
73
73
|
"@atlaskit/width-detector": "^5.0.0",
|