refactor(ui): consolidate CodeMirror options prop (#11008)