Hi Asiri,
Asiri Rathnayake wrote:
Devs,
I'm working on integrating office importer functionality into our new
wysiwyg editor and I thought of sharing few ideas and different approaches
available to us so that you can comment on them and help me select the most
appropriate path.
[...]
And the final question is about embedded elements inside pasted html content
(like images). This is not a problem if the whole document is uploaded for
importing; the document is a container for images and they can be retrieved
on the server. But with pasted html content, images are simply links to
local files. Now I don't know if it's possible to trigger an automated
upload of these files
I seriously doubt this is possible, you cannot even set a fileupload input field
programatically for security reasons. If you could trigger an automated upload
for images then you could trigger upload of "other files" too, which is a bit of
a security issue.
Happy coding,
Anca Luca
but for the moment I'm proposing we should
strip-off
such content.
Thanks.
- Asiri
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs