@atlaskit/editor-plugin-extension 3.0.5 → 3.0.6
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 +9 -0
- package/dist/cjs/extensionPlugin.js +2 -2
- package/dist/cjs/pm-plugins/toolbar.js +2 -2
- package/dist/es2019/extensionPlugin.js +1 -1
- package/dist/es2019/pm-plugins/toolbar.js +2 -2
- package/dist/esm/extensionPlugin.js +1 -1
- package/dist/esm/pm-plugins/toolbar.js +2 -2
- package/package.json +6 -6
- /package/dist/cjs/pm-plugins/macro/{index.js → plugin.js} +0 -0
- /package/dist/es2019/pm-plugins/macro/{index.js → plugin.js} +0 -0
- /package/dist/esm/pm-plugins/macro/{index.js → plugin.js} +0 -0
- /package/dist/types/pm-plugins/macro/{index.d.ts → plugin.d.ts} +0 -0
- /package/dist/types-ts4.5/pm-plugins/macro/{index.d.ts → plugin.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 3.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#105671](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105671)
|
|
8
|
+
[`9b856dd6141f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9b856dd6141f4) -
|
|
9
|
+
Update file path to fix issue on notification storybook
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.0.5
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -11,8 +11,8 @@ var _actions = require("./editor-actions/actions");
|
|
|
11
11
|
var _commands = require("./editor-commands/commands");
|
|
12
12
|
var _extensionApi = require("./pm-plugins/extension-api");
|
|
13
13
|
var _keymap = _interopRequireDefault(require("./pm-plugins/keymap"));
|
|
14
|
-
var _macro = require("./pm-plugins/macro");
|
|
15
14
|
var _actions2 = require("./pm-plugins/macro/actions");
|
|
15
|
+
var _plugin = require("./pm-plugins/macro/plugin");
|
|
16
16
|
var _main = require("./pm-plugins/main");
|
|
17
17
|
var _pluginKey = require("./pm-plugins/plugin-key");
|
|
18
18
|
var _bodiedExtension = require("./pm-plugins/toDOM-fixes/bodiedExtension");
|
|
@@ -105,7 +105,7 @@ var extensionPlugin = exports.extensionPlugin = function extensionPlugin(_ref) {
|
|
|
105
105
|
plugin: function plugin(_ref3) {
|
|
106
106
|
var dispatch = _ref3.dispatch,
|
|
107
107
|
providerFactory = _ref3.providerFactory;
|
|
108
|
-
return (0,
|
|
108
|
+
return (0, _plugin.createPlugin)(dispatch, providerFactory);
|
|
109
109
|
}
|
|
110
110
|
}];
|
|
111
111
|
},
|
|
@@ -168,8 +168,8 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
|
|
|
168
168
|
if (!extensionNode) {
|
|
169
169
|
return nextPos;
|
|
170
170
|
}
|
|
171
|
-
var
|
|
172
|
-
if (!isBodiedExtensionInsideMBE && !
|
|
171
|
+
var isInsideEditableExtensionArea = !!editorView.dom.closest('.extension-editable-area');
|
|
172
|
+
if (!isBodiedExtensionInsideMBE && !isInsideEditableExtensionArea) {
|
|
173
173
|
return nextPos;
|
|
174
174
|
}
|
|
175
175
|
} else {
|
|
@@ -4,8 +4,8 @@ import { createEditSelectedExtensionAction, insertOrReplaceBodiedExtension, inse
|
|
|
4
4
|
import { forceAutoSave } from './editor-commands/commands';
|
|
5
5
|
import { createExtensionAPI } from './pm-plugins/extension-api';
|
|
6
6
|
import keymapPlugin from './pm-plugins/keymap';
|
|
7
|
-
import { createPlugin as createMacroPlugin } from './pm-plugins/macro';
|
|
8
7
|
import { insertMacroFromMacroBrowser, runMacroAutoConvert } from './pm-plugins/macro/actions';
|
|
8
|
+
import { createPlugin as createMacroPlugin } from './pm-plugins/macro/plugin';
|
|
9
9
|
import { createPlugin } from './pm-plugins/main';
|
|
10
10
|
import { pluginKey } from './pm-plugins/plugin-key';
|
|
11
11
|
import { bodiedExtensionSpecWithFixedToDOM } from './pm-plugins/toDOM-fixes/bodiedExtension';
|
|
@@ -165,8 +165,8 @@ export const getToolbarConfig = ({
|
|
|
165
165
|
if (!extensionNode) {
|
|
166
166
|
return nextPos;
|
|
167
167
|
}
|
|
168
|
-
const
|
|
169
|
-
if (!isBodiedExtensionInsideMBE && !
|
|
168
|
+
const isInsideEditableExtensionArea = !!editorView.dom.closest('.extension-editable-area');
|
|
169
|
+
if (!isBodiedExtensionInsideMBE && !isInsideEditableExtensionArea) {
|
|
170
170
|
return nextPos;
|
|
171
171
|
}
|
|
172
172
|
} else {
|
|
@@ -4,8 +4,8 @@ import { createEditSelectedExtensionAction, insertOrReplaceBodiedExtension as _i
|
|
|
4
4
|
import { forceAutoSave } from './editor-commands/commands';
|
|
5
5
|
import { createExtensionAPI } from './pm-plugins/extension-api';
|
|
6
6
|
import keymapPlugin from './pm-plugins/keymap';
|
|
7
|
-
import { createPlugin as createMacroPlugin } from './pm-plugins/macro';
|
|
8
7
|
import { insertMacroFromMacroBrowser, runMacroAutoConvert } from './pm-plugins/macro/actions';
|
|
8
|
+
import { createPlugin as createMacroPlugin } from './pm-plugins/macro/plugin';
|
|
9
9
|
import { createPlugin } from './pm-plugins/main';
|
|
10
10
|
import { pluginKey } from './pm-plugins/plugin-key';
|
|
11
11
|
import { bodiedExtensionSpecWithFixedToDOM } from './pm-plugins/toDOM-fixes/bodiedExtension';
|
|
@@ -161,8 +161,8 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
|
|
|
161
161
|
if (!extensionNode) {
|
|
162
162
|
return nextPos;
|
|
163
163
|
}
|
|
164
|
-
var
|
|
165
|
-
if (!isBodiedExtensionInsideMBE && !
|
|
164
|
+
var isInsideEditableExtensionArea = !!editorView.dom.closest('.extension-editable-area');
|
|
165
|
+
if (!isBodiedExtensionInsideMBE && !isInsideEditableExtensionArea) {
|
|
166
166
|
return nextPos;
|
|
167
167
|
}
|
|
168
168
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@atlaskit/button": "^20.3.0",
|
|
31
31
|
"@atlaskit/checkbox": "^15.2.0",
|
|
32
32
|
"@atlaskit/datetime-picker": "^15.11.0",
|
|
33
|
-
"@atlaskit/editor-common": "^99.
|
|
33
|
+
"@atlaskit/editor-common": "^99.5.0",
|
|
34
34
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
35
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^1.11.0",
|
|
36
36
|
"@atlaskit/editor-plugin-context-identifier": "^1.3.0",
|
|
37
37
|
"@atlaskit/editor-plugin-context-panel": "^1.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"@atlaskit/select": "^18.9.0",
|
|
53
53
|
"@atlaskit/smart-user-picker": "^6.11.0",
|
|
54
54
|
"@atlaskit/spinner": "^16.3.0",
|
|
55
|
-
"@atlaskit/tabs": "^17.
|
|
55
|
+
"@atlaskit/tabs": "^17.1.0",
|
|
56
56
|
"@atlaskit/textarea": "^5.7.0",
|
|
57
57
|
"@atlaskit/textfield": "^6.7.0",
|
|
58
58
|
"@atlaskit/theme": "^14.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^2.40.0",
|
|
60
60
|
"@atlaskit/toggle": "^14.0.0",
|
|
61
|
-
"@atlaskit/tokens": "^3.
|
|
61
|
+
"@atlaskit/tokens": "^3.2.0",
|
|
62
62
|
"@atlaskit/tooltip": "^19.0.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
64
64
|
"@emotion/react": "^11.7.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|