|
|
|
@ -175,7 +175,7 @@ export function InsertImageDialog({
|
|
|
|
|
}, [activeEditor]);
|
|
|
|
|
|
|
|
|
|
const onClick = (payload: InsertImagePayload) => {
|
|
|
|
|
console.log('payload', payload);
|
|
|
|
|
// console.log('payload', payload);
|
|
|
|
|
|
|
|
|
|
activeEditor.dispatchCommand(INSERT_IMAGE_COMMAND, payload);
|
|
|
|
|
onClose();
|
|
|
|
|