feat(react/ribbon): port script tab

This commit is contained in:
Elian Doran
2025-08-22 16:58:28 +03:00
parent 01e4cd2e78
commit c3eca3b626
6 changed files with 56 additions and 74 deletions

View File

@@ -1024,6 +1024,10 @@ class FNote {
return this.mime === "text/x-sqlite;schema=trilium";
}
isTriliumScript() {
return this.mime.startsWith("application/javascript");
}
/**
* Provides note's date metadata.
*/