mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
This commit is contained in:
parent
139c16b25b
commit
c9887449b1
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ export class Toolbar {
|
|||
}
|
||||
range.cloneContents().childNodes.forEach((item:HTMLElement) => {
|
||||
if (item.nodeType !== 3) {
|
||||
types = types.concat(item.getAttribute("data--type").split(" "));
|
||||
types = types.concat(item.getAttribute("data-type").split(" "));
|
||||
}
|
||||
});
|
||||
types = [...new Set(types)];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue