Fix issues of no file extension for pad export
This commit is contained in:
1 parent
3de9021397
commit
3e918ec1cf
13 files changed
+30
-25
No files matched your search
@@ -2,7 +2,9 @@
|
||||
// Pads from the code app will be exported using this format instead of plain text.
|
||||
define([
|
||||
], function () {
|
||||
var module = {};
|
||||
var module = {
|
||||
ext: '.json'
|
||||
};
|
||||
|
||||
module.main = function (userDoc, cb) {
|
||||
var content = userDoc.content;
|
||||
|
||||
+1
-1
@@ -367,7 +367,7 @@ define([
|
||||
});
|
||||
}
|
||||
|
||||
framework.setFileExporter('json', function () {
|
||||
framework.setFileExporter('.json', function () {
|
||||
return new Blob([JSON.stringify(kanban.getBoardsJSON(), 0, 2)], {
|
||||
type: 'application/json',
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user