()
| 1864 | } |
| 1865 | |
| 1866 | function createNewNote(){ |
| 1867 | currentNoteId = null; |
| 1868 | clearEditor(); |
| 1869 | titleInput.focus(); |
| 1870 | // 更新保存状态 |
| 1871 | updateSaveState(); |
| 1872 | } |
| 1873 | |
| 1874 | function addCategory(){ |
| 1875 | const cats = readJSON(LS_KEYS.categories, []); |
nothing calls this directly
no test coverage detected