We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30886ac + fb17307 commit 0366bb8Copy full SHA for 0366bb8
src/components/EditorSidePanel/NotesTab/NoteInfo.jsx
@@ -66,7 +66,7 @@ export default function NoteInfo({ data, nid }) {
66
setEditField({ content: e.target.value, height: data.height })
67
}
68
onBlur={(e) => {
69
- if (e.target.value === editField.name) return;
+ if (e.target.value === editField.content) return;
70
const textarea = document.getElementById(`note_${data.id}`);
71
textarea.style.height = "0";
72
textarea.style.height = textarea.scrollHeight + "px";
0 commit comments