You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This is the main entry point to the Joplin API. You can access various services using the provided accessors.
13
15
*
14
-
* **This is a beta API**
16
+
* The API is now relatively stable and in general maintaining backward compatibility is a top priority, so you shouldn't except much breakages.
15
17
*
16
-
* Please note that the plugin API is relatively new and should be considered Beta state. Besides possible bugs, what it means is that there might be necessary breaking changes from one version to the next. Whenever such change is needed, best effort will be done to:
18
+
* If a breaking change ever becomes needed, best effort will be done to:
17
19
*
18
-
* - Maintain backward compatibility;
19
-
* - When possible, deprecate features instead of removing them;
20
+
* - Deprecate features instead of removing them, so as to give you time to fix the issue;
20
21
* - Document breaking changes in the changelog;
21
22
*
22
-
* So if you are developing a plugin, please keep an eye on the changelog as everything will be in there with information about how to update your code. There won't be any major API rewrite or architecture changes, but possibly small tweaks like function signature change, type change, etc.
23
-
*
24
-
* Eventually, the plugin API will be versioned to make this process smoother.
23
+
* So if you are developing a plugin, please keep an eye on the changelog as everything will be in there with information about how to update your code.
* name: 'madeUpCommand', // CodeMirror and TinyMCE
42
+
* args: [], // CodeMirror and TinyMCE
43
+
* ui: false, // TinyMCE only
44
+
* value: '', // TinyMCE only
45
+
* });
46
+
* ```
47
+
*
48
+
* [View the example using the CodeMirror editor](https://github.com/laurent22/joplin/blob/dev/packages/app-cli/tests/support/plugins/codemirror_content_script/src/index.ts)
49
+
*
22
50
*/
23
51
exportdefaultclassJoplinCommands{
24
-
/**
52
+
/**
25
53
* <span class="platform-desktop">desktop</span> Executes the given
26
54
* command.
27
55
*
@@ -40,8 +68,8 @@ export default class JoplinCommands {
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
0 commit comments