1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +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) { {type: "text/plain", IECompatible: false, convertToFields: function(data) {
return { return {
text: data text: data