croco-html 20.3.2 → 20.3.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.
@@ -3430,13 +3430,10 @@ class MainEditorBlockComponent {
3430
3430
  this._tagService.presentOrEdit$.next(false);
3431
3431
  }
3432
3432
  isEditorDefined() {
3433
- if (this.tag === null || this.tag === undefined) {
3434
- return false;
3435
- }
3436
- return DefaultTags.isEditorDefined(this.tag, this._options);
3433
+ return DefaultTags.isEditorDefined(this._tag, this._options);
3437
3434
  }
3438
3435
  deleteItem() {
3439
- this.onTagRemoved.emit(this.tag);
3436
+ this.onTagRemoved.emit(this._tag);
3440
3437
  }
3441
3438
  ngOnDestroy() {
3442
3439
  this.unsubscribe.next();