editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

Improve link creating on mobile devices

Open bezumkin opened this issue 1 year ago • 1 comments

I suggest you to add new attribute for the link input to make it work inside forms with multiple fields.

Right now when you creating a link on Android device, you cannot confirm it, because you will be switched to the next text input of the form. But if we will add enterKeyHint attribute, everything works as expected.

Before the change:

https://github.com/codex-team/editor.js/assets/1257284/0dddbf57-23da-42a5-bb68-1e291a275364

After the change

https://github.com/codex-team/editor.js/assets/1257284/af0b65e0-65ff-4ba6-a4c0-4e79804f1204

P.S. I think this issue is related but you can't reproduce it on demo site because you have no next inputs in the form.

bezumkin avatar Jun 27 '24 10:06 bezumkin

@neSpecc Done!

bezumkin avatar Jun 30 '24 06:06 bezumkin

Update a branch, please

neSpecc avatar Jul 02 '24 09:07 neSpecc

@neSpecc Done!

bezumkin avatar Jul 02 '24 09:07 bezumkin