Skip to content

Line height configuration

Sample code

typescript
new AiEditor({
    element: "#aiEditor",
    lineHeight:{
        values:["1.0", "1.1", "2.0", "..."],
    },
})

Note: In the above configuration, you must configure "1.0" to cancel the line height setting (the line height is determined by external CSS).