diff --git a/anki-editor.el b/anki-editor.el index 980adea..dbcedf5 100644 --- a/anki-editor.el +++ b/anki-editor.el @@ -339,6 +339,7 @@ DECK is used when the action is note creation." (org-element-property :begin note-elem) (org-element-property :end note-elem)))) (with-temp-buffer + (org-mode) (insert content) (car (org-element-contents (org-element-parse-buffer))))) note (anki-editor--heading-to-note note-elem))