zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.24k stars 233 forks source link

FR: Make click to interact available from the whole embed, not the small floating square in the middle. #1983

Open ctwhome opened 2 months ago

ctwhome commented 2 months ago

Embed items are fantastic, but having to reach the center of the embed to interact with it is quite frustrating. In Obsidian Canvas, I'm accustomed to clicking anywhere to interact with it, but that's not the case with Excalidraw.

When zoomed in, the click-to-interact button sometimes moves out of the visible area, which is inconvenient.

It would be wonderful if the click-to-interact button could cover the full area, similar to the Obsidian Canvas behavior. In Canvas, a simple click anywhere in the embed is enough to start interacting with it.

I've noticed that double-clicking also starts interacting in Excalidraw. However, since I use both Canvas and Excalidraw equally, this inconsistency can be cognitively challenging.

zsviczian commented 2 months ago

When the embed is selected you can also press Enter to activate it.

Vue-Pu commented 2 months ago

@zsviczian so do we still have to PR or just simply press enter to activate?