mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-10 03:03:08 -08:00
Fix problem with dragging text snippets
This commit is contained in:
parent
f4656b0f25
commit
bea33efd63
1 changed files with 6 additions and 18 deletions
|
|
@ -42,9 +42,7 @@ var importDataTypes = [
|
|||
if(match) {
|
||||
return parseJSONTiddlers(match[1],fallbackTitle);
|
||||
} else {
|
||||
return { // As URL string
|
||||
text: data
|
||||
};
|
||||
return [{text: data}]; // As URL string
|
||||
}
|
||||
}},
|
||||
{type: "text/x-moz-url", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {
|
||||
|
|
@ -53,30 +51,20 @@ var importDataTypes = [
|
|||
if(match) {
|
||||
return parseJSONTiddlers(match[1],fallbackTitle);
|
||||
} else {
|
||||
return { // As URL string
|
||||
text: data
|
||||
};
|
||||
return [{text: data}]; // As URL string
|
||||
}
|
||||
}},
|
||||
{type: "text/html", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {
|
||||
return {
|
||||
text: data
|
||||
};
|
||||
return [{text: data}];
|
||||
}},
|
||||
{type: "text/plain", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {
|
||||
return {
|
||||
text: data
|
||||
};
|
||||
return [{text: data}];
|
||||
}},
|
||||
{type: "Text", IECompatible: true, toTiddlerFieldsArray: function(data,fallbackTitle) {
|
||||
return {
|
||||
text: data
|
||||
};
|
||||
return [{text: data}];
|
||||
}},
|
||||
{type: "text/uri-list", IECompatible: false, toTiddlerFieldsArray: function(data,fallbackTitle) {
|
||||
return {
|
||||
text: data
|
||||
};
|
||||
return [{text: data}];
|
||||
}}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue