shikuz
1 December 2024 12:01
1
Is it possible (and hopefully easy to implement) to have a mobile command that is similar to toggleVisiblePanes
, that switches between the editor and the markdown preview?
(This is also related to a feature request from earlier this year.)
Thanks!
1 Like
I'm linking a related pull request:
laurent22:dev
← personalizedrefrigerator:pr/mobile/commands/toggleVisiblePanes
opened 05:57AM - 12 Dec 24 UTC
# Summary
This pull request adds a `toggleVisiblePanes` note screen command t… o the mobile app. This feature was requested [on the forum](https://discourse.joplinapp.org/t/mobile-plugins-api-togglevisiblepanes-fr/42254).
# Testing plan
This pull request includes an automated test. Additionally, it has been tested manually by:
1. Starting the Joplin web app with a plugin installed.
2. Opening the note viewer.
3. Inspecting the plugin background frame in the browser development tools.
4. Running `joplin.commands.execute('toggleVisiblePanes')`.
5. Verifying that this opens the editor.
6. Running `joplin.commands.execute('toggleVisiblePanes')`.
7. Verifying that this re-opens the note viewer (and closes the editor).
1 Like
shikuz
12 December 2024 08:46
3