From 9fa37560f658bef05babc758afa28be95b12340c Mon Sep 17 00:00:00 2001 From: Ellet Date: Sat, 30 Dec 2023 15:01:30 +0300 Subject: [PATCH] Update the comments of flutter_quill_extensions --- .../lib/flutter_quill_extensions.dart | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/flutter_quill_extensions/lib/flutter_quill_extensions.dart b/flutter_quill_extensions/lib/flutter_quill_extensions.dart index e344f4f4..fb305c3c 100644 --- a/flutter_quill_extensions/lib/flutter_quill_extensions.dart +++ b/flutter_quill_extensions/lib/flutter_quill_extensions.dart @@ -1,5 +1,3 @@ -// ignore_for_file: unused_import - library flutter_quill_extensions; import 'package:flutter/foundation.dart' show kIsWeb; @@ -15,7 +13,6 @@ import 'embeds/video/editor/video_web_embed.dart'; import 'embeds/video/toolbar/video_button.dart'; import 'models/config/camera/camera_configurations.dart'; import 'models/config/image/editor/image_configurations.dart'; -import 'models/config/image/editor/image_web_configurations.dart'; import 'models/config/image/toolbar/image_configurations.dart'; import 'models/config/media/media_button_configurations.dart'; import 'models/config/video/editor/video_configurations.dart'; @@ -52,7 +49,7 @@ export 'utils/utils.dart'; class FlutterQuillEmbeds { const FlutterQuillEmbeds._(); - /// Returns a list of embed builders for QuillEditor. + /// Returns a list of embed builders for [QuillEditor]. /// /// This method provides a collection of embed builders to enhance the /// functionality @@ -60,11 +57,6 @@ class FlutterQuillEmbeds { /// handling various types of /// embedded content, such as images, videos, and formulas. /// - /// **Note:** This method is not intended for web usage. - /// For web-specific embeds, - /// use [editorWebBuilders]. - /// - /// /// The method returns a list of [EmbedBuilder] objects that can be used with /// QuillEditor /// to enable embedded content features like images, videos, and formulas. @@ -76,8 +68,6 @@ class FlutterQuillEmbeds { /// ); /// ``` /// - /// if you don't want image embed in your quill editor then please pass null - /// to [imageEmbedConfigurations]. same apply to [videoEmbedConfigurations] static List editorBuilders({ QuillEditorImageEmbedConfigurations? imageEmbedConfigurations = const QuillEditorImageEmbedConfigurations(), @@ -105,10 +95,10 @@ class FlutterQuillEmbeds { /// Returns a list of embed builders specifically designed for web support. /// /// [QuillEditorWebImageEmbedBuilder] is the embed builder for handling - /// images on the web. + /// images on the web. this will use tag of HTML /// /// [QuillEditorWebVideoEmbedBuilder] is the embed builder for handling - /// videos iframe on the web. + /// videos iframe on the web. this will use