quill_delta 3.0.0-nullsafety.2 quill_delta: ^3.0.0-nullsafety.2 copied to clipboard
Simple and expressive format for describing rich-text content created for Quill.js editor. This package is unofficial port to Dart from JavaScript.
3.0.0-nullsafety.2 #
- Added an option to cleanup semantics in
Delta.diff
. See dartdoc for more details.
3.0.0-nullsafety.1 #
- Added
Delta.diff
implementation (#24)
3.0.0-nullsafety.0 #
- Migrated to null safety.
- Fixed an issue with usage of double.infinity in DeltaIterator. Replaced with special value of DeltaIterator.maxLength.
2.0.1 #
- Updated dependency on quiver_hashcode to main quiver package.
2.0.0 #
- Breaking change: changed
Operation.value
type fromdynamic
toObject
to allow better static analysis and prevent bugs where operation value is always assumed to be a String object. If you get analyzer errors after this change you must add an explicit type cast on the operation value to the desired type (String or the type of an embed). - Added:
dataDecoder
parameter toDelta.fromJson
andOperation.fromJson
. Can be used to convert raw JSON values to concrete data types. Mainly useful with embedded data. Text data should always beString
. - Fixed: changed
Delta.fromJson
type of thedata
parameter toList
so that this factory method can actually be used with the output ofjsonDecode
.
1.1.3 #
- Reverted last change to operation value type and will publish it as a major version update since it's breaking existing users.
1.1.2 #
- Changed operation value type from
dynamic
toObject
to allow better static analysis. If you get analyzer errors after this change you must add an explicit type cast on the operation value to the desired class.
1.1.1 #
- Fix iterator for custom embed objects (#14)
1.1.0 #
- Changed insert operations to allow inserting dynamic object values. (#13) Object values must be JSON-serializable.
1.0.2 #
- Fix attributes comparison for operations when attributes have complex values (maps, lists).
1.0.1 #
- Fixed assertion error for sequences of insert-delete-insert operations.
1.0.0 #
- Added
Delta.invert()
,Delta.slice()
andDelta.invertAttributes()
.
1.0.0-dev.4.0 #
- Internal clean-up replacing hardcoded strings with constants.
1.0.0-dev.3.0 #
- Updated dependency on quiver_hashcode.
1.0.0-dev.2.0 #
- Prepare for Dart 2 stable.
1.0.0-dev.1.0 #
- Initial release.