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

Function updateSaveState

notes.js:344–351  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

342
343 // 全局更新保存状态函数
344 function updateSaveState() {
345 const titleInput = document.querySelector('.nsn-title-input');
346 const editor = document.querySelector('.nsn-editor');
347 if (titleInput && editor) {
348 window.lastSaveTitle = titleInput.value.trim();
349 window.lastSaveContent = editor.innerHTML;
350 }
351 }
352
353 // 全局更新按钮文本函数
354 function updateButtonTexts() {

Callers 6

renderNotesFunction · 0.85
clearEditorFunction · 0.85
saveCurrentFunction · 0.85
createNewNoteFunction · 0.85
restoreToVersionFunction · 0.85
buildDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected