🚨
This commit is contained in:
parent
b52f88bad7
commit
a3c4f63426
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
wbrElement.remove();
|
||||
range.deleteContents();
|
||||
const tempElement = document.createElement("span");
|
||||
tempElement.setAttribute("data-type", "code")
|
||||
tempElement.setAttribute("data-type", "code");
|
||||
tempElement.textContent = Constants.ZWSP + code;
|
||||
range.insertNode(tempElement);
|
||||
if (!hasPreviousSibling(tempElement)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue