1) There is now a new preference page under images for "Maintaining server paths". You specify a server path (such as /images/) and a local path (such as c:\hugo\static\images), and
Marktext will do the right mapping internally. Image previews will come from the images on your computer, while the content stored in the document will represent the corresponding server paths.
Full documentation has been added to IMAGES.md.
2) Path variables (like ${filename}) have been expanded to support year, month, and day. This helps prevent filename collisions and is common in many blogging platforms.
3) Pasting images and dragging them into Marktext supports this path mapping as well, moving them to the local path as appropriate
4) Image imports (pasting and or dragging) now retain the source image file name if possible, only using the image hash if there is a conflict. Images with names are easier to manage and show up
appropriately in search engines
4) The image edit dialog now has a 'Rename' tab so that you can rename the images to something more specific when they are just pasted from the clipboard. This simplifies the previous workflow that
used to require editing the markdown and renaming the file in the filesystem manually.
There is also now a 'User Notification Dialog' component to let Marktext communicate with the user about error conditions.
* fix: Hide all float box and image transformer when context click
* fix: image need to have unique id
* feat: support copy,cut and paste selected image
* link to creator
* Feat: prevent drag image
* fix: #1313
* Fix: enter to edit selected image
* feat: image setting
* opti: inline image
* add imageSelectAction
* remove axios from muya
* update image selector
* finish image selector ui
* add load success style
* delete image by click delete icon
* opti structure of image html
* handle arrow key
* enter to edit
* image preview by press space
* handle backspace when the previous element is image wrapper
* update codes for change another PC
* emable select all in input
* handle arrow and backspace key
* create a new paragraph after the last paragraph if its not empty
* handle backspace when the previous element is image wrapper
* handle enter event in image selector
* rewrite auto show image selector
* modify image folder
* copy file to folder
* select image
* handle paste image
* picgo
* guess image path from clipboard
* drag and drop image to Mark Text
* add github uploader
* remove unused codes
* remove unused codes
* rewrite image path auto complete
* support `path` imageInsertAction
* doc: add image uploader doc
* remove debug codes
* set init value in image uploader page
* fix typo
* remove unused codes
* drag web image to Mark Text
* add save notification
* opti uploading process
* fix did not close image selector bug
* check image content type when drag web link image
* fix: unable to preview relative path image.
* emit change event after paste/drop image
* add url map in image selector
* feat: screenshot and auto insert the screenshot image
* update error handler
* feat: use the native screencapture command line on macOs system
* opti: drop image
* fix: handle enter error when cursor is after a image
* fix: hasOwnProperty error
* remove debug codes
* fix: backspace when the previous ele is image
* fix: CI error and optimize some codes
* use hash of file path to generate the copied filename
* change default imageInsertAction to `path`
* fix: typo
* remove some unused codes and opti get image file name
* fix some bugs and opti codes
* update image edit icon
* romove screen capture on Linux and Windows
* fix: conflict
* fix error that can not insert image after the existed image or before existed image