joplin-plugin-freehand-drawing
Advanced tools
Comparing version 2.2.1 to 2.3.0
415
CHANGELOG.md
@@ -0,291 +1,362 @@ | ||
# 2.3.0 | ||
- UI changes | ||
- Support for editing existing drawings in the rich text editor. Double-click on a drawing to edit. | ||
- Clicking "save" gives the user the option to continue editing (if user input is required) or saves without presenting a dialog (if no input is required). | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#1100) | ||
- See the [`js-draw` changelog](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#1100) for the full list of changes (previous version was 1.3.1). | ||
- Bug fixes | ||
- Fixes `updated_time` not changed when updating drawings. This may fix sync issues in some Joplin pre-release versions. | ||
# 2.2.1 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#131) | ||
- Fixes text/images moving when created at roughly ≥ 10⁷× zoom. | ||
- Fixes grid lines vanishing at high zoom levels. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#131) | ||
- Fixes text/images moving when created at roughly ≥ 10⁷× zoom. | ||
- Fixes grid lines vanishing at high zoom levels. | ||
# 2.2.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#130) | ||
- Adds support for drawings that automatically resize to fit their content on save. | ||
- Adds scrollbars (read-only for now) | ||
- Bug fixes and performance improvements. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#130) | ||
- Adds support for drawings that automatically resize to fit their content on save. | ||
- Adds scrollbars (read-only for now) | ||
- Bug fixes and performance improvements. | ||
# 2.1.2 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#121) | ||
* Fix low-contrast colors in Joplin ≤ v2.11 | ||
* Fix edge toolbar open/closing animations in Joplin ≤ v2.11 | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#121) | ||
- Fix low-contrast colors in Joplin ≤ v2.11 | ||
- Fix edge toolbar open/closing animations in Joplin ≤ v2.11 | ||
# 2.1.0, 2.1.1 | ||
* Fix incorrect `manifest.json` version number. | ||
* Adjust default color theme for higher contrast. | ||
- Fix incorrect `manifest.json` version number. | ||
- Adjust default color theme for higher contrast. | ||
# 2.0.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#102) | ||
- Adds a new toolbar theme (a theme similar to the original can be enabled in settings) | ||
- Adds a theme switcher in settings | ||
- The default `js-draw` themes can now be selected in addition to a "match Joplin" setting | ||
* Centers the background/drawing area when making a new image. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#102) | ||
- Adds a new toolbar theme (a theme similar to the original can be enabled in settings) | ||
- Adds a theme switcher in settings | ||
- The default `js-draw` themes can now be selected in addition to a "match Joplin" setting | ||
- Centers the background/drawing area when making a new image. | ||
# 1.12.1 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0251) | ||
- Fixes strokes disappearing when drawn with the mouse when running in the version of Electron used by Joplin. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0251) | ||
- Fixes strokes disappearing when drawn with the mouse when running in the version of Electron used by Joplin. | ||
# 1.12.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0250) | ||
- Possible fix for strokes canceling on pen up on some devices. | ||
- Fix strokes sometimes not resizing properly on zoom. | ||
- Fix `r` and `R` keys causing rotation in the same direction (they should cause rotation in opposite directions). | ||
- Switch to a different pen type submenu. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0250) | ||
- Possible fix for strokes canceling on pen up on some devices. | ||
- Fix strokes sometimes not resizing properly on zoom. | ||
- Fix `r` and `R` keys causing rotation in the same direction (they should cause rotation in opposite directions). | ||
- Switch to a different pen type submenu. | ||
# 1.11.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0240) | ||
- Adds support for rendering relatively positioned text from SVGs | ||
- Adds a circle pen type. | ||
* Bug fixes | ||
- Previously, when saving a **new** image, the plugin would ask the user whether they want to save or overwrite. The "overwrite" option has been removed in this case. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0240) | ||
- Adds support for rendering relatively positioned text from SVGs | ||
- Adds a circle pen type. | ||
- Bug fixes | ||
- Previously, when saving a **new** image, the plugin would ask the user whether they want to save or overwrite. The "overwrite" option has been removed in this case. | ||
# 1.10.0 and 1.10.1 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0230) | ||
- Add animations when opening/closing dropdowns. | ||
- Snap selection translation/drawing to x/y axes when holding shift. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0230) | ||
- Add animations when opening/closing dropdowns. | ||
- Snap selection translation/drawing to x/y axes when holding shift. | ||
# 1.9.0 | ||
- Updates German localization (thanks to @Mr-Kanister) | ||
- By default, display the editor in fullscreen. | ||
- A setting has been added that allows disabling this. | ||
- Updates German localization (thanks to @Mr-Kanister) | ||
- By default, display the editor in fullscreen. | ||
- A setting has been added that allows disabling this. | ||
# 1.8.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0122) | ||
- Improved German localization (thanks to @Mr-Kanister) | ||
- Don't draw when the user **clicks** on the canvas to close the color picker. Drawing is still done if the user clicks and drags. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0122) | ||
- Improved German localization (thanks to @Mr-Kanister) | ||
- Don't draw when the user **clicks** on the canvas to close the color picker. Drawing is still done if the user clicks and drags. | ||
# 1.7.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0121) | ||
- Bug fix: Closing color picker: Start drawing immediately, rather than require an extra tap. | ||
- Use edge of strokes, rather than center, for erasing/selection. This was previously only the case for flat-tiped strokes. | ||
- Adjustments to stroke smoothing. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0121) | ||
- Bug fix: Closing color picker: Start drawing immediately, rather than require an extra tap. | ||
- Use edge of strokes, rather than center, for erasing/selection. This was previously only the case for flat-tiped strokes. | ||
- Adjustments to stroke smoothing. | ||
# 1.6.1 | ||
* Bug fix: Don't apply template backgrounds when loading images that have no background. | ||
- Bug fix: Don't apply template backgrounds when loading images that have no background. | ||
# 1.6.0 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0120) | ||
- Grid-style backgrounds | ||
* Uses the last-saved image's background and size as a template for new images. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0120) | ||
- Grid-style backgrounds | ||
- Uses the last-saved image's background and size as a template for new images. | ||
# 1.5.2 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0190) | ||
- Fixes touchpad pinch zoom offset vertically from cursor | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0190) | ||
- Fixes touchpad pinch zoom offset vertically from cursor | ||
# 1.5.1 | ||
* Don't move the save button to the overflow menu. | ||
* Add space between save/close buttons and the other buttons. | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0174) | ||
- Don't move the save button to the overflow menu. | ||
- Add space between save/close buttons and the other buttons. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0174) | ||
# 1.5.0 | ||
* Map `ctrl+s` to save in js-draw editor | ||
* Show "Insert Image" in edit menu and, thus, the "Keyboard Shortcuts" section of settings. | ||
- Map `ctrl+s` to save in js-draw editor | ||
- Show "Insert Image" in edit menu and, thus, the "Keyboard Shortcuts" section of settings. | ||
# 1.4.7 | ||
* Bug fixes | ||
- Fixes "insert image" button broken in non-beta versions of Joplin when the rich text editor was visible. | ||
- Bug fixes | ||
- Fixes "insert image" button broken in non-beta versions of Joplin when the rich text editor was visible. | ||
# 1.4.6 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0172) | ||
- Fixes canvas not resizing on window resize. | ||
- Fixes changing the color of duplicated text objects. | ||
* Bug fixes | ||
- Fixes "insert image" button not working in the rich text editor. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0172) | ||
- Fixes canvas not resizing on window resize. | ||
- Fixes changing the color of duplicated text objects. | ||
- Bug fixes | ||
- Fixes "insert image" button not working in the rich text editor. | ||
# 1.4.5 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0160) | ||
- Ability to change the background color. | ||
- Overflow menu for the toolbar. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0160) | ||
- Ability to change the background color. | ||
- Overflow menu for the toolbar. | ||
# 1.4.4 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0152) | ||
- Don't select/erase objects that have `isSelectable` set to `false`. | ||
- Fix larger-than-necessary output size of arrow/rectangle/line shapes. | ||
- Fix view jumping while zooming in/rotating with touchscreen pan tool. | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0152) | ||
- Don't select/erase objects that have `isSelectable` set to `false`. | ||
- Fix larger-than-necessary output size of arrow/rectangle/line shapes. | ||
- Fix view jumping while zooming in/rotating with touchscreen pan tool. | ||
# 1.4.3 | ||
* [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0150) | ||
- `ctrl+A`-related bug fixes. | ||
- Adds a "reformat selection" button (allows changing selection color). | ||
- [Updates `js-draw`](https://github.com/personalizedrefrigerator/js-draw/blob/main/CHANGELOG.md#0150) | ||
- `ctrl+A`-related bug fixes. | ||
- Adds a "reformat selection" button (allows changing selection color). | ||
# 1.4.2 | ||
* Updates `js-draw` | ||
- Activate shortcuts with `cmd` in addition to `ctrl`. E.g. on MacOS, cmd+a should select everything when the selection tool is enabled. | ||
- Allow mirroring the seleciton. | ||
- Updates `js-draw` | ||
- Activate shortcuts with `cmd` in addition to `ctrl`. E.g. on MacOS, cmd+a should select everything when the selection tool is enabled. | ||
- Allow mirroring the seleciton. | ||
# 1.4.1 | ||
* Updates `js-draw` | ||
- Rotation snapping while rotating the screen with touch | ||
- Updates `js-draw` | ||
- Rotation snapping while rotating the screen with touch | ||
# 1.4.0 | ||
* Updates `js-draw` | ||
- New pen icons | ||
- Snap to grid while holding control key. | ||
- Updates `js-draw` | ||
- New pen icons | ||
- Snap to grid while holding control key. | ||
# 1.3.10 | ||
* Updates `js-draw` | ||
- Resizable eraser | ||
- Selection- & text tool-related bug fixes | ||
- Updates `js-draw` | ||
- Resizable eraser | ||
- Selection- & text tool-related bug fixes | ||
# 1.3.9 | ||
* Updates `js-draw` | ||
- Performance improvements | ||
- Updates `js-draw` | ||
- Performance improvements | ||
# 1.3.8 | ||
* Updates `js-draw` | ||
- Works around another inertial scrolling issue triggered when a stylus gets close to the screen during a touch panning gesture. | ||
- Adds an "insert image" dialog. | ||
- Updates `js-draw` | ||
- Works around another inertial scrolling issue triggered when a stylus gets close to the screen during a touch panning gesture. | ||
- Adds an "insert image" dialog. | ||
# 1.3.7 | ||
* Updates `js-draw` | ||
- Fixes inertial scrolling issue. | ||
- Updates `js-draw` | ||
- Fixes inertial scrolling issue. | ||
# 1.3.6 | ||
* Updates `js-draw` | ||
- Performance improvements | ||
- Different icons for rounded/non-rounded pens | ||
- Updates `js-draw` | ||
- Performance improvements | ||
- Different icons for rounded/non-rounded pens | ||
# 1.3.5 | ||
* Updates `js-draw` | ||
- Misc. bug fixes | ||
- Inertial touchscreen scrolling. | ||
- Updates `js-draw` | ||
- Misc. bug fixes | ||
- Inertial touchscreen scrolling. | ||
# 1.3.4 | ||
* Focus the editor when fisrt opened. | ||
* It is no longer necessary to click on the editor to use keyboard shortcuts. | ||
- Focus the editor when fisrt opened. | ||
- It is no longer necessary to click on the editor to use keyboard shortcuts. | ||
# 1.3.3 | ||
* Updates `js-draw` | ||
- Ability to change the default font size. | ||
- Updates `js-draw` | ||
* Ability to change the default font size. | ||
# 1.3.2 | ||
* Updates js-draw: | ||
* Save images with `fill=none` for strokes with no fill. | ||
* Adds a find dialog that can be opened with `ctrl+f`. | ||
- Updates js-draw: | ||
- Save images with `fill=none` for strokes with no fill. | ||
- Adds a find dialog that can be opened with `ctrl+f`. | ||
# 1.3.1 | ||
* Save and load tool state (e.g. pen sizes and colors) when closing/opening the editor. | ||
* Allow locking touchscreen screen rotation. | ||
* Bug fixes. | ||
- Save and load tool state (e.g. pen sizes and colors) when closing/opening the editor. | ||
- Allow locking touchscreen screen rotation. | ||
- Bug fixes. | ||
# 1.3.0 | ||
* Non-pressure-sensitive strokes by default | ||
- Non-pressure-sensitive strokes by default | ||
# 1.2.2 | ||
* Updates `js-draw` | ||
* Fixes exporting multi-line text regions to SVG. | ||
- Updates `js-draw` | ||
- Fixes exporting multi-line text regions to SVG. | ||
# 1.2.1 | ||
* Updates `js-draw` | ||
* Fixes unnecessary scrollbars when editing/adding text. | ||
- Updates `js-draw` | ||
- Fixes unnecessary scrollbars when editing/adding text. | ||
# 1.2.0 | ||
* Updates `js-draw` | ||
* Edit existing text fields by clicking on them while using the text tool. | ||
* Increases auto-save frequency to 0.5 Hz. | ||
- Updates `js-draw` | ||
- Edit existing text fields by clicking on them while using the text tool. | ||
- Increases auto-save frequency to 0.5 Hz. | ||
# 1.1.2 | ||
* Updates `js-draw` | ||
* Hand tool can now be toggled with one click. | ||
* Keyboard shortcuts: | ||
* `ctrl+d` for duplicate selection | ||
* `ctrl+r` for resize image to selection | ||
* `shift+click` to expand the selection | ||
- Updates `js-draw` | ||
- Hand tool can now be toggled with one click. | ||
- Keyboard shortcuts: | ||
- `ctrl+d` for duplicate selection | ||
- `ctrl+r` for resize image to selection | ||
- `shift+click` to expand the selection | ||
# 1.1.1 | ||
* Publishes changes from 1.1.0 (`manifest.json` needed to be updated) | ||
* Updates `js-draw` | ||
* `Ctrl+1` through `Ctrl+9` select pen drawing modes (if a pen is selected). `1-9` still selects tools. | ||
- Publishes changes from 1.1.0 (`manifest.json` needed to be updated) | ||
- Updates `js-draw` | ||
- `Ctrl+1` through `Ctrl+9` select pen drawing modes (if a pen is selected). `1-9` still selects tools. | ||
# 1.1.0 | ||
* Bug fixes | ||
* Fixes: Unable to close `js-draw` editor window if the editor fails to load. | ||
* Fixes: Unable to edit images when the `Joplin Enhancement` plugin is enabled. | ||
- Bug fixes | ||
- Fixes: Unable to close `js-draw` editor window if the editor fails to load. | ||
- Fixes: Unable to edit images when the `Joplin Enhancement` plugin is enabled. | ||
# 1.0.21 | ||
* Updates `js-draw` | ||
* Bug fixes | ||
* Division by zero error when drawing strokes. | ||
- Updates `js-draw` | ||
- Bug fixes | ||
- Division by zero error when drawing strokes. | ||
# 1.0.20 | ||
* Updates `js-draw` | ||
* Selection-related bug fixes. | ||
* Fixes an issue where some strokes would distort when saving. | ||
- Updates `js-draw` | ||
- Selection-related bug fixes. | ||
- Fixes an issue where some strokes would distort when saving. | ||
# 1.0.19 | ||
* Updates `js-draw` | ||
* `Ctrl+C`, `Ctrl+V`, and opening images dropped into the editor. | ||
* Delete the selection by pressing `Backspace` or `Delete`. | ||
- Updates `js-draw` | ||
- `Ctrl+C`, `Ctrl+V`, and opening images dropped into the editor. | ||
- Delete the selection by pressing `Backspace` or `Delete`. | ||
# 1.0.18 | ||
* Updates `js-draw` | ||
* Faster autosaves. | ||
* Switch tools with `ctrl+1`, `ctrl+2`, ... | ||
- Updates `js-draw` | ||
- Faster autosaves. | ||
- Switch tools with `ctrl+1`, `ctrl+2`, ... | ||
# 1.0.17 | ||
* Increases the autosave interval to once per minute. | ||
* Updates `js-draw` | ||
* Higher quality while moving the view with a touchscreen. | ||
- Increases the autosave interval to once per minute. | ||
- Updates `js-draw` | ||
- Higher quality while moving the view with a touchscreen. | ||
# 1.0.16 | ||
* Updates `js-draw` | ||
* Fixes strokes with thickness set to a very small number self-intersecting many times. | ||
- Updates `js-draw` | ||
- Fixes strokes with thickness set to a very small number self-intersecting many times. | ||
# 1.0.15 | ||
* German localization | ||
- German localization | ||
# 1.0.14 | ||
* Spanish localization | ||
* I haven't found a way to determine Joplin's locale through the plugin API. As such, this is based on the system's locale, **not** Joplin's locale. | ||
* Updates `js-draw` | ||
* Bug fixes | ||
- Spanish localization | ||
- I haven't found a way to determine Joplin's locale through the plugin API. As such, this is based on the system's locale, **not** Joplin's locale. | ||
- Updates `js-draw` | ||
- Bug fixes | ||
# 1.0.13 | ||
* Updates `js-draw` | ||
* Accessibility fixes | ||
* Other bug fixes. | ||
- Updates `js-draw` | ||
- Accessibility fixes | ||
- Other bug fixes. | ||
# 1.0.12 | ||
* Updates `js-draw` | ||
* Adds a reset zoom/viewport button. | ||
- Updates `js-draw` | ||
- Adds a reset zoom/viewport button. | ||
# 1.0.11 | ||
* Updates `js-draw` | ||
* Make icon foregrounds match Joplin's theme when buttons are selected. | ||
* Autosaves every two minutes. At present there is only one autosave file. | ||
* Press `Ctrl+Shift+P`, then type `Restore from autosave` to restore from the autosaved drawing. | ||
- Updates `js-draw` | ||
- Make icon foregrounds match Joplin's theme when buttons are selected. | ||
- Autosaves every two minutes. At present there is only one autosave file. | ||
- Press `Ctrl+Shift+P`, then type `Restore from autosave` to restore from the autosaved drawing. | ||
# 1.0.10 | ||
* Updates `js-draw` | ||
* Fixes a regression -- opening the color picker and attempting to change the color would cause the picker to immediately disappear. | ||
- Updates `js-draw` | ||
- Fixes a regression -- opening the color picker and attempting to change the color would cause the picker to immediately disappear. | ||
# 1.0.9 | ||
* Match Joplin's theme. | ||
- Match Joplin's theme. | ||
# 1.0.8 | ||
* Updates `js-draw` | ||
* Adds a pipette tool (pick colors by clicking on the screen) | ||
* Adds recent colors to the list of suggested colors | ||
* Fixes "resume editing" button sometimes not working. | ||
- Updates `js-draw` | ||
- Adds a pipette tool (pick colors by clicking on the screen) | ||
- Adds recent colors to the list of suggested colors | ||
- Fixes "resume editing" button sometimes not working. | ||
# 1.0.7 | ||
* Updates `js-draw` | ||
* Fixes loading text from SVGs in Chrome, and thus in Joplin. | ||
- Updates `js-draw` | ||
- Fixes loading text from SVGs in Chrome, and thus in Joplin. | ||
# 1.0.6 | ||
* Updates `js-draw` | ||
* Adds a text tool | ||
* Various bug fixes and improvements | ||
- Updates `js-draw` | ||
- Adds a text tool | ||
- Various bug fixes and improvements | ||
# 1.0.5 | ||
* Updates `js-draw` to the latest version | ||
* Caches rendered strokes (where possible) for performance | ||
* Bug fixes | ||
* Fixes a bug where an old version of an edited image was sometimes drawn in the preview pane instead of the updated image. | ||
- Updates `js-draw` to the latest version | ||
- Caches rendered strokes (where possible) for performance | ||
- Bug fixes | ||
- Fixes a bug where an old version of an edited image was sometimes drawn in the preview pane instead of the updated image. | ||
# 1.0.1 | ||
* Allows discarding changes: Adds a "close" button to the `js-draw` toolbar. | ||
- Allows discarding changes: Adds a "close" button to the `js-draw` toolbar. |
{ | ||
"name": "joplin-plugin-freehand-drawing", | ||
"version": "2.2.1", | ||
"scripts": { | ||
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive", | ||
"prepare": "yarn dist", | ||
"update": "npm install -g generator-joplin && yo joplin --update" | ||
}, | ||
"license": "MIT", | ||
"keywords": [ | ||
"joplin-plugin" | ||
], | ||
"files": [ | ||
"publish" | ||
], | ||
"devDependencies": { | ||
"@types/codemirror": "5.60.8", | ||
"@types/fs-extra": "^11.0.1", | ||
"@types/markdown-it": "^12.2.3", | ||
"@types/node": "^20.3.2", | ||
"copy-webpack-plugin": "^11.0.0", | ||
"fs-extra": "^11.1.1", | ||
"glob": "^10.3.0", | ||
"on-build-webpack": "^0.1.0", | ||
"style-loader": "^3.3.3", | ||
"tar": "^6.1.15", | ||
"ts-loader": "^9.4.3", | ||
"typescript": "^5.1.3", | ||
"webpack": "^5.88.2", | ||
"webpack-cli": "^5.1.4" | ||
}, | ||
"dependencies": { | ||
"@js-draw/material-icons": "^1.3.1", | ||
"js-draw": "^1.3.1" | ||
} | ||
"name": "joplin-plugin-freehand-drawing", | ||
"version": "2.3.0", | ||
"scripts": { | ||
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive", | ||
"prepare": "npm run dist", | ||
"update": "npm install -g generator-joplin && yo joplin --update", | ||
"preinstall": "git config core.hookspath .githooks", | ||
"lint-staged": "lint-staged", | ||
"lint": "eslint --fix . && prettier --ignore-path .eslintignore --write .", | ||
"test": "jest" | ||
}, | ||
"license": "MIT", | ||
"keywords": [ | ||
"joplin-plugin" | ||
], | ||
"files": [ | ||
"publish" | ||
], | ||
"devDependencies": { | ||
"@types/codemirror": "5.60.8", | ||
"@types/fs-extra": "^11.0.1", | ||
"@types/markdown-it": "^12.2.3", | ||
"@types/node": "^20.3.2", | ||
"copy-webpack-plugin": "^11.0.0", | ||
"fs-extra": "^11.1.1", | ||
"glob": "^10.3.10", | ||
"on-build-webpack": "^0.1.0", | ||
"style-loader": "^3.3.3", | ||
"tar": "^6.2.0", | ||
"ts-loader": "^9.4.4", | ||
"typescript": "^5.2.2", | ||
"webpack": "^5.88.2", | ||
"webpack-cli": "^5.1.4", | ||
"jest": "29.7.0", | ||
"jest-environment-jsdom": "29.7.0", | ||
"@types/jest": "29.5.5", | ||
"ts-jest": "29.1.1", | ||
"eslint": "8.50.0", | ||
"@typescript-eslint/eslint-plugin": "6.7.4", | ||
"@typescript-eslint/parser": "6.7.4", | ||
"eslint-config-prettier": "9.0.0", | ||
"prettier": "3.0.3", | ||
"lint-staged": "14.0.1" | ||
}, | ||
"dependencies": { | ||
"@js-draw/material-icons": "^1.10.0", | ||
"js-draw": "^1.10.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ { | ||
"app_min_version": "2.10", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"name": "Freehand Drawing", | ||
@@ -35,4 +35,4 @@ "description": "Create and edit drawings with js-draw.", | ||
], | ||
"_publish_hash": "sha256:a4f7f02db05c16275ad10e3ee8ee162ad11fa8d0905b9dab8c2cb8a62a77d0db", | ||
"_publish_commit": "main:c8030f91548dbfc259a53b9dc2c8293f93d5269a" | ||
"_publish_hash": "sha256:f8400a1886cb9d9be161213928a694f7c43b712e7246ceb147ac0c41c22bff65", | ||
"_publish_commit": "main:d279922830bb14d7b2d67b591b46a0abe90d1d6b" | ||
} |
# `joplin-plugin-freehand-drawing` | ||
[On GitHub](https://github.com/personalizedrefrigerator/joplin-plugin-freehand-drawing) | [On the Joplin Forum](https://discourse.joplinapp.org/t/plugin-js-draw-integration/27114) | [Online Demo](https://personalizedrefrigerator.github.io/js-draw/example/index.html) | [Installing](https://github.com/personalizedrefrigerator/joplin-plugin-freehand-drawing#installing) | ||
@@ -9,2 +10,3 @@ | ||
## Installing | ||
Search for "freehand drawing" under the plugins tab in Joplin's settings: | ||
@@ -20,20 +22,3 @@ ![screenshot of the search bar and results in the plugins tab. Freehand Drawing // create and edit drawings with js-draw is the only visible result.](https://user-images.githubusercontent.com/46334387/188908688-1500567d-f9a4-49b5-9dc1-8b5a00210c97.png) | ||
# Notes | ||
* This plugin uses [js-draw](https://github.com/personalizedrefrigerator/js-draw) to edit/create freehand drawings. Bugs related to `js-draw` can be reported using its [issue tracker](https://github.com/personalizedrefrigerator/js-draw/issues). | ||
# Development | ||
## Building the plugin | ||
The plugin is built using Webpack, which creates the compiled code in `/dist`. A JPL archive will also be created at the root, which can use to distribute the plugin. | ||
To build the plugin, simply run `yarn run dist`. | ||
The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript. | ||
## Updating the plugin framework | ||
To update the plugin framework, run `npm run update`. | ||
In general this command tries to do the right thing - in particular it's going to merge the changes in package.json and .gitignore instead of overwriting. It will also leave "/src" as well as README.md untouched. | ||
The file that may cause problem is "webpack.config.js" because it's going to be overwritten. For that reason, if you want to change it, consider creating a separate JavaScript file and include it in webpack.config.js. That way, when you update, you only have to restore the line that include your file. | ||
- This plugin uses [js-draw](https://github.com/personalizedrefrigerator/js-draw) to edit/create freehand drawings. Bugs related to `js-draw` can be reported using its [issue tracker](https://github.com/personalizedrefrigerator/js-draw/issues). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
574314
24
23
1
Updatedjs-draw@^1.10.0