fix: null guard check

This commit is contained in:
Ritvik Sardana
2026-06-30 01:04:45 +05:30
parent 44cfd1d5cb
commit 8fbf5c2b41
+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>