Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FelipeRearden opened this issue Jul 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FelipeRearden
Copy link

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 🌞

@FelipeRearden FelipeRearden added the enhancement New feature or request label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant