@ecodev/natural-editor 45.4.2 → 46.0.0

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.
@@ -118,6 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImpor
118
118
  class ImagePlugin {
119
119
  constructor(document) {
120
120
  this.document = document;
121
+ // eslint-disable-next-line @typescript-eslint/no-this-alias
121
122
  const self = this;
122
123
  this.plugin = new Plugin({
123
124
  state: {
@@ -1626,8 +1627,10 @@ class NaturalEditorComponent {
1626
1627
  registerOnChange(fn) {
1627
1628
  this.onChange = fn;
1628
1629
  }
1629
- registerOnTouched(fn) { }
1630
- setDisabledState(isDisabled) {
1630
+ registerOnTouched() {
1631
+ // noop
1632
+ }
1633
+ setDisabledState() {
1631
1634
  // TODO disable editor ?
1632
1635
  }
1633
1636
  ngOnDestroy() {