flutter-quill
flutter-quill copied to clipboard
Android14 paste image unreadable code
Is there an existing issue for this?
- [x] I have searched the existing issues
Flutter Quill version
9.1.1
Steps to reproduce
https://github.com/singerdmx/flutter-quill/assets/46178521/4612a935-6cf6-488c-94c9-734480936956
Expected results
show image
Actual results
image unreadable code
Code sample
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_quill/flutter_quill.dart';
import 'package:flutter_quill_extensions/flutter_quill_extensions.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatefulWidget {
const MainApp({super.key});
@override
State<MainApp> createState() => _MainAppState();
}
class _MainAppState extends State<MainApp> {
QuillController controller = QuillController.basic();
@override
Widget build(BuildContext context) {
return MaterialApp(
localizationsDelegates: const [
GlobalWidgetsLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('zh', 'CH'),
Locale('en', 'US'),
],
locale: const Locale('zh', 'CN'),
home: Scaffold(
appBar: AppBar(
title: const Text('Editor'),
),
body: Column(
children: [
QuillToolbar.simple(
configurations: QuillSimpleToolbarConfigurations(
controller: controller,
sharedConfigurations: const QuillSharedConfigurations(),
embedButtons: FlutterQuillEmbeds.toolbarButtons(),
),
),
Expanded(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: QuillEditor.basic(
configurations: QuillEditorConfigurations(
controller: controller,
readOnly: false,
sharedConfigurations: const QuillSharedConfigurations(),
embedBuilders: kIsWeb ? FlutterQuillEmbeds.editorWebBuilders() : FlutterQuillEmbeds.editorBuilders(),
),
),
),
)
],
),
),
);
}
}
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Hi there, doest the issue happen on older versions of flutter quill?
Currently project using 8.6.1, found that the latest version still has this problem