@atlaskit/editor-plugin-quick-insert 0.1.1 → 0.1.2
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 +7 -0
- package/README.md +1 -1
- package/dist/cjs/commands.js +4 -7
- package/dist/cjs/plugin-key.js +1 -2
- package/dist/cjs/plugin.js +1 -2
- package/dist/cjs/search.js +2 -3
- package/dist/cjs/ui/ModalElementBrowser/ModalElementBrowser.js +5 -5
- package/dist/cjs/ui/ModalElementBrowser/index.js +22 -7
- package/dist/cjs/ui/ModalElementBrowser/messages.js +2 -3
- package/dist/es2019/ui/ModalElementBrowser/ModalElementBrowser.js +3 -1
- package/dist/es2019/ui/ModalElementBrowser/index.js +20 -4
- package/dist/esm/ui/ModalElementBrowser/ModalElementBrowser.js +3 -1
- package/dist/esm/ui/ModalElementBrowser/index.js +20 -4
- package/dist/types/ui/ModalElementBrowser/ModalElementBrowser.d.ts +2 -0
- package/dist/types-ts4.5/ui/ModalElementBrowser/ModalElementBrowser.d.ts +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#39425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39425) [`4c27d14af2e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c27d14af2e) - [ED-19408] Fix issue where FocusTrap returnFocus was causing the cursor to end up at the beginning of the document when inserting elements using the element browser modal.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 0.1.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -27,4 +27,4 @@ Please see [Atlaskit - Editor plugin quick insert](https://atlaskit.atlassian.co
|
|
|
27
27
|
For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.
|
|
28
28
|
## License
|
|
29
29
|
---
|
|
30
|
-
Please see [Atlassian Frontend - License](https://
|
|
30
|
+
Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
|
package/dist/cjs/commands.js
CHANGED
|
@@ -6,14 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.openElementBrowserModal = exports.insertItem = exports.closeElementBrowserModal = void 0;
|
|
7
7
|
var _insert = require("@atlaskit/editor-common/insert");
|
|
8
8
|
var _pluginKey = require("./plugin-key");
|
|
9
|
-
var openElementBrowserModal = function openElementBrowserModal(_ref) {
|
|
9
|
+
var openElementBrowserModal = exports.openElementBrowserModal = function openElementBrowserModal(_ref) {
|
|
10
10
|
var tr = _ref.tr;
|
|
11
11
|
return tr.setMeta(_pluginKey.pluginKey, {
|
|
12
12
|
isElementBrowserModalOpen: true
|
|
13
13
|
});
|
|
14
14
|
};
|
|
15
|
-
exports.
|
|
16
|
-
var closeElementBrowserModal = function closeElementBrowserModal() {
|
|
15
|
+
var closeElementBrowserModal = exports.closeElementBrowserModal = function closeElementBrowserModal() {
|
|
17
16
|
return function (state, dispatch) {
|
|
18
17
|
if (dispatch) {
|
|
19
18
|
dispatch(state.tr.setMeta(_pluginKey.pluginKey, {
|
|
@@ -25,8 +24,7 @@ var closeElementBrowserModal = function closeElementBrowserModal() {
|
|
|
25
24
|
};
|
|
26
25
|
|
|
27
26
|
// this method was adapted from the typeahead plugin so we respect the API for quick insert items
|
|
28
|
-
exports.
|
|
29
|
-
var insertItem = function insertItem(item) {
|
|
27
|
+
var insertItem = exports.insertItem = function insertItem(item) {
|
|
30
28
|
return function (state, dispatch) {
|
|
31
29
|
var insert = function insert(maybeNode) {
|
|
32
30
|
var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -40,5 +38,4 @@ var insertItem = function insertItem(item) {
|
|
|
40
38
|
}
|
|
41
39
|
return true;
|
|
42
40
|
};
|
|
43
|
-
};
|
|
44
|
-
exports.insertItem = insertItem;
|
|
41
|
+
};
|
package/dist/cjs/plugin-key.js
CHANGED
|
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.pluginKey = void 0;
|
|
7
7
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
8
|
-
var pluginKey = new _state.PluginKey('quickInsertPluginKey');
|
|
9
|
-
exports.pluginKey = pluginKey;
|
|
8
|
+
var pluginKey = exports.pluginKey = new _state.PluginKey('quickInsertPluginKey');
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -18,7 +18,7 @@ var _search = require("./search");
|
|
|
18
18
|
var _ModalElementBrowser = _interopRequireDefault(require("./ui/ModalElementBrowser"));
|
|
19
19
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
20
20
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
21
|
-
var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
21
|
+
var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
22
22
|
var options = _ref.config,
|
|
23
23
|
api = _ref.api;
|
|
24
24
|
return {
|
|
@@ -95,7 +95,6 @@ var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
-
exports.quickInsertPlugin = quickInsertPlugin;
|
|
99
98
|
var setProviderState = function setProviderState(providerState) {
|
|
100
99
|
return function (state, dispatch) {
|
|
101
100
|
if (dispatch) {
|
package/dist/cjs/search.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.getQuickInsertSuggestions = void 0;
|
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
9
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
10
10
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
11
|
-
var getQuickInsertSuggestions = function getQuickInsertSuggestions(searchOptions) {
|
|
11
|
+
var getQuickInsertSuggestions = exports.getQuickInsertSuggestions = function getQuickInsertSuggestions(searchOptions) {
|
|
12
12
|
var lazyDefaultItems = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {
|
|
13
13
|
return [];
|
|
14
14
|
};
|
|
@@ -29,5 +29,4 @@ var getQuickInsertSuggestions = function getQuickInsertSuggestions(searchOptions
|
|
|
29
29
|
return (0, _quickInsert.find)(query || '', category === 'all' || !category ? items : items.filter(function (item) {
|
|
30
30
|
return item.categories && item.categories.includes(category);
|
|
31
31
|
}));
|
|
32
|
-
};
|
|
33
|
-
exports.getQuickInsertSuggestions = getQuickInsertSuggestions;
|
|
32
|
+
};
|
|
@@ -23,8 +23,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
23
23
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
24
24
|
/** @jsx jsx */
|
|
25
25
|
|
|
26
|
-
var MODAL_WRAPPER_PADDING = 16;
|
|
27
|
-
exports.MODAL_WRAPPER_PADDING = MODAL_WRAPPER_PADDING;
|
|
26
|
+
var MODAL_WRAPPER_PADDING = exports.MODAL_WRAPPER_PADDING = 16;
|
|
28
27
|
var actionsStyles = (0, _react2.css)({
|
|
29
28
|
display: 'inline-flex',
|
|
30
29
|
margin: "0 ".concat("var(--ds-space-negative-050, -4px)")
|
|
@@ -105,9 +104,11 @@ var ModalElementBrowser = function ModalElementBrowser(props) {
|
|
|
105
104
|
stackIndex: 0,
|
|
106
105
|
key: "element-browser-modal",
|
|
107
106
|
onClose: props.onClose,
|
|
107
|
+
onCloseComplete: props.onCloseComplete,
|
|
108
108
|
height: "664px",
|
|
109
109
|
width: "x-large",
|
|
110
|
-
autoFocus: false
|
|
110
|
+
autoFocus: false,
|
|
111
|
+
shouldReturnFocus: props.shouldReturnFocus
|
|
111
112
|
// defaults to true and doesn't work along with stackIndex=1.
|
|
112
113
|
// packages/design-system/modal-dialog/src/components/Content.tsx Line 287
|
|
113
114
|
,
|
|
@@ -155,5 +156,4 @@ var HelpLink = function HelpLink(url, helpText) {
|
|
|
155
156
|
testId: "ModalElementBrowser__help-button"
|
|
156
157
|
}, helpText);
|
|
157
158
|
};
|
|
158
|
-
var _default = (0, _reactIntlNext.injectIntl)(ModalElementBrowser);
|
|
159
|
-
exports.default = _default;
|
|
159
|
+
var _default = exports.default = (0, _reactIntlNext.injectIntl)(ModalElementBrowser);
|
|
@@ -28,25 +28,41 @@ var Modal = function Modal(_ref) {
|
|
|
28
28
|
editorView.focus();
|
|
29
29
|
}
|
|
30
30
|
}, [editorView]);
|
|
31
|
+
|
|
32
|
+
// ED-19408 We not store the item ref in the state
|
|
33
|
+
// Instead of adding the item immediately on insert item
|
|
34
|
+
// We wait until modal close is complete, refocus the editor and then add the item
|
|
35
|
+
var insertableItem = _react.default.useRef(null);
|
|
31
36
|
var onInsertItem = (0, _react.useCallback)(function (item) {
|
|
32
37
|
(0, _commands.closeElementBrowserModal)()(editorView.state, editorView.dispatch);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}, [editorView, focusInEditor]);
|
|
38
|
+
insertableItem.current = item;
|
|
39
|
+
}, [editorView]);
|
|
36
40
|
var onClose = (0, _react.useCallback)(function () {
|
|
37
41
|
(0, _commands.closeElementBrowserModal)()(editorView.state, editorView.dispatch);
|
|
38
42
|
focusInEditor();
|
|
39
43
|
}, [editorView, focusInEditor]);
|
|
44
|
+
var onCloseComplete = (0, _react.useCallback)(function () {
|
|
45
|
+
if (!insertableItem.current) {
|
|
46
|
+
focusInEditor();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
var item = insertableItem.current;
|
|
50
|
+
insertableItem.current = null;
|
|
51
|
+
focusInEditor();
|
|
52
|
+
(0, _commands.insertItem)(item)(editorView.state, editorView.dispatch);
|
|
53
|
+
}, [editorView, focusInEditor]);
|
|
40
54
|
return /*#__PURE__*/_react.default.createElement(_ModalElementBrowser.default, {
|
|
41
55
|
getItems: getItems,
|
|
42
56
|
onInsertItem: onInsertItem,
|
|
43
57
|
helpUrl: helpUrl,
|
|
44
58
|
isOpen: (quickInsertState === null || quickInsertState === void 0 ? void 0 : quickInsertState.isElementBrowserModalOpen) || false,
|
|
45
59
|
emptyStateHandler: quickInsertState === null || quickInsertState === void 0 ? void 0 : quickInsertState.emptyStateHandler,
|
|
46
|
-
onClose: onClose
|
|
60
|
+
onClose: onClose,
|
|
61
|
+
onCloseComplete: onCloseComplete,
|
|
62
|
+
shouldReturnFocus: false
|
|
47
63
|
});
|
|
48
64
|
};
|
|
49
|
-
var _default = function _default(_ref2) {
|
|
65
|
+
var _default = exports.default = function _default(_ref2) {
|
|
50
66
|
var editorView = _ref2.editorView,
|
|
51
67
|
helpUrl = _ref2.helpUrl,
|
|
52
68
|
pluginInjectionAPI = _ref2.pluginInjectionAPI;
|
|
@@ -57,5 +73,4 @@ var _default = function _default(_ref2) {
|
|
|
57
73
|
editorView: editorView,
|
|
58
74
|
helpUrl: helpUrl
|
|
59
75
|
});
|
|
60
|
-
};
|
|
61
|
-
exports.default = _default;
|
|
76
|
+
};
|
|
@@ -5,11 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var messages = (0, _reactIntlNext.defineMessages)({
|
|
8
|
+
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
help: {
|
|
10
10
|
id: 'fabric.editor.elementBrowser.help',
|
|
11
11
|
defaultMessage: 'Help',
|
|
12
12
|
description: 'Element browser help button label'
|
|
13
13
|
}
|
|
14
|
-
});
|
|
15
|
-
exports.messages = messages;
|
|
14
|
+
});
|
|
@@ -85,9 +85,11 @@ const ModalElementBrowser = props => {
|
|
|
85
85
|
stackIndex: 0,
|
|
86
86
|
key: "element-browser-modal",
|
|
87
87
|
onClose: props.onClose,
|
|
88
|
+
onCloseComplete: props.onCloseComplete,
|
|
88
89
|
height: "664px",
|
|
89
90
|
width: "x-large",
|
|
90
|
-
autoFocus: false
|
|
91
|
+
autoFocus: false,
|
|
92
|
+
shouldReturnFocus: props.shouldReturnFocus
|
|
91
93
|
// defaults to true and doesn't work along with stackIndex=1.
|
|
92
94
|
// packages/design-system/modal-dialog/src/components/Content.tsx Line 287
|
|
93
95
|
,
|
|
@@ -17,22 +17,38 @@ const Modal = ({
|
|
|
17
17
|
editorView.focus();
|
|
18
18
|
}
|
|
19
19
|
}, [editorView]);
|
|
20
|
+
|
|
21
|
+
// ED-19408 We not store the item ref in the state
|
|
22
|
+
// Instead of adding the item immediately on insert item
|
|
23
|
+
// We wait until modal close is complete, refocus the editor and then add the item
|
|
24
|
+
const insertableItem = React.useRef(null);
|
|
20
25
|
const onInsertItem = useCallback(item => {
|
|
21
26
|
closeElementBrowserModal()(editorView.state, editorView.dispatch);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}, [editorView, focusInEditor]);
|
|
27
|
+
insertableItem.current = item;
|
|
28
|
+
}, [editorView]);
|
|
25
29
|
const onClose = useCallback(() => {
|
|
26
30
|
closeElementBrowserModal()(editorView.state, editorView.dispatch);
|
|
27
31
|
focusInEditor();
|
|
28
32
|
}, [editorView, focusInEditor]);
|
|
33
|
+
const onCloseComplete = useCallback(() => {
|
|
34
|
+
if (!insertableItem.current) {
|
|
35
|
+
focusInEditor();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const item = insertableItem.current;
|
|
39
|
+
insertableItem.current = null;
|
|
40
|
+
focusInEditor();
|
|
41
|
+
insertItem(item)(editorView.state, editorView.dispatch);
|
|
42
|
+
}, [editorView, focusInEditor]);
|
|
29
43
|
return /*#__PURE__*/React.createElement(ModalElementBrowser, {
|
|
30
44
|
getItems: getItems,
|
|
31
45
|
onInsertItem: onInsertItem,
|
|
32
46
|
helpUrl: helpUrl,
|
|
33
47
|
isOpen: (quickInsertState === null || quickInsertState === void 0 ? void 0 : quickInsertState.isElementBrowserModalOpen) || false,
|
|
34
48
|
emptyStateHandler: quickInsertState === null || quickInsertState === void 0 ? void 0 : quickInsertState.emptyStateHandler,
|
|
35
|
-
onClose: onClose
|
|
49
|
+
onClose: onClose,
|
|
50
|
+
onCloseComplete: onCloseComplete,
|
|
51
|
+
shouldReturnFocus: false
|
|
36
52
|
});
|
|
37
53
|
};
|
|
38
54
|
export default (({
|
|
@@ -93,9 +93,11 @@ var ModalElementBrowser = function ModalElementBrowser(props) {
|
|
|
93
93
|
stackIndex: 0,
|
|
94
94
|
key: "element-browser-modal",
|
|
95
95
|
onClose: props.onClose,
|
|
96
|
+
onCloseComplete: props.onCloseComplete,
|
|
96
97
|
height: "664px",
|
|
97
98
|
width: "x-large",
|
|
98
|
-
autoFocus: false
|
|
99
|
+
autoFocus: false,
|
|
100
|
+
shouldReturnFocus: props.shouldReturnFocus
|
|
99
101
|
// defaults to true and doesn't work along with stackIndex=1.
|
|
100
102
|
// packages/design-system/modal-dialog/src/components/Content.tsx Line 287
|
|
101
103
|
,
|
|
@@ -18,22 +18,38 @@ var Modal = function Modal(_ref) {
|
|
|
18
18
|
editorView.focus();
|
|
19
19
|
}
|
|
20
20
|
}, [editorView]);
|
|
21
|
+
|
|
22
|
+
// ED-19408 We not store the item ref in the state
|
|
23
|
+
// Instead of adding the item immediately on insert item
|
|
24
|
+
// We wait until modal close is complete, refocus the editor and then add the item
|
|
25
|
+
var insertableItem = React.useRef(null);
|
|
21
26
|
var onInsertItem = useCallback(function (item) {
|
|
22
27
|
closeElementBrowserModal()(editorView.state, editorView.dispatch);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}, [editorView, focusInEditor]);
|
|
28
|
+
insertableItem.current = item;
|
|
29
|
+
}, [editorView]);
|
|
26
30
|
var onClose = useCallback(function () {
|
|
27
31
|
closeElementBrowserModal()(editorView.state, editorView.dispatch);
|
|
28
32
|
focusInEditor();
|
|
29
33
|
}, [editorView, focusInEditor]);
|
|
34
|
+
var onCloseComplete = useCallback(function () {
|
|
35
|
+
if (!insertableItem.current) {
|
|
36
|
+
focusInEditor();
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
var item = insertableItem.current;
|
|
40
|
+
insertableItem.current = null;
|
|
41
|
+
focusInEditor();
|
|
42
|
+
insertItem(item)(editorView.state, editorView.dispatch);
|
|
43
|
+
}, [editorView, focusInEditor]);
|
|
30
44
|
return /*#__PURE__*/React.createElement(ModalElementBrowser, {
|
|
31
45
|
getItems: getItems,
|
|
32
46
|
onInsertItem: onInsertItem,
|
|
33
47
|
helpUrl: helpUrl,
|
|
34
48
|
isOpen: (quickInsertState === null || quickInsertState === void 0 ? void 0 : quickInsertState.isElementBrowserModalOpen) || false,
|
|
35
49
|
emptyStateHandler: quickInsertState === null || quickInsertState === void 0 ? void 0 : quickInsertState.emptyStateHandler,
|
|
36
|
-
onClose: onClose
|
|
50
|
+
onClose: onClose,
|
|
51
|
+
onCloseComplete: onCloseComplete,
|
|
52
|
+
shouldReturnFocus: false
|
|
37
53
|
});
|
|
38
54
|
};
|
|
39
55
|
export default (function (_ref2) {
|
|
@@ -9,8 +9,10 @@ export interface Props {
|
|
|
9
9
|
onInsertItem: (item: QuickInsertItem) => void;
|
|
10
10
|
isOpen?: boolean;
|
|
11
11
|
onClose: () => void;
|
|
12
|
+
onCloseComplete: () => void;
|
|
12
13
|
helpUrl?: string | undefined;
|
|
13
14
|
emptyStateHandler?: EmptyStateHandler;
|
|
15
|
+
shouldReturnFocus?: boolean;
|
|
14
16
|
}
|
|
15
17
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
16
18
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
@@ -9,8 +9,10 @@ export interface Props {
|
|
|
9
9
|
onInsertItem: (item: QuickInsertItem) => void;
|
|
10
10
|
isOpen?: boolean;
|
|
11
11
|
onClose: () => void;
|
|
12
|
+
onCloseComplete: () => void;
|
|
12
13
|
helpUrl?: string | undefined;
|
|
13
14
|
emptyStateHandler?: EmptyStateHandler;
|
|
15
|
+
shouldReturnFocus?: boolean;
|
|
14
16
|
}
|
|
15
17
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
16
18
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/button": "^16.10.0",
|
|
39
|
-
"@atlaskit/editor-common": "^76.
|
|
39
|
+
"@atlaskit/editor-common": "^76.3.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
41
41
|
"@atlaskit/icon": "^21.12.0",
|
|
42
|
-
"@atlaskit/modal-dialog": "^12.
|
|
42
|
+
"@atlaskit/modal-dialog": "^12.8.0",
|
|
43
43
|
"@atlaskit/theme": "^12.6.0",
|
|
44
44
|
"@atlaskit/tokens": "^1.25.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|