@ixo/editor 2.36.0 → 2.38.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.
|
@@ -26318,7 +26318,13 @@ function IxoEditorContent({
|
|
|
26318
26318
|
getItems: async (query) => {
|
|
26319
26319
|
const defaultItems = getDefaultReactSlashMenuItems(editor);
|
|
26320
26320
|
const customItems = getExtraSlashMenuItems(editor);
|
|
26321
|
-
|
|
26321
|
+
const allItems = [...defaultItems, ...customItems];
|
|
26322
|
+
allItems.sort((a, b) => {
|
|
26323
|
+
const groupA = a.group || "";
|
|
26324
|
+
const groupB = b.group || "";
|
|
26325
|
+
return groupA.localeCompare(groupB);
|
|
26326
|
+
});
|
|
26327
|
+
return filterSuggestionItems(allItems, query);
|
|
26322
26328
|
}
|
|
26323
26329
|
}
|
|
26324
26330
|
),
|
|
@@ -26968,4 +26974,4 @@ export {
|
|
|
26968
26974
|
getExtraSlashMenuItems,
|
|
26969
26975
|
useCreateIxoEditor
|
|
26970
26976
|
};
|
|
26971
|
-
//# sourceMappingURL=chunk-
|
|
26977
|
+
//# sourceMappingURL=chunk-KMPUYNCA.mjs.map
|