mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
9a5e80ad73
commit
e472f71ebd
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ export const newFileBySelect = (protyle: IProtyle, selectText: string, nodeEleme
|
|||
path: hPath,
|
||||
notebook: targetNotebookId
|
||||
}, (idResponse) => {
|
||||
const refText = escapeHtml(newFileName.substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen));
|
||||
const refText = newFileName.substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen);
|
||||
if (idResponse.data && idResponse.data.length > 0) {
|
||||
protyle.toolbar.setInlineMark(protyle, "block-ref", "range", {
|
||||
type: "id",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue