Hey,
So my use case is; whenever user selects any value from autocomplete dialog, instead of normal text I want it to replace with an Inline Widget that can be clicked to open a modal…
So I was wondering if this can be achieved using Completion object’s apply field?
apply: (
view: EditorView,
completion: MyCompletion,
from: number,
to: number
) => {
// code here...
},
If yes? can you please tell me how to achieve this as I’m really new to the Codemirror