1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-05 20:38:01 +00:00

Allow pasting/dropping of HTML content

Fixes #477
This commit is contained in:
Jermolene
2014-03-09 20:39:03 +00:00
parent bc8b72e6eb
commit 98872bbe7c

View File

@@ -147,6 +147,11 @@ DropZoneWidget.prototype.importDataTypes = [
};
}
}},
{type: "text/html", IECompatible: false, convertToFields: function(data) {
return {
text: data
};
}},
{type: "text/plain", IECompatible: false, convertToFields: function(data) {
return {
text: data