getkirby / editor

A new type of WYSIWYG editor for Kirby
https://getkirby.com
205 stars 28 forks source link

Editor import won't import included images #168

Open GiantCrocodile opened 4 years ago

GiantCrocodile commented 4 years ago

Example of a line in an imported file: ![image-123](C:\Users\<username>\[...]\image-123.png)

In this case, the file is imported with a fixed absolute path. The referenced file is not uploaded.

distantnative commented 4 years ago

I don’t think a browser is able to just upload a file from someone’s computer by referencing a local path. That would be quite a security issue

GiantCrocodile commented 4 years ago

You are right @distantnative. Regardless of that, we still need a solution for that. An easy fix would be to remove the path and insert the typical 'upload image placeholder' thingies but maybe we find a better solution.