@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.
@@ -21158,6 +21158,9 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends Component {
21158
21158
  */
21159
21159
  getImageData() {
21160
21160
  const obj = { canvas: null };
21161
+ if (this.textArea.style.display === 'block' || this.textArea.style.display === 'inline-block') {
21162
+ this.okBtn();
21163
+ }
21161
21164
  this.notify('export', { prop: 'exportToCanvas', value: { object: obj } });
21162
21165
  return obj['canvas'].getContext('2d').getImageData(0, 0, obj['canvas'].width, obj['canvas'].height);
21163
21166
  }