@atlaskit/editor-core 215.15.2 → 215.15.4
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 +14 -0
- package/dist/cjs/create-editor/editorStateNotificationPlugin.js +0 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/editorStateNotificationPlugin.js +0 -6
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/editorStateNotificationPlugin.js +0 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +1 -1
- package/dist/types/presets/universal.d.ts +1 -1
- package/dist/types/presets/useUniversalPreset.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1 -1
- package/dist/types-ts4.5/presets/universal.d.ts +1 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 215.15.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) -
|
|
8
|
+
tsignores added for help-center local consumpton removed
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 215.15.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 215.15.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -12,13 +12,11 @@ var createEditorStateNotificationPlugin = exports.createEditorStateNotificationP
|
|
|
12
12
|
return new _safePlugin.SafePlugin({
|
|
13
13
|
key: key,
|
|
14
14
|
state: {
|
|
15
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
16
15
|
init: function init() {
|
|
17
16
|
return {
|
|
18
17
|
latestTransaction: undefined
|
|
19
18
|
};
|
|
20
19
|
},
|
|
21
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
22
20
|
apply: function apply(tr) {
|
|
23
21
|
transactions.push(tr);
|
|
24
22
|
return {
|
|
@@ -28,8 +26,6 @@ var createEditorStateNotificationPlugin = exports.createEditorStateNotificationP
|
|
|
28
26
|
},
|
|
29
27
|
view: function view() {
|
|
30
28
|
return {
|
|
31
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
32
|
-
|
|
33
29
|
update: function update(view, oldEditorState) {
|
|
34
30
|
onEditorStateUpdated({
|
|
35
31
|
oldEditorState: oldEditorState,
|
|
@@ -6,15 +6,11 @@ export const createEditorStateNotificationPlugin = (onEditorStateUpdated, onEdit
|
|
|
6
6
|
return new SafePlugin({
|
|
7
7
|
key: key,
|
|
8
8
|
state: {
|
|
9
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
10
|
-
|
|
11
9
|
init() {
|
|
12
10
|
return {
|
|
13
11
|
latestTransaction: undefined
|
|
14
12
|
};
|
|
15
13
|
},
|
|
16
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
17
|
-
|
|
18
14
|
apply(tr) {
|
|
19
15
|
transactions.push(tr);
|
|
20
16
|
return {
|
|
@@ -24,8 +20,6 @@ export const createEditorStateNotificationPlugin = (onEditorStateUpdated, onEdit
|
|
|
24
20
|
},
|
|
25
21
|
view: () => {
|
|
26
22
|
return {
|
|
27
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
28
|
-
|
|
29
23
|
update: (view, oldEditorState) => {
|
|
30
24
|
onEditorStateUpdated({
|
|
31
25
|
oldEditorState,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -6,13 +6,11 @@ export var createEditorStateNotificationPlugin = function createEditorStateNotif
|
|
|
6
6
|
return new SafePlugin({
|
|
7
7
|
key: key,
|
|
8
8
|
state: {
|
|
9
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
10
9
|
init: function init() {
|
|
11
10
|
return {
|
|
12
11
|
latestTransaction: undefined
|
|
13
12
|
};
|
|
14
13
|
},
|
|
15
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
16
14
|
apply: function apply(tr) {
|
|
17
15
|
transactions.push(tr);
|
|
18
16
|
return {
|
|
@@ -22,8 +20,6 @@ export var createEditorStateNotificationPlugin = function createEditorStateNotif
|
|
|
22
20
|
},
|
|
23
21
|
view: function view() {
|
|
24
22
|
return {
|
|
25
|
-
// @ts-ignore - Workaround for help-center local consumption
|
|
26
|
-
|
|
27
23
|
update: function update(view, oldEditorState) {
|
|
28
24
|
onEditorStateUpdated({
|
|
29
25
|
oldEditorState: oldEditorState,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
|
@@ -398,7 +398,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
398
398
|
};
|
|
399
399
|
commands: {
|
|
400
400
|
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
401
|
-
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").
|
|
401
|
+
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").TransformNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
402
402
|
};
|
|
403
403
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
404
404
|
pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
|
|
@@ -471,7 +471,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
471
471
|
};
|
|
472
472
|
commands: {
|
|
473
473
|
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
474
|
-
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").
|
|
474
|
+
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").TransformNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
475
475
|
};
|
|
476
476
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
477
477
|
pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
|
|
@@ -398,7 +398,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
398
398
|
};
|
|
399
399
|
commands: {
|
|
400
400
|
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
401
|
-
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").
|
|
401
|
+
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").TransformNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
402
402
|
};
|
|
403
403
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
|
|
404
404
|
pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
|
|
@@ -563,7 +563,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
563
563
|
};
|
|
564
564
|
commands: {
|
|
565
565
|
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
566
|
-
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").
|
|
566
|
+
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").TransformNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
567
567
|
};
|
|
568
568
|
dependencies: [
|
|
569
569
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
|
|
@@ -636,7 +636,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
636
636
|
};
|
|
637
637
|
commands: {
|
|
638
638
|
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
639
|
-
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").
|
|
639
|
+
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").TransformNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
640
640
|
};
|
|
641
641
|
dependencies: [
|
|
642
642
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
|
|
@@ -563,7 +563,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
563
563
|
};
|
|
564
564
|
commands: {
|
|
565
565
|
formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
566
|
-
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").
|
|
566
|
+
transformNode: (targetType: import("prosemirror-model").NodeType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").TransformNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
567
567
|
};
|
|
568
568
|
dependencies: [
|
|
569
569
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "215.15.
|
|
3
|
+
"version": "215.15.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,18 +53,18 @@
|
|
|
53
53
|
"@atlaskit/editor-plugins": "^11.1.0",
|
|
54
54
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
55
55
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
56
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
56
|
+
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
57
57
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
58
58
|
"@atlaskit/emoji": "^69.8.0",
|
|
59
59
|
"@atlaskit/icon": "^29.0.0",
|
|
60
60
|
"@atlaskit/link": "^3.2.0",
|
|
61
|
-
"@atlaskit/media-card": "^79.
|
|
61
|
+
"@atlaskit/media-card": "^79.9.0",
|
|
62
62
|
"@atlaskit/mention": "^24.4.0",
|
|
63
63
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
65
65
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
66
66
|
"@atlaskit/task-decision": "^19.2.0",
|
|
67
|
-
"@atlaskit/tmp-editor-statsig": "^14.
|
|
67
|
+
"@atlaskit/tmp-editor-statsig": "^14.2.0",
|
|
68
68
|
"@atlaskit/tokens": "^8.4.0",
|
|
69
69
|
"@atlaskit/tooltip": "^20.10.0",
|
|
70
70
|
"@atlaskit/width-detector": "^5.0.0",
|