Is it possible to have a delete function that can be triggered by ref?
My use case is i have a custom keyboard and let users insert inline images. The custom keyboard is a over keyboard view which covering the entire software keyboard. I would like to add a delete button in the custom keyboard, so that users no need to close the custom keyboard for the delete button on software keyboard.
Delete function:
- can be triggered by ref
- after triggering, delete the character/inline image based on cursor selection (same as what software keyboard does)
Is it possible to have a delete function that can be triggered by ref?
My use case is i have a custom keyboard and let users insert inline images. The custom keyboard is a over keyboard view which covering the entire software keyboard. I would like to add a delete button in the custom keyboard, so that users no need to close the custom keyboard for the delete button on software keyboard.
Delete function: