Issue: WYSIWYG controls not shown in MDX files #225

Closed
opened 2026-10-05 02:34:37 +02:00 by adam · 2 comments
Owner

Describe the bug
The WYSIWYG controls work as expected when editing a .md file, but seem to be missing when editing a .mdx file.

To Reproduce
Steps to reproduce the behavior:

  1. Open a .md file. The controls should be visible on the top right of vscode
  2. Open a .mdx file. The controls are not visible

Expected behavior
The controls should be visible in both .md and .mdx files

Screenshots
The controls are visible in .md files:
Screen Shot 2022-03-08 at 15 02 19

But not in .mdx files:
Screen Shot 2022-03-08 at 15 02 22

Desktop (please complete the following information):

  • OS: MacOS 12.2 (21D49)
  • VScode: 1.65.0
  • Front Matter (v7.0.1951494-beta BETA)

Additional context
frontMatter.content.wysiwyg is set to true

**Describe the bug** The WYSIWYG controls work as expected when editing a .md file, but seem to be missing when editing a .mdx file. **To Reproduce** Steps to reproduce the behavior: 1. Open a .md file. The controls should be visible on the top right of vscode 3. Open a .mdx file. The controls are not visible **Expected behavior** The controls should be visible in both .md and .mdx files **Screenshots** The controls are visible in .md files: ![Screen Shot 2022-03-08 at 15 02 19](https://user-images.githubusercontent.com/73437576/157253054-b754a659-bc69-4648-b6a8-0aee293ff6af.png) But not in .mdx files: ![Screen Shot 2022-03-08 at 15 02 22](https://user-images.githubusercontent.com/73437576/157253090-d0ce57d0-8584-4a37-ba15-46f6104e8b91.png) **Desktop (please complete the following information):** - OS: MacOS 12.2 (21D49) - VScode: 1.65.0 - Front Matter (v7.0.1951494-beta BETA) **Additional context** `frontMatter.content.wysiwyg` is set to `true` <!-- github-sync-id:1162700253 -->
adam closed this issue 2026-10-05 02:34:37 +02:00
Author
Owner

Thanks again @rolule, the extension was not yet validated the recently added frontMatter.content.supportedFileTypes setting. The fix has been included, now they will show up for all types defined in the setting.

Thanks again @rolule, the extension was not yet validated the recently added `frontMatter.content.supportedFileTypes` setting. The fix has been included, now they will show up for all types defined in the setting. <!-- github-comment-id:1061850193 -->
Author
Owner

Perfect, thanks again !

Perfect, thanks again ! <!-- github-comment-id:1061868628 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#225