joplin-plugin-click-to-copy 1.3.3 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This Joplin plugin allows you to create inline click-to-copy text spans.
|
|
4
4
|
|
|
5
|
-
**Version**: 1.
|
|
5
|
+
**Version**: 1.4.1
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ This Joplin plugin allows you to create inline click-to-copy text spans.
|
|
|
10
10
|
- Search for `click-to-copy` and click install
|
|
11
11
|
- Restart Joplin
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Uninstallation
|
|
14
14
|
|
|
15
15
|
- Open Joplin and navigate to `Tools > Options > Plugins`
|
|
16
16
|
- Find the `Click to copy` plugin
|
|
@@ -24,7 +24,7 @@ This Joplin plugin allows you to create inline click-to-copy text spans.
|
|
|
24
24
|
In order to create a Click-to-Copy Span, you can:
|
|
25
25
|
- press on the `Click-to-Copy Span` toolbar button to create a template span, or
|
|
26
26
|
- highlight text then press on the `Click-to-Copy Span` toolbar button to convert it to a span, or
|
|
27
|
-
-
|
|
27
|
+
- manually type in the following format:
|
|
28
28
|
|
|
29
29
|
```
|
|
30
30
|
[[insert text here]]
|
|
@@ -36,6 +36,8 @@ You can additionally make the text within the span render as inline code by wrap
|
|
|
36
36
|
[[`This will render as inline code, but still be click-to-copy`]]
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
As an alternative to the above, if you'd like inline code spans to always be click-to-copy without having to add the extra tokens, there is an option to enable this in settings.
|
|
40
|
+
|
|
39
41
|
If you double the start token, then the span will render its text as dots, to obfuscate things like passwords. If you double the end token, then the plugin will attempt to clear your clipboard after 15 seconds. When a span is rendered as a password, right clicking it will toggle between displaying dots and the actual text.
|
|
40
42
|
|
|
41
43
|
```
|
|
@@ -61,6 +63,7 @@ There is a settings page for the plugin in the Joplin options. There, you can:
|
|
|
61
63
|
* Customize the start and end tokens away from the default `[[` and `]]`
|
|
62
64
|
* Disable having the spans appear in the editor if you'd prefer only the raw text there
|
|
63
65
|
* Choose if the start and end tokens are shown or hidden, when displaying spans in the editor is enabled
|
|
66
|
+
* Enable or disable having inline code spans be click-to-copy in the webview and editor
|
|
64
67
|
|
|
65
68
|

|
|
66
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-click-to-copy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
|
|
6
6
|
"prepare": "npm run dist",
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "com.joplin.click.to.copy",
|
|
4
4
|
"app_min_version": "3.2",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.4.1",
|
|
6
6
|
"name": "Click to copy",
|
|
7
7
|
"description": "Create text spans which are click-to-copy.",
|
|
8
8
|
"author": "ntczkjfg",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"desktop",
|
|
21
21
|
"mobile"
|
|
22
22
|
],
|
|
23
|
-
"_publish_hash": "sha256:
|
|
24
|
-
"_publish_commit": "master:
|
|
23
|
+
"_publish_hash": "sha256:adbdb5f3902f65911b1310332a53c258fba676f229fa7d9b2017cb68944d344c",
|
|
24
|
+
"_publish_commit": "master:1c10867730e3c02ab6b005deb0ece47b5dc7a283"
|
|
25
25
|
}
|