Workaround for inserting symbols

Do you guys have some sort of workaround for inserting a symbol.  I don't mind if I have to manually add the symbols I want but being able to insert said symbol into the current position of the cursor (preserving font style and size) would be fantastic.


1 Reply

SM Suriya Murugan Syncfusion Team January 13, 2022 08:46 AM UTC

Hi  Phil,


Syncfusion Greetings!


We have already logged the feature request for your requirement. We will include in any of our upcoming release.

you can track the status of feature from the below link.

https://www.syncfusion.com/feedback/6076/add-symbol-support-in-document-editor


For now, please use the below workaround solution for inserting symbol characters based on special font.

     

Document editor provides API to insert text.

With the help of this insert text API of editor module, you can insert symbol text like “ξ, ≤”.

For your reference, we have prepared the below stack blitz sample.

https://stackblitz.com/edit/cyfhry?file=index.ts



Kindly check it. We have added a dropdown with symbols and selected symbol will be inserted in current position.


Regards,

Suriya M.


Loader.
Up arrow icon