This commit is contained in:
神仙都没用 2023-10-12 15:04:28 +08:00
parent 00b3ebeb2c
commit f5af99fa61

View File

@ -152,7 +152,7 @@ export default defineComponent({
// //
function onHeight() { function onHeight() {
const scroll = refs.editor.querySelector(".w-e-scroll"); const scroll = refs.editor.querySelector(".w-e-text-container");
scroll.style.maxHeight = parsePx(props.maxHeight || "auto"); scroll.style.maxHeight = parsePx(props.maxHeight || "auto");
scroll.style.height = parsePx(props.height); scroll.style.height = parsePx(props.height);
} }