Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem implementing Upload capabilities #42

Open
PLuebeck opened this issue Aug 23, 2024 Discussed in #40 · 3 comments
Open

Problem implementing Upload capabilities #42

PLuebeck opened this issue Aug 23, 2024 Discussed in #40 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@PLuebeck
Copy link

Discussed in #40

Originally posted by PLuebeck August 16, 2024
I have implemented the editor without any problem but the image upload does not work for me.
The API has the necessary FilesController (for me MdFilesController) and HomeController (for me RootController).
The Frontend has the MarkdownEditor with same implementation of the Upload demo page.

When I try to upload a file the frontend disconnects for a short period and the display that it is uploading the file. Not a single breakpoint in the events in Frontend or the API are triggered and it displays "Uploading" indefinitely. As OnImageUploadStarted is never triggered i would think it is somethin in the Frontend.

The only differences i can see from your Demo is that mine is an InteractiveServer and I use http instead of https. Does the interactive server change anything in the implementation?

Additionally the MarkdownEditor is nested in a few divs and an if so it is only displayed with a condition:
image
I also tried it without AutoSave:
image

If you need more info let me know.

@erossini
Copy link
Owner

I have just added a new PR. Have a look if this could resolve your issue
#41

@erossini erossini self-assigned this Sep 20, 2024
@erossini erossini added the question Further information is requested label Sep 20, 2024
@erossini
Copy link
Owner

Can I close this issue?

@jasonleo0314
Copy link

图片上传的时候post请求被ws拦截

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants