Editor now editable
Rearrange lib/editor.js
Fix for selectStyle