jwyu 1 year ago
parent
commit
6e6db9c1d8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/hooks/useFroalaEditor.js

+ 1 - 0
src/hooks/useFroalaEditor.js

@@ -101,6 +101,7 @@ export function useInitFroalaEditor() {
 
 		// 方案二
 		options.height=opts?.height??500
+		options.height=options.height<400?400:options.height
 		console.log(options);
 		return new FroalaEditor(el, options);
 	};