qute-html5 icon indicating copy to clipboard operation
qute-html5 copied to clipboard

undo/redo

Open fbreuer opened this issue 13 years ago • 1 comments

Currently, Qute relies on Chromeless' builtin handling of undo/redo in contentEditable paragraphs.

Naturally, this produces unexpected results as soon as paragraphs have been switched. In particular, changes made by the undo operation to the source code of paragraphs that are currently in display mode are invisible until the paragraph is switched again. Is there a way to hook into Chromeless' undo mechanism and trigger transformations of the source whener changes are made?

fbreuer avatar Jun 30 '11 15:06 fbreuer

Ah, that explains it! Thx.

pkra avatar Jun 30 '11 15:06 pkra