-
-
Notifications
You must be signed in to change notification settings - Fork 422
Open
Description
Describe the issue
It works fine when typing forward, but when I try to edit an existing doc, it doesn’t trigger the completion source at all.
function completionSource(context: CompletionContext): CompletionResult | null {
const before = context.matchBefore(/\w+/);
if (!before) {
return null;
}
return {
from: before.from,
options: [{ label: 'hello' }]
}
}
const config = { override: [completionSource] }
Browser and platform
No response
Reproduction link
No response
Metadata
Metadata
Assignees
Labels
No labels