support nip94 and fix some bugs
This commit is contained in:
@@ -60,7 +60,7 @@ export function Composer() {
|
||||
});
|
||||
|
||||
const uploadImage = async (file?: string) => {
|
||||
const image = await upload(file);
|
||||
const image = await upload(file, true);
|
||||
if (image.url) {
|
||||
editor.commands.setImage({ src: image.url });
|
||||
editor.commands.createParagraphNear();
|
||||
|
||||
Reference in New Issue
Block a user