cleanup (broken files)

This commit is contained in:
2026-03-12 17:23:28 -05:00
parent f53030294b
commit df94685c96
6 changed files with 65 additions and 47 deletions
+2 -2
View File
@@ -42,11 +42,11 @@ export const ImageUpload = Extension.create({
})(),
{
loading: "Processing & uploading image...",
success: (url) => {
success: ({ url, filename }) => {
// Insert image
editor.chain()
.focus()
.setImage({ src: url })
.setImage({ src: url, filename })
.run();
// Manually force a new paragraph at the end so the user can keep typing