Hi everyone,
I’m currently working with the Syncfusion DocumentEditor API and encountering an issue with the `toggleUnderline()` function. Here’s the situation:
I am trying to use the following function to toggle the underline for selected text:
this.$refs.doceditcontainer.ej2Instances.documentEditor.editor.toggleUnderline();
However, this does not seem to work as intended. In contrast, the `toggleStrikethrough()` function works perfectly:
this.$refs.doceditcontainer.ej2Instances.documentEditor.editor.toggleStrikethrough();
I have triple-checked my implementation and ensured that all API calls are correctly synced with Syncfusion’s documentation. Despite this, `toggleUnderline()` fails to apply the underline formatting to the selected text.
I would appreicate that someone see if they can confirm a working solution.
Is there something I might be missing or an alternative approach I should consider to resolve this issue? Any insights or suggestions would be greatly appreciated!
Thank you!