@bigbinary/neeto-editor 1.47.72 → 1.47.73
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 +1 -3
- package/dist/Editor.js.map +1 -1
- package/dist/cjs/Editor.cjs.js +1 -3
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/editor-stats.html +1 -1
- package/package.json +1 -1
package/dist/Editor.js
CHANGED
|
@@ -15142,9 +15142,7 @@ var SlashCommands = {
|
|
|
15142
15142
|
},
|
|
15143
15143
|
items: function items(_ref3) {
|
|
15144
15144
|
var query = _ref3.query;
|
|
15145
|
-
if (!query)
|
|
15146
|
-
return commandItems.slice(0, 10);
|
|
15147
|
-
}
|
|
15145
|
+
if (!query) return commandItems;
|
|
15148
15146
|
var filteredItems = fuzzySearch(commandItems, query);
|
|
15149
15147
|
return isEmpty$1(filteredItems) ? [NO_RESULT_MENU_ITEM] : filteredItems;
|
|
15150
15148
|
},
|