Merge remote-tracking branch 'origin/master' into chore/drop-support-converters

pull/1997/head
Ellet 9 months ago
commit b0e3bb583c
  1. 7
      CHANGELOG.md
  2. 2
      CHANGELOG_DATA.json
  3. 7
      dart_quill_delta/CHANGELOG.md
  4. 2
      dart_quill_delta/pubspec.yaml
  5. 7
      flutter_quill_extensions/CHANGELOG.md
  6. 2
      flutter_quill_extensions/pubspec.yaml
  7. 7
      flutter_quill_test/CHANGELOG.md
  8. 2
      flutter_quill_test/pubspec.yaml
  9. 4
      pubspec.yaml
  10. 8
      test/utils/delta_x_test.dart

@ -4,6 +4,13 @@
All notable changes to this project will be documented in this file.
## 9.5.15
* Update delta_from_html to fix nested lists issues and more by @CatHood0 in https://github.com/singerdmx/flutter-quill/pull/2000
**Full Changelog**: https://github.com/singerdmx/flutter-quill/compare/v9.5.14...v9.5.15
## 9.5.14
* docs(readme): update 'Conversion to HTML' section to include more details by @EchoEllet in https://github.com/singerdmx/flutter-quill/pull/1996

File diff suppressed because one or more lines are too long

@ -4,6 +4,13 @@
All notable changes to this project will be documented in this file.
## 9.5.15
* Update delta_from_html to fix nested lists issues and more by @CatHood0 in https://github.com/singerdmx/flutter-quill/pull/2000
**Full Changelog**: https://github.com/singerdmx/flutter-quill/compare/v9.5.14...v9.5.15
## 9.5.14
* docs(readme): update 'Conversion to HTML' section to include more details by @EchoEllet in https://github.com/singerdmx/flutter-quill/pull/1996

@ -1,6 +1,6 @@
name: dart_quill_delta
description: A port of quill-js-delta from typescript to dart
version: 9.5.14
version: 9.5.15
homepage: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/
repository: https://github.com/singerdmx/flutter-quill/tree/master/dart_quill_delta/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -4,6 +4,13 @@
All notable changes to this project will be documented in this file.
## 9.5.15
* Update delta_from_html to fix nested lists issues and more by @CatHood0 in https://github.com/singerdmx/flutter-quill/pull/2000
**Full Changelog**: https://github.com/singerdmx/flutter-quill/compare/v9.5.14...v9.5.15
## 9.5.14
* docs(readme): update 'Conversion to HTML' section to include more details by @EchoEllet in https://github.com/singerdmx/flutter-quill/pull/1996

@ -1,6 +1,6 @@
name: flutter_quill_extensions
description: Embed extensions for flutter_quill including image, video, formula and etc.
version: 9.5.14
version: 9.5.15
homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/
repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_extensions/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -4,6 +4,13 @@
All notable changes to this project will be documented in this file.
## 9.5.15
* Update delta_from_html to fix nested lists issues and more by @CatHood0 in https://github.com/singerdmx/flutter-quill/pull/2000
**Full Changelog**: https://github.com/singerdmx/flutter-quill/compare/v9.5.14...v9.5.15
## 9.5.14
* docs(readme): update 'Conversion to HTML' section to include more details by @EchoEllet in https://github.com/singerdmx/flutter-quill/pull/1996

@ -1,6 +1,6 @@
name: flutter_quill_test
description: Test utilities for flutter_quill which includes methods to simplify interacting with the editor in test cases.
version: 9.5.14
version: 9.5.15
homepage: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/
repository: https://github.com/singerdmx/flutter-quill/tree/master/flutter_quill_test/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/

@ -1,6 +1,6 @@
name: flutter_quill
description: A rich text editor built for the modern Android, iOS, web and desktop platforms. It is the WYSIWYG editor and a Quill component for Flutter.
version: 9.5.14
version: 9.5.15
homepage: https://1o24bbs.com/c/bulletjournal/108/
repository: https://github.com/singerdmx/flutter-quill/
issue_tracker: https://github.com/singerdmx/flutter-quill/issues/
@ -54,7 +54,7 @@ dependencies:
flutter_colorpicker: ^1.1.0
# For converting HTML to Quill delta
flutter_quill_delta_from_html: ^1.2.5
flutter_quill_delta_from_html: ^1.3.0
markdown: ^7.2.1
charcode: ^1.3.1

@ -11,9 +11,6 @@ void main() {
const htmlWithUnderline =
'<p>This is a normal sentence, and this section has greater <u>underline</u>';
const htmlWithIframeVideo =
'<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player"></iframe>';
const htmlWithVideoTag =
'<video src="https://www.youtube.com/embed/dQw4w9WgXcQ">Your browser does not support the video tag.</video>';
@ -57,11 +54,6 @@ void main() {
expect(delta, expectedDeltaUnderline);
});
test('should detect iframe and parse correctly', () {
final delta = DeltaX.fromHtml(htmlWithIframeVideo);
expect(delta, expectedDeltaVideo);
});
test('should detect video and parse correctly', () {
final delta = DeltaX.fromHtml(htmlWithVideoTag);
expect(delta, expectedDeltaVideo);

Loading…
Cancel
Save