mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 00:08:49 +01:00
🚨
This commit is contained in:
parent
65de88cee1
commit
60d44fec3d
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
const blockElement = hasClosestBlock(target);
|
||||
if (blockElement) {
|
||||
const ghostElement = document.createElement("div");
|
||||
ghostElement.className = 'protyle-wysiwyg protyle-wysiwyg--attr';
|
||||
ghostElement.className = "protyle-wysiwyg protyle-wysiwyg--attr";
|
||||
ghostElement.append(processClonePHElement(target.cloneNode(true) as Element));
|
||||
ghostElement.setAttribute("style", `position:fixed;opacity:.1;padding:0;
|
||||
width:${target.clientWidth}px;;height:${target.clientHeight}px;`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue