Fix editor at issue #29

I fixed that issue ( https://github.com/redaxmedia/redaxscript/issues/29 ), please verify and merge...