Skip to content

Commit 22ba06e

Browse files
committed
refactor(code-editor): update to Codemirror 6
1 parent a300acb commit 22ba06e

24 files changed

+1927
-1561
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/internal/
99
/service-worker/
1010
/shared/
11-
/src/themes/
1211
/test/
1312
/themes/
1413
/typescript-worker/

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
node-version: 20
1717
cache: npm
18-
- uses: google/wireit@setup-github-actions-caching/v1
18+
- uses: google/wireit@setup-github-actions-caching/v2
1919

2020
- run: npm ci
2121
- run: npx playwright install-deps

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: 20
1414
cache: npm
15-
- uses: google/wireit@setup-github-actions-caching/v1
15+
- uses: google/wireit@setup-github-actions-caching/v2
1616

1717
- run: npm ci
1818
- run: npm run lint

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: 20
1414
cache: npm
15-
- uses: google/wireit@setup-github-actions-caching/v1
15+
- uses: google/wireit@setup-github-actions-caching/v2
1616

1717
- run: npm ci
1818
- run: npx playwright install-deps

.github/workflows/version-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
node-version: 20
1414
cache: npm
15-
- uses: google/wireit@setup-github-actions-caching/v1
15+
- uses: google/wireit@setup-github-actions-caching/v2
1616

1717
- run: npm ci
1818
- run: npx playwright install-deps

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
/playground-*.js
1717
/playground-*.d.ts
1818
/playground-*.d.ts.map
19+
/cm-lang-lit.js
20+
/cm-lang-lit.d.ts
21+
/cm-lang-lit.d.ts.map
1922
/test/
2023
/_codemirror/
2124
/themes/
@@ -25,7 +28,6 @@
2528
.tsbuildinfo
2629
/playground-service-worker.*
2730
/playground-service-worker-proxy.*
28-
/src/playground-styles.ts
2931
/*.tgz
3032
/.wireit
3133
/.eslintcache

.prettierignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
/internal/
1010
/service-worker/
1111
/shared/
12-
/src/configurator/themes.ts
1312
/src/playground-styles.ts
14-
/src/themes/
1513
/test/
1614
/themes/
1715
/typescript-worker/

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111
-->
1212

1313
<!-- ## [X.Y.Z] - YYYY-MM-DD -->
14-
<!-- ## [Unreleased] -->
15-
<!-- ### Added -->
16-
<!-- ### Fixed -->
14+
15+
## [Unreleased]
16+
17+
### Added
18+
19+
- Upgraded CodeMirror to v6
20+
21+
### Fixed
22+
23+
- Safari cursor issues
24+
- Cursor selection and visiblity was broken in Safari
25+
- Fixed by updating to Codemirror 6
26+
1727
<!-- ### Removed -->
1828

1929
## [0.20.0] - 2025-03-31

0 commit comments

Comments
 (0)