1
I’m trying to make a publisher of html
, but I’m not able to read the file in the editor using JavaScript
.
var loadFile = function(name) {
fileSystem.root.getFile(name, {}, function(fileEntry) {
currentFile = fileEntry;
fileEntry.file(function(file) {
var reader = new FileReader();
reader.onloadend = function(e) {
updateVisualEditor(this.result);
}
}, fsError);
}, fsError);
};
It would be interesting to add error details.
– rubStackOverflow
No error appears, just not the new tab opens blank
– user43341