Admonition markdown extension: 1.1.0
Backup: 1.4.2
Combine notes: 1.2.2
Convert Text To New Note: 1.5.1
Create and go to tags and @notebooks: 1.3.7
Life Calendar: 1.4.1
Math Mode: 0.6.2
Note Tabs: 1.4.0
Paste Special URLs: 1.0.0
Quick Links: 1.3.2
Slash Commands: Datetime & More: 1.4.0
Templates: 2.4.0
Text Colorize: 1.2.5
turnToChart: 1.9.3
Sync target
File system
Editor
Markdown Editor
What issue do you have?
When I link a local file I get a message
Not allowed to load local resource: file:///home/user/Pictures/icons/working.png
I found that it's for security, I suppose it's related to the recent editor change, it used to work a year ago. I found this post on SO, javascript - error: Not allowed to load local resource - Stack Overflow, they say it should work for local files though, is there a way to link it in Joplin?
if your PR doesn't pass I'm thinking of serving a files directory using apache like adding to the apache configuration something like
Listen 57220
<VirtualHost 127.0.0.1:57220>
ServerName localhost
DocumentRoot "/home/user/Pictures"
<Directory "/home/user/Pictures">
Options Indexes FollowSymLinks
AllowOverride All
Require local
</Directory>
</VirtualHost>
and then accessing the image using src="http://127.0.0.1:57220/icons/working.png", and because I'm using my own plugin to generate those src anyway, it's not a big problem to generate them on the fly. The question is how secure is it? Because I Require local, there should be no way of an attack from the same network? What do you think about it?