We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b0fae commit f70f7a1Copy full SHA for f70f7a1
client/packages/lowcoder/src/comps/comps/richTextEditorComp.tsx
@@ -205,13 +205,7 @@ function RichTextEditor(props: IProps) {
205
originOnChangeRef.current = props.onChange;
206
207
const onChangeRef = useRef(
208
- debounce > 0
209
- ? _.debounce((v: string) => {
210
- window.clearTimeout(isTypingRef.current);
211
- isTypingRef.current = window.setTimeout(() => (isTypingRef.current = 0), 100);
212
- originOnChangeRef.current?.(v);
213
- })
214
- : (v: string) => originOnChangeRef.current?.(v)
+ (v: string) => originOnChangeRef.current?.(v)
215
);
216
217
// react-quill will not take effect after the placeholder is updated
0 commit comments