mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -398,7 +398,7 @@ const renderPDF = async (id: string) => {
|
||||
})
|
||||
}
|
||||
const renderPreview = (data) => {
|
||||
previewElement.innerHTML = '<div style="padding:6px 0 0 0" class="protyle-wysiwyg${window.siyuan.config.editor.displayBookmarkIcon ? " protyle-wysiwyg--attr" : ""}">' + data.content + '</div>';
|
||||
previewElement.innerHTML = '<div style="padding:8px 0 0 0" class="protyle-wysiwyg${window.siyuan.config.editor.displayBookmarkIcon ? " protyle-wysiwyg--attr" : ""}">' + data.content + '</div>';
|
||||
const wysElement = previewElement.querySelector(".protyle-wysiwyg");
|
||||
wysElement.setAttribute("data-doc-type", data.type || "NodeDocument");
|
||||
if (data.attrs.memo) {
|
||||
|
||||
Reference in New Issue
Block a user