Hi,
I want to develop a solution for inserting, editing or deleting equations from within RichText Editor using version 18.1.0.36-beta or above.
What I want to do is:
A toolbar button for inserting, editing or deleting equations within the HTML Text.
When a user clicks on the toolbar button an equation editor popups a dialog and the user can type equation in Latex format then presses OK and equation editor returns PNG or JPEG image URL address like https://example.com/equation123.png. It is just like inserting an image in RichText editor.
I have a well-designed equation editor in Javascript that does the job. I have added a toolbar button that invokes this equation editor. This works fine.
My Goals:
I want to trigger a custom double-click instead of the default event on an equation image that reads the SRC, ALT and TITLE attributes of the image and invokes the equation editor instead of the default image editor.
If a user modifies the equation it replaces the image SRC, ALT and TITLE tags with the new image information.
I need to parse the image tag like SRC, ALT, and TITLE of the selected image and send it as an equation editor parameter.
If all goes well I will share my components with the Syncfusion community.
I hope I have explained it well
Best regards