slate-angular 1.7.4 → 1.7.5

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.
@@ -3026,6 +3026,9 @@
3026
3026
  this.initializeContext();
3027
3027
  // remove unused DOM, just keep templateComponent instance
3028
3028
  this.templateElementRef.nativeElement.remove();
3029
+ // add browser class
3030
+ var browserClass = IS_FIREFOX ? 'firefox' : (IS_SAFARI ? 'safari' : '');
3031
+ browserClass && this.elementRef.nativeElement.classList.add(browserClass);
3029
3032
  };
3030
3033
  SlateEditableComponent.prototype.ngOnChanges = function (simpleChanges) {
3031
3034
  if (!this.initialized) {