Pregunta

Is there a way to programmatically execute undo and redo in CKEDITOR?

And the other question is: is there a way to reset the undo stack and also the redo stack?

¿Fue útil?

Solución

Undo:

editor.execCommand( 'undo' );

Redo:

editor.execCommand( 'redo' );

Reset:

editor.resetUndo();
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top