tneotia / html-editor-enhanced

A Flutter package that provides a WYSIWYG editor backed by flutter_inappwebview and the Summernote library.
https://pub.dev/packages/html_editor_enhanced
MIT License
269 stars 318 forks source link

[Dragbar] Issue #474

Open Sanketrupareliya opened 8 months ago

Sanketrupareliya commented 8 months ago

I am using html editor and I want to remove the dragbar I have tried as mentioned in #42

SingleChildScrollView( child: Column(children: [ HtmlEditor( controller: controller, callbacks: Callbacks(onInit: () { controller.setFullScreen(); }), htmlEditorOptions: HtmlEditorOptions( autoAdjustHeight: false, mobileContextMenu: ContextMenu(), mobileLongPressDuration: const Duration(microseconds: 200), hint: hint, initialText: labelText ?? "", shouldEnsureVisible: true, ), htmlToolbarOptions: const HtmlToolbarOptions( toolbarPosition: ToolbarPosition.aboveEditor, toolbarType: ToolbarType.nativeScrollable, defaultToolbarButtons: [ StyleButtons(), ListButtons(listStyles: false), FontButtons(superscript: false, subscript: false), ParagraphButtons( lineHeight: false, caseConverter: false, textDirection: false), InsertButtons( link: true, picture: false, audio: false, video: false, otherFile: false, table: false, hr: false), ], ), otherOptions: OtherOptions( height: MediaQuery.of(context).size.height - 120, ), ) ]), ),

This is the code I have added controller.setFullScreen(); in on Init call back bu the issue is when it loads the html editor that dragbar flickers for one then it disappears.

https://github.com/tneotia/html-editor-enhanced/assets/99952992/79314814-f741-402c-b8d9-4ea56f59ffdc