gitcpy / diagram-zoom-drag

In obsidian, when you have a md file which contains large charts or diagrams, maybe something of mermaid, you will see those things are too large to show in mermaid window. So i think it is a good way to take the obsidian plugin here. It could easily zoom in or zoom-out or drag the charts or diagrams of mermaid. Enjoy it!
MIT License
17 stars 4 forks source link

Feat: Enhance to the Settings panel. Feat: Add option to go unless full screen under zoom drag-and-drop support #36

Open LincZero opened 3 hours ago

LincZero commented 3 hours ago
  1. More characters are supported.
    • so the selector should use querySelector, I want to use a condition like '.classA.classB' or '.classA>.classB classC',But the character limit prevents me from doing that.
    • Same with className, I can't use Spaces, _, - names
  2. Selector switch.
    • I may need to turn some options on or off temporarily, but I don't want to delete and add them frequently, which is very troublesome
  3. I might just use the "full screen button"
    • I think this is the most useful feature of the plugin. I don't want my charts to be distorted and height increased by default because I need to support drag and drop behavior in non-full-screen situations. And there may be additional performance losses during this period.

My core needs are number three, and the rest are just suggestions.

LincZero commented 3 hours ago
  1. Zoom operations are allowed to be simplified from 'Ctrl+ Scroll' to 'scroll' only in full screen mode.
    • I personally focus more on the experience in full-screen mode, and the need for drag and drop and view in non-global mode is extremely low
Ssentiago commented 48 minutes ago

Good requests. I'll think about that, thanks