Skip to content

Fix setText failing because using incorrect WebView API#40

Merged
dab246 merged 1 commit intomasterfrom
fix-set-text
Feb 2, 2026
Merged

Fix setText failing because using incorrect WebView API#40
dab246 merged 1 commit intomasterfrom
fix-set-text

Conversation

@zatteo
Copy link
Member

@zatteo zatteo commented Jan 16, 2026

setText is not working because in this commit fb99d59 the API used to load HTML has been changed from loadHtmlString to evaluateJavascript instead of loadData.

It raises errors like this one because we send HTML string to JS handler : Uncaught SyntaxError: Unexpected token '<'

More details Enough-Software#37

setText is not working because in this commit fb99d59 the API used to load HTML has been changed from `loadHtmlString` to `evaluateJavascript` instead of `loadData`.

It raises errors like this one because we send HTML string to JS handler :
`Uncaught SyntaxError: Unexpected token '<'`
@dab246 dab246 merged commit 4c99718 into master Feb 2, 2026
1 check passed
zatteo added a commit to linagora/tmail-flutter that referenced this pull request Feb 2, 2026
To enjoy the fix from the following PR linagora/enough_html_editor#40
zatteo added a commit to linagora/tmail-flutter that referenced this pull request Feb 2, 2026
To enjoy the fix from the following PR linagora/enough_html_editor#40
zatteo added a commit to linagora/tmail-flutter that referenced this pull request Feb 2, 2026
To enjoy the fix from the following PR linagora/enough_html_editor#40
hoangdat pushed a commit to linagora/tmail-flutter that referenced this pull request Feb 2, 2026
To enjoy the fix from the following PR linagora/enough_html_editor#40
zatteo added a commit to linagora/tmail-flutter that referenced this pull request Feb 4, 2026
To enjoy the fix from the following PR linagora/enough_html_editor#40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants