mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
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:
+2
-2
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user