mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
This commit is contained in:
parent
8ba7a703ed
commit
edba62bdf1
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue