Skip to content

🚀 Enhancement: Allow custom message on upload error#245

Open
tech-magnety-ai wants to merge 2 commits into
editor-js:masterfrom
tech-magnety-ai:custom-error-message
Open

🚀 Enhancement: Allow custom message on upload error#245
tech-magnety-ai wants to merge 2 commits into
editor-js:masterfrom
tech-magnety-ai:custom-error-message

Conversation

@tech-magnety-ai

Copy link
Copy Markdown

Hello, 👋

I noticed that this PR is stalled. So I make another one 😅

Allow custom error message to be returned from upload error object and be displayed in notice when success === 0 in the following form:

{
     "success": "0",
     "message": "My custom message"
}

@tech-magnety-ai

tech-magnety-ai commented Apr 28, 2024

Copy link
Copy Markdown
Author

Oops, Prettier formatted the code. I'll fix this.

@neSpecc neSpecc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why yarn.lock has been changed?

@panieldark

panieldark commented Aug 6, 2024

Copy link
Copy Markdown

Would be very grateful if this was added 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants