@atlaskit/editor-plugin-quick-insert 11.0.5 → 11.1.0
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
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 11.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`31c4f99dfaafa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31c4f99dfaafa) -
|
|
8
|
+
fix(editor): fix wide slash trigger opening menu for ASCII '/' on macOS IME
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 11.0.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -39,7 +39,7 @@ var quickInsertPlugin = exports.quickInsertPlugin = function quickInsertPlugin(_
|
|
|
39
39
|
id: _typeAhead.TypeAheadAvailableNodes.QUICK_INSERT,
|
|
40
40
|
trigger: '/',
|
|
41
41
|
// Support fullwidth slash (U+FF0F) used by Japanese/CJK keyboards (e.g. typing / on a Japanese keyboard layout)
|
|
42
|
-
customRegex: (0, _expValEquals.expValEquals)('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '
|
|
42
|
+
customRegex: (0, _expValEquals.expValEquals)('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '[//]' : undefined,
|
|
43
43
|
headless: options === null || options === void 0 ? void 0 : options.headless,
|
|
44
44
|
getItems: function getItems(_ref2) {
|
|
45
45
|
var query = _ref2.query,
|
|
@@ -27,7 +27,7 @@ export const quickInsertPlugin = ({
|
|
|
27
27
|
id: TypeAheadAvailableNodes.QUICK_INSERT,
|
|
28
28
|
trigger: '/',
|
|
29
29
|
// Support fullwidth slash (U+FF0F) used by Japanese/CJK keyboards (e.g. typing / on a Japanese keyboard layout)
|
|
30
|
-
customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '
|
|
30
|
+
customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '[//]' : undefined,
|
|
31
31
|
headless: options === null || options === void 0 ? void 0 : options.headless,
|
|
32
32
|
getItems({
|
|
33
33
|
query,
|
|
@@ -32,7 +32,7 @@ export var quickInsertPlugin = function quickInsertPlugin(_ref) {
|
|
|
32
32
|
id: TypeAheadAvailableNodes.QUICK_INSERT,
|
|
33
33
|
trigger: '/',
|
|
34
34
|
// Support fullwidth slash (U+FF0F) used by Japanese/CJK keyboards (e.g. typing / on a Japanese keyboard layout)
|
|
35
|
-
customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '
|
|
35
|
+
customRegex: expValEquals('platform_editor_wide_slash_trigger', 'isEnabled', true) ? '[//]' : undefined,
|
|
36
36
|
headless: options === null || options === void 0 ? void 0 : options.headless,
|
|
37
37
|
getItems: function getItems(_ref2) {
|
|
38
38
|
var query = _ref2.query,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^11.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-connectivity": "^11.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-metrics": "^12.0.0",
|
|
36
|
-
"@atlaskit/editor-plugin-type-ahead": "^11.
|
|
36
|
+
"@atlaskit/editor-plugin-type-ahead": "^11.2.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
38
38
|
"@atlaskit/icon": "^35.4.0",
|
|
39
39
|
"@atlaskit/modal-dialog": "^15.2.0",
|