fix: null guard check

This commit is contained in:
Ritvik Sardana
2026-06-30 01:00:26 +05:30
parent 1b26e17dc9
commit 44cfd1d5cb
+1 -1
View File
@@ -113,6 +113,6 @@ defineExpose({
});
if (props.autofocus) {
nextTick(() => e.value.editor.commands.focus());
nextTick(() => e.value?.editor.commands.focus());
}
</script>