joplin-plugin-copy-as-html 1.0.0 → 1.0.3

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
@@ -28,5 +28,13 @@ This should work with both markdown image embeds and the html img src embeds tha
28
28
 
29
29
  This will strip the markdown formatting characters from the raw markdown (except for numbered/unordered list markers) and populate it as text/plain in the clipboard, for scenarios where you need to paste into an app that supports neither HTML formatting or markdown.
30
30
 
31
+ ## Known Issues
32
+
33
+ - The context menu options appear in the rich text editor's context menu (but aren't functional, the plugin is only intended for the markdown editor).
34
+
35
+ - For Joplin images that have img src tags with width and/or height defined, the image sizes are not retained in the text/html (so they will be pasted at original size). I haven't been able to fix this (the size attributes always seemed to get stripped from the rendered html).
36
+
37
+ ## Misc
38
+
31
39
  > [!NOTE]
32
- > I originally wanted to implement a single action that populated both the text/html and the text/plain clipboard categories (allowing you to seamlessly paste as rich text or plain text), but this currently doesn't seem possible to due limitations with joplin's clipboard API. The joplin clipboard API doesn't appear to allow writing both text/html and text/plain, you only get one or the other (if I'm wrong about this, please let me know!)
40
+ > I originally wanted to implement a single action that populated both the text/html and the text/plain clipboard categories (allowing you to seamlessly paste as rich text or plain text), but this currently doesn't seem possible due limitations with joplin's clipboard API. The joplin clipboard API doesn't appear to allow writing both text/html and text/plain at the same time... you only get one or the other (if I'm wrong about this, please let me know!)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-copy-as-html",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
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.bwat47.copyashtml",
4
4
  "app_min_version": "3.3",
5
- "version": "1.0.0",
5
+ "version": "1.0.3",
6
6
  "name": "Copy as HTML",
7
7
  "description": "Allows you to copy text with HTML (rich text) formatting from the markdown editor without excess styling.",
8
8
  "author": "bwat47",
@@ -21,6 +21,6 @@
21
21
  "value": true
22
22
  }
23
23
  },
24
- "_publish_hash": "sha256:1ffc6e8f26a311c0032ed8a42e406840fc8a850627c69933ba4d6bf541a0a54e",
25
- "_publish_commit": "main:4afd3a1dfbf52ad2ac13d057e8d3cb1005a05733"
24
+ "_publish_hash": "sha256:d388073057e64593ed0e7470ea5fceec48fd20535dbfafa8062d02aa0ade7180",
25
+ "_publish_commit": "main:5783ff5fa82930393574c6b68ce6b318491ecf67"
26
26
  }