ckeditor5-livewire 1.12.0 → 1.12.1

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/dist/index.mjs CHANGED
@@ -946,20 +946,18 @@ var q = class extends e {
946
946
  });
947
947
  }
948
948
  x(u) && "main" in n && (n = n.main);
949
- let r = { ...v };
950
- r = M(r), r = N([...s].reverse(), a.ui, r), r = p(y, n, r), r = d(m, r);
951
- let i = {
952
- ...r,
949
+ let r = {
950
+ ...v,
953
951
  licenseKey: f,
954
952
  plugins: e,
955
953
  language: a,
956
954
  ...s.length && { translations: s }
957
955
  };
958
- return !b || !(n instanceof HTMLElement) ? y.create(i) : (await _({
956
+ return r = M(r), r = N([...s].reverse(), a.ui, r), r = p(y, n, r), r = d(m, r), b ? (await _({
959
957
  context: b,
960
958
  creator: y,
961
- config: i
962
- })).editor;
959
+ config: r
960
+ })).editor : y.create(r);
963
961
  })();
964
962
  return x(u) && r && F(h, r), this.applyRootAttributes(h), h;
965
963
  };