diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index e31958bba..8b4bdc28b 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -388,8 +388,9 @@ class Editor: if nid != self.note.id: print("ignored late blur") return - txt = self.mungeHTML(txt) - self.note.fields[ord] = txt + + self.note.fields[ord] = self.mungeHTML(txt) + if not self.addMode: self.note.flush() self.mw.requireReset()