Skip to content

Commit ce28217

Browse files
committed
fix: clean dirty icons when no changes are made in the editor
1 parent f31f986 commit ce28217

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LiveDevelopment/LivePreviewEdit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ define(function (require, exports, module) {
195195
// the live preview for that element gets refreshed and the changes are discarded in the live preview
196196
if(!message.isEditSuccessful) {
197197
editor.replaceRange(text, startPos, endPos);
198+
editor.document._markClean();
198199
} else {
199200

200201
// if the edit operation was successful, we call a helper function that

0 commit comments

Comments
 (0)