This is a migrated thread and some comments may be shown as answers.

Tweaking undo behaviour

1 Answer 117 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 21 Apr 2008, 03:32 AM
Is it possible to make Telerik's undo behaviour match that of Microsoft Word?

Here is an example:  Try typing the following into Word and into RadEditor:


one two three

four five six

seven eight nine


When you're done, hit Undo.

In Word, the last word, then the last sentence, and then each subsequent sentence are "undone".  In RadEditor, the whole block disappears.

Is there an option to have the undo behaviour match Word's?

Darren.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Apr 2008, 10:41 AM
Hi Darren,

The editor's Undo / Redo functionality is not as advanced as in Word due to different technologies under which both products work - after all Word is a much more advanced desktop application whereas our editor is an HTML web server control limited by the browser and the JavaScript engine. If the Undo / Redo list of RadEditor saves all words in its list then this will drastically decrease performance.

I tested the reported scenario and saw that the Undo list saves the lines and enter key presses as expected. You can see my test in the attached video.

You wrote that "In RadEditor, the whole block disappears." What do you mean by a block - a single line "one two three" or the whole block

"one two three

four five six

seven eight nine
"
?

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Darren
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or