fix: Fixes issue where pasting in a new Super note would not save it
This commit is contained in:
@@ -58,9 +58,7 @@ export const BlocksEditor: FunctionComponent<BlocksEditorProps> = ({
|
||||
handleEditorChange(editorState, previewLength, onChange)
|
||||
})
|
||||
},
|
||||
// Ignoring 'ignoreFirstChange' and 'previewLength'
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[onChange, didIgnoreFirstChange],
|
||||
[ignoreFirstChange, didIgnoreFirstChange, previewLength, onChange],
|
||||
)
|
||||
|
||||
const [floatingAnchorElem, setFloatingAnchorElem] = useState<HTMLDivElement | null>(null)
|
||||
|
||||
Reference in New Issue
Block a user