@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.
- package/esm2020/lib/editor/editor.component.mjs +5 -3
- package/esm2020/lib/utils/image.mjs +2 -1
- package/esm2020/lib/utils/items/class-item.mjs +1 -1
- package/esm2020/lib/utils/items/id-item.mjs +1 -1
- package/esm2020/lib/utils/menu.mjs +1 -1
- package/fesm2015/ecodev-natural-editor.mjs +5 -2
- package/fesm2015/ecodev-natural-editor.mjs.map +1 -1
- package/fesm2020/ecodev-natural-editor.mjs +5 -2
- package/fesm2020/ecodev-natural-editor.mjs.map +1 -1
- package/lib/editor/editor.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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(
|
|
1630
|
-
|
|
1630
|
+
registerOnTouched() {
|
|
1631
|
+
// noop
|
|
1632
|
+
}
|
|
1633
|
+
setDisabledState() {
|
|
1631
1634
|
// TODO disable editor ?
|
|
1632
1635
|
}
|
|
1633
1636
|
ngOnDestroy() {
|