Vanessa 2025-04-30 12:03:51 +08:00
parent 88ea9af19f
commit 248646650e
2 changed files with 0 additions and 4 deletions

View file

@ -228,7 +228,6 @@ export class Toolbar {
}
public setInlineMark(protyle: IProtyle, type: string, action: "range" | "toolbar", textObj?: ITextOption) {
showMessage("setInlineMark");
const nodeElement = hasClosestBlock(this.range.startContainer);
if (!nodeElement || nodeElement.getAttribute("data-type") === "NodeCodeBlock") {
return;