-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Markdown: merge uploaded files callback #5977
Comments
@tesar-tech if there is no breaking changes do it in 1.7, otherwise move it to |
I will just leave here some issues I have found/fixed. Might be important for a future reference.. (1) Uploading multiple file - weird percentage counting.Now with fixed multiple uploads, this is what's happening:
I guess two tasks are writing into one variable??
(2) Referencing file from FileEdit.OnChange
This requires similar fix as was done fore fileupload in markdown. (3) Multiple files in Markdown without UploadUrl result in unexpected behavior
Uploading one file with this code results in this text inside the textarea
Which is kind of wrong, it's not even empty image, just empty link. Then uploading multiple files (2 for this case) result in "cloning" the text:
(note that totally 3 files has been "uploaded"). On next upload the "tags" multiply again. This does not happen when
|
Regarding the suggested changes. If you think you could improve it and make it without introducing any new APIs while still making it sync between C# and JS reference, then you're free to go. I will open new ticket for that.
Anyways, before merging, please update the docs and mention the current behavior and the reasoning behind it so that people are aware of it.
Originally posted by @stsrki in #5975 (comment)
The text was updated successfully, but these errors were encountered: