Add image resizing to history stack (allow undo)

Remove placeholder SVG when main image is loaded
This commit is contained in:
Tom Moor
2023-04-02 09:19:09 -04:00
parent 046fe522c1
commit 1be1371171
4 changed files with 28 additions and 18 deletions

View File

@@ -225,7 +225,9 @@ export default class SimpleImage extends Node {
onShowToast,
dictionary: this.options.dictionary,
replaceExisting: true,
width: node.attrs.width,
attrs: {
width: node.attrs.width,
},
});
};
inputElement.click();