Allow pasting/dropping of HTML content

Fixes #477
print-window-tiddler
Jermolene 2014-03-09 20:39:03 +00:00
rodzic bc8b72e6eb
commit 98872bbe7c
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -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