chore(react/type_widgets): save code note if needed

This commit is contained in:
Elian Doran
2025-10-05 17:56:20 +03:00
parent 608605af12
commit 0dcaa8719f
3 changed files with 14 additions and 11 deletions

View File

@@ -165,6 +165,7 @@ export default class Entrypoints extends Component {
return;
}
const { ntxId, note } = noteContext;
console.log("Run active note");
// ctrl+enter is also used elsewhere, so make sure we're running only when appropriate
if (!note || note.type !== "code") {