Skip to content

Commit 53926fe

Browse files
committed
Demo: drop dangling astUpdateField reference
I deleted the astUpdateField StateField definition during the earlier ESLint cleanup but missed the reference inside commonExtensions(), so demo.ts shipped a ReferenceError at runtime: every editor instance threw before its initial doc was applied, which is why the live demo rendered empty editor panels with the samples dropdown populated but no content. The TS plugin warned in red but the build didn't error, so the broken bundle reached production. Also tightens the ESLint config — flipping no-undef back on for examples/ catches this exact class of regression in CI.
1 parent bcdef26 commit 53926fe

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

examples/demo.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ function commonExtensions(): Extension[] {
249249
basicSetup,
250250
bsl(),
251251
astUpdater,
252-
astUpdateField,
253252
...(dark ? [oneDark] : [])
254253
]
255254
}

0 commit comments

Comments
 (0)