Merge pull request #36494 from overleaf/em-remove-visual-options

Remove the Options object from the visual editor extensions

GitOrigin-RevId: f06e60b88ef77d3a670d7d956d1a86c116d71873
This commit is contained in:
Eric Mc Sween
2026-09-17 11:55:18 +00:00
committed by Copybot
parent 33e2a1e282
commit 2d3474fbdb
9 changed files with 1114 additions and 1109 deletions
@@ -61,7 +61,7 @@ describe('CodeMirror scroll position extension', function () {
const view = new EditorView({
state: EditorState.create({
doc,
extensions: [scrollPosition({ currentDoc }, { visual: false })],
extensions: [scrollPosition({ currentDoc }, false)],
}),
})
@@ -97,7 +97,7 @@ describe('CodeMirror scroll position extension', function () {
const view = new EditorView({
state: EditorState.create({
doc,
extensions: [scrollPosition({ currentDoc }, { visual: false })],
extensions: [scrollPosition({ currentDoc }, false)],
}),
})
view.dispatch(restoreScrollPosition())