You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement an edit functionality in my project so I used the loadImageFromUrl() function from tui image editor api like so : @ViewChild(ToastUiImageEditorComponent, { static: false }) editorComponent: ToastUiImageEditorComponent; ngAfterViewInit(): void { if (this.editMode) { setTimeout(() => { this.editorComponent.editorInstance.loadImageFromURL(this.url , 'image') }, 2000); } }
but that return a cross origin error so I used a proxy to bypass that this.editorComponent.editorInstance.loadImageFromURL('https://cors-anywhere.herokuapp.com/' + this.url, 'image')
the image load without error but the editing controls are not working .
please help.
The text was updated successfully, but these errors were encountered:
I am trying to implement an edit functionality in my project so I used the loadImageFromUrl() function from tui image editor api like so :
@ViewChild(ToastUiImageEditorComponent, { static: false }) editorComponent: ToastUiImageEditorComponent; ngAfterViewInit(): void { if (this.editMode) { setTimeout(() => { this.editorComponent.editorInstance.loadImageFromURL(this.url , 'image') }, 2000); } }
but that return a cross origin error so I used a proxy to bypass that
this.editorComponent.editorInstance.loadImageFromURL('https://cors-anywhere.herokuapp.com/' + this.url, 'image')
the image load without error but the editing controls are not working .
please help.
The text was updated successfully, but these errors were encountered: