This commit is contained in:
parent
172fe87e55
commit
9f1219ae37
1 changed files with 1 additions and 0 deletions
|
@ -642,6 +642,7 @@ export class WYSIWYG {
|
|||
documentSelf.onmousemove = (moveEvent: MouseEvent) => {
|
||||
if (dragElement.tagName === "IMG") {
|
||||
dragElement.parentElement.parentElement.style.width = "";
|
||||
dragElement.style.height = "";
|
||||
}
|
||||
if (moveEvent.clientX > x - dragWidth + 8 && moveEvent.clientX < mostRight) {
|
||||
if ((dragElement.tagName === "IMG" && !dragElement.parentElement.parentElement.style.minWidth && nodeElement.style.textAlign !== "center") || !isCenter) {
|
||||
|
|
Loading…
Add table
Reference in a new issue