Open widle opened 1 year ago
Hi, I implemented the feature. I hope it works as you expected. You can test it here https://github.com/asciidocfx/AsciidocFX/releases/tag/v1.8.4
Hello and thank you. I am trying out the feature now and it's looking good, the image is pasted in the correct directory and displayed in the document.
I am wondering about the inserted path, though. It is relative to the document, as it was before, but I am thinking that maybe a path relative to the image directory (i. e. none) would make more sense here. So that the path doesn't need to be repeated with each image.
Both paths seem to work fine, it is just a matter of convenience. What do you think?
When pasting images from clipboard, it would be nice to look if the imagesdir attribute is set. If it is, the image should be placed in that directory and the link adjusted accordingly.
Alternatively, setting the pasting directory manually (somewhere in the settings) could work too.
Discussed in https://github.com/asciidocfx/AsciidocFX/discussions/564