Skip to content

Enhancement: Add buttons to FM editor toolbar to switch between normal editor and diff editor modes #884

@tohagan

Description

@tohagan

Is your feature request related to a problem? Please describe.
When I open a .md or .mdx file via version control ... image

I see that the Front Matter toolbar is displayed above the open file
image

But this toolbar is missing the button to view the file in a normal (non-diff) editor. image which I'm finding rather frustrating.

Describe the solution you'd like

Can you please add this button to the toolbar image when the opened file is in version control diff format to switch to non-diff editor mode

Can you please add this button to the toolbar image when the opened file is in not in version control diff format to switch to diff editor mode

Describe alternatives you've considered

You can get to this button via the source control tree view like so ...
image

But I think this button should also be on the Front Matter editor toolbar as it appears there when Front Matter is not active and feels as thought it's the natural place to find it.

For your reference ... Here's the default editor toolbar (when Front Matter is not installed) that has many more toolbar buttons but the ones above are by far the ones most used.
image

Here's the default editor toolbar when in "diff" mode:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    In BETAThe current task is available for testing in the BETA version.ReleasedThe task has been releasedenhancementNew feature or requestv10.6.0Project: v10.6.0

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions