force inline CodeMirror to redraw when added

@njx A workaround due to our ``height:auto`` change