html-editor-enhanced icon indicating copy to clipboard operation
html-editor-enhanced copied to clipboard

Can this package be used with 2 or even more of its Widgets within a single Class ?

Open royhanrahim opened this issue 1 year ago • 0 comments

For example, like this :

`HtmlEditorController controllerFirst = HtmlEditorController(); HtmlEditorController controllerSecond = HtmlEditorController();

@override Widget build(BuildContext context) { return Column( children: [ HtmlEditor( controller: controllerFirst, //required htmlEditorOptions: HtmlEditorOptions( hint: "Your text here...", //initalText: "text content initial, if any", ),
otherOptions: OtherOptions( height: 400, ), ), HtmlEditor( controller: controllerSecond, //required htmlEditorOptions: HtmlEditorOptions( hint: "Your text here...", //initalText: "text content initial, if any", ),
otherOptions: OtherOptions( height: 400, ), ), ] ); }`

royhanrahim avatar Aug 21 '23 03:08 royhanrahim