diff --git a/lib/src/models/documents/delta_x.dart b/lib/src/models/documents/delta_x.dart index c2609273..370b8b39 100644 --- a/lib/src/models/documents/delta_x.dart +++ b/lib/src/models/documents/delta_x.dart @@ -34,7 +34,16 @@ class DeltaX { consider using alternatives such as https://pub.dev/packages/flutter_quill_delta_from_html ''', ) - static Delta fromHtml(String htmlText, {List? customBlocks}) { + static Delta fromHtml( + String htmlText, { + @Deprecated( + ''' + The experimental support for HTML conversion has been dropped and will be removed in future releases, + consider using alternatives such as https://pub.dev/packages/flutter_quill_delta_from_html + ''', + ) + List? customBlocks, + }) { final htmlToDelta = HtmlToDelta(customBlocks: customBlocks); return htmlToDelta.convert(htmlText); }