Fix select theming, add object field
This commit is contained in:
@@ -32,7 +32,7 @@ export class EditorComponent {
|
||||
|
||||
private code = viewChild<ElementRef<HTMLElement>>('code');
|
||||
|
||||
constructor(private sanitizer: DomSanitizer) {
|
||||
constructor(sanitizer: DomSanitizer) {
|
||||
effect(() => {
|
||||
const element = this.code()?.nativeElement;
|
||||
if (element) {
|
||||
|
||||
Reference in New Issue
Block a user