The ASP.NET Core Rich Text Editor control allows you to provide a custom ribbon for your application. This demo shows how to display default and custom items in the ribbon.
The ribbon tab’s Items collection provides a set of methods that allow you to add default items to a ribbon (for instance, in this demo the AddUndoItem and AddRedoItem methods).
Use the AddButton method to populate the ribbon with custom items. To process the item click, handle the OnCustomCommandExecuted event. The commandName event argument returns the clicked item’s CommandName property value and allows you to identify the clicked item.