@bigbinary/neeto-editor 1.47.124 → 1.47.125
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/dist/Editor.js +6 -1
- package/dist/Editor.js.map +1 -1
- package/dist/cjs/Editor.cjs.js +6 -1
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/editor-stats.html +1 -19
- package/package.json +1 -1
package/dist/Editor.js
CHANGED
|
@@ -2044,7 +2044,12 @@ var MentionList = /*#__PURE__*/function (_React$Component) {
|
|
|
2044
2044
|
children: /*#__PURE__*/jsx(Menu, {
|
|
2045
2045
|
className: "neeto-editor-mentions__wrapper",
|
|
2046
2046
|
"data-testid": "neeto-editor-mention-list",
|
|
2047
|
-
ref: this.mentionRef
|
|
2047
|
+
ref: this.mentionRef
|
|
2048
|
+
// Keep the list non-focusable so neetoUI's Menu can't auto-focus its
|
|
2049
|
+
// <ul> and steal focus from the editor; mention keystrokes and arrow
|
|
2050
|
+
// keys are handled through the editor's own keydown.
|
|
2051
|
+
,
|
|
2052
|
+
tabIndex: null,
|
|
2048
2053
|
children: items.map(function (_ref2, index) {
|
|
2049
2054
|
var key = _ref2.key,
|
|
2050
2055
|
name = _ref2.name,
|