Clipboard Operations

The JadeRichText control supports standard clipboard operations and multiple levels of undo and redo operations, to a maximum of 100 undo or redo operations.

The output parameters of the getRedoAndUndoState method indicate whether a paste, redo, or an undo operation can be performed. The getRedoAndUndoState method also indicates the type of undo or redo action that can be performed.

You can call the undo or redo method to undo an action or reapply the last edit operation dynamically at run time.

From release 2020.0.01, you can programmatically paste from the Windows clipboard into a JadeRichText control.

Before you call the paste_ method, call the canPaste_ method to confirm there is suitable content available.