Create formatEditor.js