Skip to content

Add windows and macOS support#576

Open
friebetill wants to merge 8 commits intotneotia:masterfrom
friebetill:master
Open

Add windows and macOS support#576
friebetill wants to merge 8 commits intotneotia:masterfrom
friebetill:master

Conversation

@friebetill
Copy link
Copy Markdown

With the update to flutter_inappwebview version 6.1.0, we can now display the HTML editor on both Windows and macOS. I’ve updated the code accordingly.

However, there's currently an issue on desktop platforms: we lose focus within the InAppWebView when a toolbar button is clicked. To address this, I modified the code to save the selection in Summernote before the focus is lost and restore it afterward. This works well when text is selected, but unfortunately doesn't work if no selection is active.

I also attempted the workaround using TapRegion suggested in this discussion, but wasn’t able to get it working.

@friebetill friebetill mentioned this pull request May 27, 2025
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.

1 participant