1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Export: uses markdown preview dom. Supports diagrams

This commit is contained in:
Nicholas Browning
2019-10-26 16:05:12 -04:00
committed by Junyoung Choi
parent 75a1347ae1
commit 099ebad06b

View File

@@ -348,7 +348,7 @@ export default class MarkdownPreview extends React.Component {
allowCustomCSS, allowCustomCSS,
customCSS customCSS
}) })
let body = this.markdown.render(noteContent) let body = this.refs.root.contentWindow.document.body.innerHTML
body = attachmentManagement.fixLocalURLS( body = attachmentManagement.fixLocalURLS(
body, body,
this.props.storagePath this.props.storagePath