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

Uncaught TypeError: Cannot read properties of null (reading 'appendChild') #499

Open JaiPreet23 opened 4 months ago

JaiPreet23 commented 4 months ago

Hello There i'm building the app for my client where i'm inserting html from dialog but on first time its not inserting data into Editor and giving me this error

I/flutter (10718): Uncaught TypeError: Cannot read properties of null (reading 'appendChild') I/flutter (10718): {style: , fontName: sans-serif, fontSize: 3, font: [false, false, false], miscFont: [false, false, false], color: [rgb(0, 0, 0), ], paragraph: [false, false], align: [true, false, false, false], lineHeight: normal, direction: ltr} here is repo link you can reproduce error by clicking on video button and pressing insert html button https://github.com/JaiPreet23/html_sample