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
Reference in a new issue