From ccdb88fb9acac91b51f187c9f35f5c1da6f8d1f7 Mon Sep 17 00:00:00 2001 From: jiangchong Date: Mon, 8 May 2023 18:46:08 +0800 Subject: [PATCH] Fix subscript (#1204) --- CHANGELOG.md | 3 +++ flutter_quill_extensions/pubspec.yaml | 2 +- lib/src/models/documents/attribute.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76c289ec..f51ff476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# [7.1.16] +- Fixed subscript key from 'sup' to 'sub'. + # [7.1.15] - Fixed a bug introduced in 7.1.7 where each section in `QuillToolbar` was displayed on its own line. diff --git a/flutter_quill_extensions/pubspec.yaml b/flutter_quill_extensions/pubspec.yaml index a2f9129a..7a04bfde 100644 --- a/flutter_quill_extensions/pubspec.yaml +++ b/flutter_quill_extensions/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: flutter: sdk: flutter - flutter_quill: ^7.1.15 + flutter_quill: ^7.1.16 image_picker: ^0.8.5+3 photo_view: ^0.14.0 diff --git a/lib/src/models/documents/attribute.dart b/lib/src/models/documents/attribute.dart index 6c48e59e..c8d40360 100644 --- a/lib/src/models/documents/attribute.dart +++ b/lib/src/models/documents/attribute.dart @@ -373,7 +373,7 @@ class ScriptAttribute extends Attribute { enum ScriptAttributes { sup('super'), - sub('sup'); + sub('sub'); const ScriptAttributes(this.value); diff --git a/pubspec.yaml b/pubspec.yaml index b76d6bd0..c4b0e341 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us) -version: 7.1.15 +version: 7.1.16 #author: bulletjournal homepage: https://bulletjournal.us/home/index.html repository: https://github.com/singerdmx/flutter-quill