code mirror works in slideout, also allow for two-way binding and can set various codemirror options in element