Is your feature request related to a problem? Please describe.
When writing Markdown (.md) or MDX (.mdx) content in Frontmatter CMS, adding images requires a manual workflow (save image file separately, then insert/link it in the document). This interrupts writing flow and makes quick content creation less efficient.
Describe the solution you'd like
Add support for directly pasting images into .md and .mdx files from the clipboard.
It would be great to support two behaviors:
Automatically save pasted images to a configured default folder.
Prompt for the save location each time an image is pasted.
This could be implemented as a setting so users can choose their preferred behavior.
Describe alternatives you've considered
Current workaround is to manually save images and then reference them in the document, which is slower and less convenient.
Additional context
This would significantly improve the authoring experience and speed up content workflows in Frontmatter CMS.
**Is your feature request related to a problem? Please describe.**
When writing Markdown (`.md`) or MDX (`.mdx`) content in Frontmatter CMS, adding images requires a manual workflow (save image file separately, then insert/link it in the document). This interrupts writing flow and makes quick content creation less efficient.
**Describe the solution you'd like**
Add support for directly pasting images into `.md` and `.mdx` files from the clipboard.
It would be great to support two behaviors:
1. Automatically save pasted images to a configured default folder.
2. Prompt for the save location each time an image is pasted.
This could be implemented as a setting so users can choose their preferred behavior.
**Describe alternatives you've considered**
Current workaround is to manually save images and then reference them in the document, which is slower and less convenient.
**Additional context**
This would significantly improve the authoring experience and speed up content workflows in Frontmatter CMS.
<!-- github-sync-id:5007693918 -->
@Juniors017 in the BETA version, you can give it a try, there is a new setting:
frontMatter.media.pasteBehavior - its values are: dashboard, auto, disabled. The default is dashboard.
dashboard
When you paste an image, it will then open the media dashboard to allow you to select the folder where you want to store the file. Add the metadata, and insert it via the default import or snippet.
auto
Saves the image to the page bundle or public folder and inserts it straight away.
@Juniors017 in the BETA version, you can give it a try, there is a new setting:
`frontMatter.media.pasteBehavior` - its values are: `dashboard`, `auto`, `disabled`. The default is `dashboard`.
## dashboard
When you paste an image, it will then open the media dashboard to allow you to select the folder where you want to store the file. Add the metadata, and insert it via the default import or snippet.
## auto
Saves the image to the page bundle or public folder and inserts it straight away.
<!-- github-comment-id:5168770582 -->
Merci beaucoup d'avoir mis en œuvre ce changement. Je ne pourrai le tester qu'à mon retour de vacances, car je suis toujours dans le nord de l'Écosse et je n'ai pas accès à un ordinateur.
Docux
Merci beaucoup d'avoir mis en œuvre ce changement. Je ne pourrai le tester qu'à mon retour de vacances, car je suis toujours dans le nord de l'Écosse et je n'ai pas accès à un ordinateur.
Docux
<!-- github-comment-id:5233952622 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Is your feature request related to a problem? Please describe.
When writing Markdown (
.md) or MDX (.mdx) content in Frontmatter CMS, adding images requires a manual workflow (save image file separately, then insert/link it in the document). This interrupts writing flow and makes quick content creation less efficient.Describe the solution you'd like
Add support for directly pasting images into
.mdand.mdxfiles from the clipboard.It would be great to support two behaviors:
This could be implemented as a setting so users can choose their preferred behavior.
Describe alternatives you've considered
Current workaround is to manually save images and then reference them in the document, which is slower and less convenient.
Additional context
This would significantly improve the authoring experience and speed up content workflows in Frontmatter CMS.
@Juniors017 in the BETA version, you can give it a try, there is a new setting:
frontMatter.media.pasteBehavior- its values are:dashboard,auto,disabled. The default isdashboard.dashboard
When you paste an image, it will then open the media dashboard to allow you to select the folder where you want to store the file. Add the metadata, and insert it via the default import or snippet.
auto
Saves the image to the page bundle or public folder and inserts it straight away.
Merci beaucoup d'avoir mis en œuvre ce changement. Je ne pourrai le tester qu'à mon retour de vacances, car je suis toujours dans le nord de l'Écosse et je n'ai pas accès à un ordinateur.
Docux
Released in version 10.12.0.