function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Megha Mittal 19Megha Mittal 19 

Undo and redo functionality for richtextarea input in lightning

Hi All,

We have a requirement to add undo and redo functionality on the rich text area fields. Can anyone let me know if there is any way we can add that functionality.

Thanks,
Megha
NagendraNagendra (Salesforce Developers) 
Hi Megha,

Unfortunately, this is not possible as of now.

The Undo and Redo buttons are no longer available. You can use keyboard shortcuts to undo and redo content formatting. In Windows, undo your last action by pressing Ctrl+Z, and reverse your last undo by pressing Ctrl+Y. On Mac OS, use Cmd+Z and Cmd+Y. Alternatively, use the Edit menu in your browser to undo or redo your changes.

For more information please refer to below help document. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra