After using Execute Command 'InsertHTML', the 'Undo' Command doesn't work as expected
Hi Syncfusion Team!
I want to use the Execute Command 'InsertHTML' from my custom designed toolbar item in order to insert some default text paragraph enclosed in < p > tags at the current cursor position.
This all works fine!
I also would like to use the 'Undo' Execute Command to be able to undo the InsertHTML action.
But somehow, the Undo Command doesn't work as expected. It doesn't clear the inserted HTML, it only clears previously typed text in the RTE editable area.
Am I missing something here?
|
Attachment: RTE_Server_11_52f0a97c.zip
Hi Vinitha,
Thank You very much for your quick and adequate reply!
ExecuteCommandOption.Undo proved to be the solution to my problem, so thank You for your great support!
Regards,
SyncfusionUser
Hi SyncfusionUser,
Please get back to us if you have any further questions or concerns.
- 3 Replies
- 3 Participants
- Marked answer
-
SY SyncfusionUser
- Jun 20, 2024 02:59 PM UTC
- Jun 25, 2024 08:09 AM UTC