Upgrade to 3.5.2

pull/602/head
X Code 3 years ago
parent d94c2a575e
commit 98c25d0b10
  1. 3
      CHANGELOG.md
  2. 2
      example/lib/universal_ui/universal_ui.dart
  3. 2
      lib/flutter_quill.dart
  4. 2
      lib/src/models/documents/document.dart
  5. 0
      lib/src/models/documents/nodes/embeddable.dart
  6. 2
      lib/src/models/documents/nodes/leaf.dart
  7. 2
      lib/src/models/documents/nodes/line.dart
  8. 2
      lib/src/widgets/controller.dart
  9. 2
      lib/src/widgets/toolbar/image_button.dart
  10. 2
      lib/src/widgets/toolbar/image_video_utils.dart
  11. 2
      lib/src/widgets/toolbar/video_button.dart
  12. 2
      pubspec.yaml

@ -1,3 +1,6 @@
# [3.5.2]
* Bug fix for embed.
# [3.5.1]
* Bug fix for platform util.

@ -28,7 +28,7 @@ var ui = UniversalUI();
Widget defaultEmbedBuilderWeb(BuildContext context, Embed node, bool readOnly) {
switch (node.value.type) {
case 'image':
final String imageUrl = node.value.data;
final imageUrl = node.value.data;
final size = MediaQuery.of(context).size;
UniversalUI().platformViewRegistry.registerViewFactory(
imageUrl, (viewId) => html.ImageElement()..src = imageUrl);

@ -2,7 +2,7 @@ library flutter_quill;
export 'src/models/documents/attribute.dart';
export 'src/models/documents/document.dart';
export 'src/models/documents/nodes/embed.dart';
export 'src/models/documents/nodes/embeddable.dart';
export 'src/models/documents/nodes/leaf.dart';
export 'src/models/quill_delta.dart';
export 'src/models/themes/quill_dialog_theme.dart';

@ -8,7 +8,7 @@ import 'attribute.dart';
import 'history.dart';
import 'nodes/block.dart';
import 'nodes/container.dart';
import 'nodes/embed.dart';
import 'nodes/embeddable.dart';
import 'nodes/line.dart';
import 'nodes/node.dart';
import 'style.dart';

@ -2,7 +2,7 @@ import 'dart:math' as math;
import '../../quill_delta.dart';
import '../style.dart';
import 'embed.dart';
import 'embeddable.dart';
import 'line.dart';
import 'node.dart';

@ -7,7 +7,7 @@ import '../attribute.dart';
import '../style.dart';
import 'block.dart';
import 'container.dart';
import 'embed.dart';
import 'embeddable.dart';
import 'leaf.dart';
import 'node.dart';

@ -5,7 +5,7 @@ import 'package:tuple/tuple.dart';
import '../models/documents/attribute.dart';
import '../models/documents/document.dart';
import '../models/documents/nodes/embed.dart';
import '../models/documents/nodes/embeddable.dart';
import '../models/documents/style.dart';
import '../models/quill_delta.dart';
import '../utils/delta.dart';

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import '../../models/documents/nodes/embed.dart';
import '../../models/documents/nodes/embeddable.dart';
import '../../models/themes/quill_dialog_theme.dart';
import '../../models/themes/quill_icon_theme.dart';
import '../controller.dart';

@ -4,7 +4,7 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import '../../models/documents/nodes/embed.dart';
import '../../models/documents/nodes/embeddable.dart';
import '../../translations/toolbar.i18n.dart';
import '../../utils/platform.dart';
import '../controller.dart';

@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';
import '../../models/documents/nodes/embed.dart';
import '../../models/documents/nodes/embeddable.dart';
import '../../models/themes/quill_dialog_theme.dart';
import '../../models/themes/quill_icon_theme.dart';
import '../controller.dart';

@ -1,6 +1,6 @@
name: flutter_quill
description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
version: 3.5.1
version: 3.5.2
#author: bulletjournal
homepage: https://bulletjournal.us/home/index.html
repository: https://github.com/singerdmx/flutter-quill

Loading…
Cancel
Save