The solution with the ProseMirror plugin is really bad. I hope Telerik will find another way.
1 + 2 (This is the most important point) -> Solved How can we use our own tools together with the existing ones? The demo only replaces the complete toolbar without displaying the standard tools. That's not the solution.
Filip
Telerik team
commented on 22 Apr 2024, 10:37 AM
Hi, Sven,
I am sorry to hear that you are encountering issues with the ProseMirror plugin approach. Regarding your questions:
1) Inserting the emoji at the cursor position can be achieved by setting a `ref` to the Editor component and creating a transaction from the current state and inserting a node that will contain the emoji.
2) The rest of the tools can be used together with the plugin by passing them to the tools array. I have created an example that showcases both approaches here:
Please review the approach above and let me know in case you are encountering any issues with a specific tool or with the emoji insertion and I will do my best to resolve them and provide an updated example that will better cover your needs.