Disable camera option by default on desktop

pull/1507/head
Ellet 1 year ago
parent eea58c6634
commit 711e47d0f5
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 4
      example/lib/pages/read_only_page.dart
  2. 3
      flutter_quill_extensions/CHANGELOG.md
  3. 2
      flutter_quill_extensions/pubspec.yaml

@ -40,7 +40,9 @@ class _ReadOnlyPageState extends State<ReadOnlyPage> {
configurations: QuillEditorConfigurations( configurations: QuillEditorConfigurations(
expands: false, expands: false,
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
embedBuilders: FlutterQuillEmbeds.editorBuilders(), embedBuilders: kIsWeb
? FlutterQuillEmbeds.editorsWebBuilders()
: FlutterQuillEmbeds.editorBuilders(),
scrollable: true, scrollable: true,
autoFocus: true, autoFocus: true,
), ),

@ -1,3 +1,6 @@
## 0.6.0-dev.3
- Disable the camera option by default on desktop
## 0.6.0-dev.2 ## 0.6.0-dev.2
- Another breaking changes, we will add mirgrate guide soon. - Another breaking changes, we will add mirgrate guide soon.

@ -1,6 +1,6 @@
name: flutter_quill_extensions name: flutter_quill_extensions
description: Embed extensions for flutter_quill including image, video, formula and etc. description: Embed extensions for flutter_quill including image, video, formula and etc.
version: 0.6.0-dev.2 version: 0.6.0-dev.3
homepage: https://github.com/singerdmx/flutter-quill homepage: https://github.com/singerdmx/flutter-quill
repository: https://github.com/singerdmx/flutter-quill repository: https://github.com/singerdmx/flutter-quill

Loading…
Cancel
Save