SilentVoid13/Templater

[Feature Request] Mobile | tp.system.prompt with MULTILINE - Using a Keyboard Hotkey to SUBMIT

FelipeRearden opened this issue · 0 comments

Hello @Zachatoo !!!!!!!


This FR is applied when using Templater on Obsidian Mobile on iPadOS using an external keyboard

When using tp.system.prompt when multiline = true on Obsidian Mobile, is possible to use the keyboard hotkey TAB to focus on the Submit button BUT is not possible to hit ENTER to submit the same way that we do on Obsidian Desktop

● Step 1: open the prompt (texarea is focused)
● Step 2: type something
● Step 3: hit TAB to focus the Submit button (texarea is NOT focused anymore)
● Step 4: hit ENTER to submit the content (nothing happens)
● Step 5: ise the mouse to submit the text

📹

RPReplay_Final1720529248.mov

As you can see from the video, after hitting TAB to change the focus from textarea to button the Submit button is not focused.

🆘 IMPORTANT: this issue CANNOT be seen by emulating Obsidian Mobile on Desktop (works perfect while emulating). The only way to see this is using iPadOS.

💡 My suggestion to solve this issue: would be a good idea to add a new hotkey command to submit the content from the prompt instead of relying on TAB and ENTER. My idea is to use CMD + ENTER to achieve this.

This is the approach that the QuickAdd Plugin uses to submit it custom multiline prompt.


Thanks for reading this !!!!! I hope you like my suggestion 🙏 🙏 🙏

Let me know if you need more information !!!

Have a great day 🌞