-
Notifications
You must be signed in to change notification settings - Fork 6
Notes do not open in the editor #37
Comments
Try to change |
I did as you instructed (after re-configuring and installing the extension in the default extensions-dir), but still appear to have the same issues. Clicking a note in the sidebar does not open a working copy in the editor. |
I'm not sure if this is relevant, but when I try to open a note with the extension, I get something like the following in the joplin-web-clipper server logs.
|
Yes, this seems to mean that your Joplin client does not have note action related APIs. Can you test the latest version of Joplin? Note action api is a new api added after 1.4, and it is indeed not found in the official api documentation. . . |
Running |
|
I installed the CLI client using the recommended method via npm. Are you aware if the action API is possibly implemented in a separate package? |
Can you try the following commands?
curl --location --request POST 'http://localhost:27584/services/externalEditWatcher?token=***' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "openAndWatch",
"noteId": "257f6a9dacc1409580ee526d50ac4d49"
}' If you still can’t open it in the editor, you probably need to ask @laurent22 |
Just to clarify, the port and token are the same ones I specified for your extension correct? And the noteId is simply the id of one of my notes? |
Yes |
😬
How should I go about doing that? Should I open an issue in the Joplin repo? |
Yes, you need to add a question to the joplin official project, stating that you cannot access the action api using curl, and you may also need joplin logs (this api can be used normally when I test here) |
Sharing for visibility |
Looks like you must use the desktop version |
Describe the bug
I am not able edit notes directly with this extension. However, I can still do many other things, including deleting notes/notebooks, creating notes/notebooks, removing tags, creating tags, toggling todo states etc. I am also able to view the contents of all of my notebooks within the sidebar. Creating a note with the command palette results in the note being created, but it does not open in the editor.
To Reproduce
Steps to reproduce the behavior:
Alternatively
Joplin: Create note
Expected behavior
A working copy of the note is opened in an editor pane when a note is created, or when a note is selected in the sidebar.
Error Stack Trace
Desktop (please complete the following information):
Additional context
joplin editor:
code --wait --extensions-dir .vscode/extensions-Markdown/ --user-data-dir .config/Code-Markdown
Using joplin cli directly and running
joplin edit <NOTE>
works without issue.The text was updated successfully, but these errors were encountered: