How to set editor height as 100% of the parent element? Setting height as definite values works but it doesn’t work for percentage values.
import { EditorView } from '@codemirror/view'
let fullHeightTheme = EditorView.theme({
'&': {
height: '500px',
// height: '100%', this doesn't make the editor fill the parent div
},
})