Skip to content

Commit d4cbc1a

Browse files
committed
chore: update codemirror and improve gui config
1 parent 4326e61 commit d4cbc1a

File tree

3 files changed

+158
-111
lines changed

3 files changed

+158
-111
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"private": true,
2323
"dependencies": {
24-
"@acrodata/gui": "^2.0.0",
24+
"@acrodata/gui": "^2.4.0",
2525
"@angular/animations": "^18.2.8",
2626
"@angular/cdk": "^18.2.8",
2727
"@angular/common": "^18.2.8",
@@ -33,7 +33,7 @@
3333
"@angular/platform-browser-dynamic": "^18.2.8",
3434
"@angular/router": "^18.2.8",
3535
"@codemirror/language-data": "^6.5.1",
36-
"@codemirror/merge": "^6.6.2",
36+
"@codemirror/merge": "^6.10.0",
3737
"@codemirror/theme-one-dark": "^6.1.2",
3838
"@ng-matero/extensions": "^18.4.0",
3939
"codemirror": "^6.0.1",

projects/dev-app/src/app/home/home.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ export class HomeComponent implements OnInit, AfterViewInit {
2424

2525
config: GuiFields = {
2626
language: {
27-
type: 'select',
27+
type: 'combobox',
2828
name: 'Language',
2929
options: languages
3030
.map(lang => ({ label: lang.name, value: lang.name.toLowerCase() }))
31-
.concat([{ label: 'Plain Text', value: 'plaintext' }])
3231
.sort((a, b) => a.label.localeCompare(b.label)),
3332
},
3433
theme: {

0 commit comments

Comments
 (0)