You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quill deltas often contain named colors from the standard HTML color palette. This is especially true if the delta was created using Quill on web.
These named colors could not be handled by flutter_quill, and so an exception was thrown.
This change adds dart contants for the 140 named html colors. It modifies `stringToColor` to check if the input is one of the named colors, and returns the value if found. Web colors are case insensitive.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
### Fixed
20
20
21
21
- Fixed `View.of(context)` calls throwing when used with the `screenshot` package [#2662](https://github.com/singerdmx/flutter-quill/pull/2662).
22
+
- Fixed support for html named colors [#2675](https://github.com/singerdmx/flutter-quill/pull/2675)
22
23
23
24
### Added
24
25
@@ -81,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
81
82
82
83
### Fixed
83
84
84
-
- Explicitly schedule frame on secondary click to ensure context menu is shown on Windows [#2507](https://github.com/singerdmx/flutter-quill/pull/2507).
85
+
- Explicitly schedule frame on secondary click to ensure context menu is shown on Windows [#2507](https://github.com/singerdmx/flutter-quill/pull/2507).
85
86
86
87
## [11.1.0] - 2025-03-11
87
88
@@ -126,8 +127,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
126
127
- Rewrite the image save functionality for [`flutter_quill_extensions`](https://pub.dev/packages/flutter_quill_extensions)[#2403](https://github.com/singerdmx/flutter-quill/pull/2403).
127
128
- Migrate [quill_native_bridge](https://pub.dev/packages/quill_native_bridge) to `11.0.0`[#2403](https://github.com/singerdmx/flutter-quill/pull/2403).
128
129
- Avoid using deprecated APIs in Flutter 3.27.0 [#2416](https://github.com/singerdmx/flutter-quill/pull/2416):
129
-
- Migrate from `withOpacity` to `withValues` according to [Color wide gamut - Opacity migration](https://docs.flutter.dev/release/breaking-changes/wide-gamut-framework#opacity).
130
-
- Avoid using the deprecated `Color.value` getter.
130
+
- Migrate from `withOpacity` to `withValues` according to [Color wide gamut - Opacity migration](https://docs.flutter.dev/release/breaking-changes/wide-gamut-framework#opacity).
131
+
- Avoid using the deprecated `Color.value` getter.
131
132
- Ignore `unreachable_switch_default` warning (introduced in Dart 3.6) [#2416](https://github.com/singerdmx/flutter-quill/pull/2416).
132
133
- Update `intl` dependency to support versions `0.19.0` and `0.20.0`[#2416](https://github.com/singerdmx/flutter-quill/pull/2416).
133
134
- Restore [base button options](https://github.com/singerdmx/flutter-quill/pull/2338/commits/1f51935f1eaa229f01c4d14398708ab2d3bd05b0), now works without the inherited widgets, and support buttons of `flutter_quill_extensions`.
0 commit comments