mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 01:44:07 +01:00
🚨
This commit is contained in:
parent
f1bdb4dcfd
commit
82eafca96d
10 changed files with 14 additions and 14 deletions
|
|
@ -28,9 +28,9 @@ export const blockRender = (protyle: IProtyle, element: Element) => {
|
|||
const content = Lute.UnEscapeHTMLStr(item.getAttribute("data-content"));
|
||||
let breadcrumb: boolean | string = item.getAttribute("breadcrumb");
|
||||
if (breadcrumb) {
|
||||
breadcrumb = breadcrumb === "true"
|
||||
breadcrumb = breadcrumb === "true";
|
||||
} else {
|
||||
breadcrumb = window.siyuan.config.editor.embedBlockBreadcrumb
|
||||
breadcrumb = window.siyuan.config.editor.embedBlockBreadcrumb;
|
||||
}
|
||||
fetchPost("/api/search/searchEmbedBlock", {
|
||||
embedBlockID: item.getAttribute("data-node-id"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue