This commit is contained in:
Andrew Varga
2025-06-16 12:34:07 +02:00
parent a7b634e7b7
commit ad7174915b

View File

@ -187,7 +187,8 @@ export class EditorFixture {
// error TS2339: Property 'docView' does not exist on type 'EditorView'.
// Except it does so :shrug:
// @ts-ignore
const index = editorView?.docView.view.state.doc.toString()
const index = editorView?.docView.view.state.doc
.toString()
.indexOf(args.text)
editorView?.focus()
editorView?.dispatch({