diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index d7eb7d974..7710df31f 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -454,6 +454,7 @@ class FactEdit(QTextEdit): self.insertPlainText(source.text()) elif source.hasHtml(): self.insertHtml(self.simplyHTML(unicode(source.html()))) + self.parent.saveWidget(self) def simplifyHTML(self, html): "Remove all style information and P tags."