mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 16:26:09 +01:00
📝
This commit is contained in:
parent
3dcb3bec9e
commit
e508557de4
1 changed files with 1 additions and 1 deletions
|
|
@ -456,7 +456,7 @@ export class Toolbar {
|
|||
}
|
||||
inlineElement.setAttribute("data-type", [...new Set(rangeTypes)].join(" "));
|
||||
inlineElement.textContent = Constants.ZWSP;
|
||||
// 在 a 元素中 ctrl+m 需继承其链接,也许不需要?没有用户反馈之前先保持现装
|
||||
// 在 a 元素中 ctrl+m 需继承其链接,也许不需要?没有用户反馈之前先保持现状
|
||||
// if (type !== "a" && rangeTypes.includes("a") && nextElement.dataset.type.split(" ").includes("a") &&
|
||||
// nextElement.isSameNode(previousElement)) {
|
||||
// inlineElement.setAttribute("data-href", nextElement.getAttribute("data-href"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue