MugishoMp / obsidian-editor-width-slider

With this plugin you can set the line width of the editor in obsidian.
MIT License
45 stars 4 forks source link

Default width button #13

Closed MugishoMp closed 11 months ago

MugishoMp commented 11 months ago

Pull Request: Feature - Reset Slider to Default Percentage

Changes:

Description:

This pull request introduces a new feature to the Obsidian Line Width Slider Plugin, enabling users to reset the slider to a default percentage value with a single click. To configure the default percentage value, users can now specify it in the plugin settings.

How to Use:

  1. Click on the number next to the slider, which displays the current percentage value.
  2. The slider will reset to the configured default percentage value specified in the settings.

This feature enhances user convenience by providing a quick way to revert to a preferred default editor width setting, especially after adjusting the slider for a specific note.

Configuration:

In the plugin settings, you can set the default percentage value that the slider will reset to. This allows you to personalize your default editor width to match your preferred working environment.

Note files that have their width setup in the YAML frontmatter wil reset to the value specified in YAML.