@libs-ui/components-inputs-quill 0.2.230 → 0.2.232

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.
@@ -1,6 +1,6 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { signal, input, output, ChangeDetectionStrategy, Component, computed, inject, model, viewChild, effect, untracked } from '@angular/core';
3
+ import { signal, input, output, ChangeDetectionStrategy, Component, computed, inject, model, viewChild, ChangeDetectorRef, effect, untracked } from '@angular/core';
4
4
  import { LibsUiComponentsButtonsButtonComponent } from '@libs-ui/components-buttons-button';
5
5
  import { LibsUiComponentsButtonsSelectColorComponent } from '@libs-ui/components-buttons-select-color';
6
6
  import { LibsUiComponentsDropdownComponent } from '@libs-ui/components-dropdown';
@@ -633,6 +633,7 @@ class LibsUiComponentsInputsQuillComponent {
633
633
  quillEditorEl = viewChild.required('quillEditor');
634
634
  toolbarItemsEl = viewChild.required('toolbarItems');
635
635
  notificationService = inject(LibsUiNotificationService);
636
+ cdr = inject(ChangeDetectorRef);
636
637
  constructor() {
637
638
  effect(() => {
638
639
  setTimeout(() => {
@@ -646,6 +647,7 @@ class LibsUiComponentsInputsQuillComponent {
646
647
  const hasIconPersonalize = !!this.templateToolBarPersonalize();
647
648
  untracked(() => {
648
649
  this.toolbarOptionsConfig.set(this.toolbarConfig()?.config || toolBarOptions(type, hasIconImage, hasIconPersonalize));
650
+ this.cdr.detectChanges();
649
651
  this.calculatorToolbar();
650
652
  });
651
653
  }));