MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / createNewNote

Function createNewNote

notes.js:1866–1872  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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, []);

Callers

nothing calls this directly

Calls 2

clearEditorFunction · 0.85
updateSaveStateFunction · 0.85

Tested by

no test coverage detected