Is it possible to have a draw function like in the pdf viewer?

Is it possible to have a draw function like in the pdf viewer?


1 Reply

KP Kokila Poovendran Syncfusion Team December 2, 2024 01:38 PM UTC

Hi Yonz,

Thank you for your query.

We would like to clarify that the Rich Text Editor does not natively support drawing functionality directly within the editor. However, this feature can be achieved by implementing a custom toolbar button. When clicked, this button can open a dialog that integrates with external drawing tools or libraries. Once the drawing is complete, the resulting base64 image (e.g., JPG or PNG) can be inserted into the editor using the executeCommand method.

For more details, please refer to the following documentation:

If you have further questions or need assistance with the implementation, feel free to reach out.


Loader.
Up arrow icon