Update class.editor.js