xrb21 / flutter-html-editor

MIT License
82 stars 64 forks source link

Full editor is not showing #25

Closed mirunamd closed 4 years ago

mirunamd commented 4 years ago

I am only able to view the bottom options: image, copy and paste and not options such as Bold, Italic etc.. The hint isn't even showing, the text box isn't editable also. Am I missing something in my code? (I am using an IOS simulator)

class MyTextBox extends StatefulWidget {
  @override
  _MyTextBoxState createState() => _MyTextBoxState();
}

class _MyTextBoxState extends State<MyTextBox> {
  GlobalKey<HtmlEditorState> keyEditor = GlobalKey();
  String result = "no text";

  @override
  Widget build(BuildContext context) {
    return Expanded(
      child: HtmlEditor(
        hint: "Your answer here...",
        //value: "text content initial, if any",
        key: keyEditor,
        height: 400,
      ),
    );
  }
}

Could it be because I am not updating the Info.plist right? Where should I put the keys?