add support for inline image drag and drop to markdown editor

This commit is contained in:
Hiroyasu Nishiyama
2023-01-05 10:28:48 +09:00
parent 270eb56718
commit 7e8b7602b4
5 changed files with 98 additions and 7 deletions

View File

@@ -37,3 +37,27 @@
}
}
}
#red-ui-image-drop-target {
position: absolute;
top: 0; bottom: 0;
left: 0; right: 0;
background: var(--red-ui-dnd-background);
display:table;
width: 100%;
height: 100%;
display: none;
z-index:100;
div {
pointer-events: none;
display: table-cell;
vertical-align: middle;
text-align: center;
font-size: 40px;
color: var(--red-ui-dnd-color);
i {
pointer-events: none;
font-size: 80px;
}
}
}