godot crashes while image data is pasted in in textedit

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abhinavsingh
func _on_paste_pressed():
$TextEdit.paste()

string text data works fine
but when pasted image data in textedit godot will crashes in android

My guess is that a text edit widget in the engine is expecting text, not image data.

Ertain | 2022-03-26 08:33

I know that i am looking for solution

abhinavsingh | 2022-03-26 10:56

Maybe first check that the data being passed is just text data, and not anything else?

Ertain | 2022-03-26 16:02