fix: Add debounced Undo/Redo system to avoid character-by-character history
- Add debounced state updates for title and content (500ms delay) - Immediate UI updates with delayed history saving - Prevent one-letter-per-undo issue - Add cleanup for debounce timers on unmount
This commit is contained in:
17
mcp-server/node_modules/ajv/lib/vocabularies/draft7.ts
generated
vendored
Normal file
17
mcp-server/node_modules/ajv/lib/vocabularies/draft7.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import type {Vocabulary} from "../types"
|
||||
import coreVocabulary from "./core"
|
||||
import validationVocabulary from "./validation"
|
||||
import getApplicatorVocabulary from "./applicator"
|
||||
import formatVocabulary from "./format"
|
||||
import {metadataVocabulary, contentVocabulary} from "./metadata"
|
||||
|
||||
const draft7Vocabularies: Vocabulary[] = [
|
||||
coreVocabulary,
|
||||
validationVocabulary,
|
||||
getApplicatorVocabulary(),
|
||||
formatVocabulary,
|
||||
metadataVocabulary,
|
||||
contentVocabulary,
|
||||
]
|
||||
|
||||
export default draft7Vocabularies
|
||||
Reference in New Issue
Block a user