@syncfusion/ej2-image-editor 24.2.5 → 24.2.8

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.
@@ -21234,6 +21234,9 @@ var ImageEditor = /** @__PURE__ @class */ (function (_super) {
21234
21234
  */
21235
21235
  ImageEditor.prototype.getImageData = function () {
21236
21236
  var obj = { canvas: null };
21237
+ if (this.textArea.style.display === 'block' || this.textArea.style.display === 'inline-block') {
21238
+ this.okBtn();
21239
+ }
21237
21240
  this.notify('export', { prop: 'exportToCanvas', value: { object: obj } });
21238
21241
  return obj['canvas'].getContext('2d').getImageData(0, 0, obj['canvas'].width, obj['canvas'].height);
21239
21242
  };