Skip to content

Commit

Permalink
Fixed missing markup in "new" documents.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed May 8, 2022
1 parent 1ef61db commit 63a7efc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
(let* ((content (reblocks-text-editor/utils/markdown::from-markdown string))
(doc (make-instance 'reblocks-text-editor/document/editable::editable-document
:children (unwrap-content content))))


(ensure-markup-nodes doc)
(reblocks-text-editor/document/ops::add-reference-ids doc)))


Expand Down

0 comments on commit 63a7efc

Please sign in to comment.