fmt
This commit is contained in:
@ -187,7 +187,8 @@ export class EditorFixture {
|
|||||||
// error TS2339: Property 'docView' does not exist on type 'EditorView'.
|
// error TS2339: Property 'docView' does not exist on type 'EditorView'.
|
||||||
// Except it does so :shrug:
|
// Except it does so :shrug:
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const index = editorView?.docView.view.state.doc.toString()
|
const index = editorView?.docView.view.state.doc
|
||||||
|
.toString()
|
||||||
.indexOf(args.text)
|
.indexOf(args.text)
|
||||||
editorView?.focus()
|
editorView?.focus()
|
||||||
editorView?.dispatch({
|
editorView?.dispatch({
|
||||||
|
|||||||
Reference in New Issue
Block a user