n457 / Uncolored

(Un)colored — Next generation desktop rich content editor that saves documents with themes. HTML & Markdown compatible. For Windows, OS X & Linux. — http://n457.github.io/Uncolored/
Apache License 2.0
776 stars 51 forks source link

Image filename but no path? Use document path #41

Open thorhop opened 6 years ago

thorhop commented 6 years ago

When embedding a local image in a document one should be able to specify just the filename of the image without the need to specify path (including "./"). When specifiying a file without path Uncolored interprets that as this absolute path on my (Windows) machine:

file:///C:/Users/<user>/AppData/Local/Programs/Uncolored/0.10.2/resources/app/views/<filename>

Specifying only the filename without a path works on several other visual markdown editors.