Revert "try fix firefox v2 paste problem" (#12126)
Some checks are pending
CI / ${{ matrix.job.target }} (${{ matrix.job.os }}) (map[os:ubuntu-22.04 target:x86_64-unknown-linux-gnu]) (push) Waiting to run
Full Flutter CI / run-ci (push) Waiting to run

This reverts commit 590ecc43ff.
This commit is contained in:
fufesou 2025-06-19 22:31:40 +08:00 committed by GitHub
parent d6ba063655
commit 46cd090f98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,6 +128,9 @@ class PlatformFFI {
};
context.callMethod('init');
version = getByName('version');
window.onContextMenu.listen((event) {
event.preventDefault();
});
context['onRegisteredEvent'] = (String message) {
try {