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 34ce1cf commit 805dd75Copy full SHA for 805dd75
packages/frontend/src/components/RichTextEditor/index.tsx
@@ -220,7 +220,9 @@ const Editor = ({
220
// NOTE: we force a re-render editor content when variable info changes (e.g., after step reorder)
221
// to ensure that the variable shown in the RTE is updated
222
useEffect(() => {
223
- if (!editor || !content) {
+ // HACKFIX (kevinkim-ogp): this prevents the editor from updating during e2e tests
224
+ // when playwright is typing in the editor
225
+ if (!editor || !content || editor.isFocused) {
226
return
227
}
228
0 commit comments