Propose a small change to Markdown file uploads. #5375
Unanswered
JamieWritesCode
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the
->withFiles()option on Markdown fields, there is a footer appended that passes click events to the file input field triggering a file select and upload. This file select is limited to image mime types. In addition, drag and drop will only detect image mime types.However, the text for the footer reads: "Attach files by dragging & dropping, selecting or pasting them" which while technically true, doesn't make it clear that only image files are supported. In fact, there is no reason why any file type cannot be uploaded and inserted as a url
[](url)however the default is to insert using image markdown.In addition, this entire functionality somewhat serves to duplicate the insert image functionality provided by the toolbar button.
This feels confusing. I wanted to propose some discussion around the following changes to help improve the Markdown field:
[]()rather than images![]()or
Personally, I would love to see the former implemented as I can imagine many scenarios where uploading and linking to other file types would be desired.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions