@archeion/ngx-schema-builder 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7145,7 +7145,11 @@ class JsonjoyEditorDirective {
7145
7145
  }),
7146
7146
  ],
7147
7147
  });
7148
- this.view = new EditorView({ state, parent: this.host.nativeElement });
7148
+ this.view = new EditorView({
7149
+ state,
7150
+ parent: this.host.nativeElement,
7151
+ root: this.host.nativeElement.getRootNode(),
7152
+ });
7149
7153
  if (this.autoFocus())
7150
7154
  this.view.focus();
7151
7155
  this._loaded.set(true);
@@ -7177,7 +7181,7 @@ class JsonjoyEditorDirective {
7177
7181
  overflow: 'auto',
7178
7182
  },
7179
7183
  '.cm-gutters': {
7180
- backgroundColor: 'transparent',
7184
+ backgroundColor: 'var(--jsonjoy-color-background, #ffffff)',
7181
7185
  border: 'none',
7182
7186
  color: 'var(--jsonjoy-color-muted-foreground)',
7183
7187
  },