fix: Allow removing title via API
fix: Empty document title continously autofocuses closes #3108
This commit is contained in:
@@ -73,7 +73,7 @@ const ContentEditable = React.forwardRef(
|
||||
if (autoFocus) {
|
||||
ref.current?.focus();
|
||||
}
|
||||
});
|
||||
}, [autoFocus, ref]);
|
||||
|
||||
React.useEffect(() => {
|
||||
if (value !== ref.current?.innerText) {
|
||||
|
||||
Reference in New Issue
Block a user