mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Upgrade @codemirror/view (#12574)
* Upgrade @codemirror/view * Disable emptyLineFiller extension GitOrigin-RevId: 57ce4194ece0ea448e24184f0b3a3e13352cb014
This commit is contained in:
@@ -38,7 +38,7 @@ import { thirdPartyExtensions } from './third-party-extensions'
|
||||
import { lineNumbers } from './line-numbers'
|
||||
import { highlightActiveLine } from './highlight-active-line'
|
||||
import importOverleafModules from '../../../../macros/import-overleaf-module.macro'
|
||||
import { emptyLineFiller } from './empty-line-filler'
|
||||
// import { emptyLineFiller } from './empty-line-filler'
|
||||
import { goToLinePanel } from './go-to-line'
|
||||
import { parserWatcher } from './wait-for-parser'
|
||||
import { drawSelection } from './draw-selection'
|
||||
@@ -123,7 +123,8 @@ export const createExtensions = (options: Record<string, any>): Extension[] => [
|
||||
spelling(options.spelling),
|
||||
shortcuts(),
|
||||
symbolPalette(),
|
||||
emptyLineFiller(), // NOTE: must be before `trackChanges`
|
||||
// TODO: re-enable this once incompatibility with @codemirror/view is fixed
|
||||
// emptyLineFiller(), // NOTE: must be before `trackChanges`
|
||||
trackChanges(options.currentDoc, options.changeManager),
|
||||
visual(options.currentDoc, options.visual),
|
||||
verticalOverflow(),
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
"@codemirror/lint": "^6.2.0",
|
||||
"@codemirror/search": "^6.3.0",
|
||||
"@codemirror/state": "^6.2.0",
|
||||
"@codemirror/view": "^6.9.3",
|
||||
"@codemirror/view": "^6.9.4",
|
||||
"@contentful/rich-text-html-renderer": "^16.0.2",
|
||||
"@contentful/rich-text-types": "^16.0.2",
|
||||
"@google-cloud/bigquery": "^6.0.1",
|
||||
|
||||
Reference in New Issue
Block a user