Commit e64b08a3 authored by ioedeveloper's avatar ioedeveloper

Fix saving of empty content

parent 07fffb84
......@@ -528,7 +528,7 @@ class FileManager extends Plugin {
var currentFile = this._deps.config.get('currentFile')
if (currentFile && this.editor.current()) {
var input = this.editor.get(currentFile)
if (input) {
if ((input !== null) && (input !== undefined)) {
var provider = this.fileProviderOf(currentFile)
if (provider) {
provider.set(currentFile, input)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment