It seems that there were changes in the safari version with the current ios/iPadOS 16.1 (20B82), which leads to problems when trying to get the contents of a textarea via the api.
Description
ipadOS 16.1
Safari Webview
How to reproduce?
When I fill in some words suggested by the mobile keyboard in a textearea I can't fetch the (auto-)typed content via the api:
See there also the empty "Shadow Content" in the picture
With:
$("textarea[name=comment]").trumbowyg('html')
I got nothing:
however with the follwing bad hack we get the complete content:
$('#textarea_comment').closest(".trumbowyg").find(".trumbowyg-editor").html()
What is even stranger:
when I type some letters and then accept the autosuggestion I only get the typed letters, e.g.
Type "w","i" accept suggestion "will" => I get only "wi" and not "will"!
It seems that there were changes in the safari version with the current ios/iPadOS 16.1 (20B82), which leads to problems when trying to get the contents of a textarea via the api.
Description
How to reproduce?
When I fill in some words suggested by the mobile keyboard in a textearea I can't fetch the (auto-)typed content via the api:
See there also the empty "Shadow Content" in the picture
With:
$("textarea[name=comment]").trumbowyg('html')
I got nothing: however with the follwing bad hack we get the complete content:$('#textarea_comment').closest(".trumbowyg").find(".trumbowyg-editor").html()
What is even stranger:
when I type some letters and then accept the autosuggestion I only get the typed letters, e.g.
Type "w","i" accept suggestion "will" => I get only "wi" and not "will"!
Any ideas how to solve this?