Add behaviors for editor.clj and editor.cljs