Describe the bug
When we use the HtmlEditorController.setFullScreen() after the onInit callback, and if we use the unorderedList formatting, then it makes the entire text's background color to white making it unreadable.
To Reproduce
Steps to reproduce the behavior:
- Go to the example app of this project.
- Add the following in the HtmlEditor callbacks
onInit: () {
print('init');
controller.setFullScreen();
}
- Make darkMode: true in the HtmlEditorOptions().
- Run the project and type in the words, select it and use the List Formatting in the top (here unordered list is used)
Expected behavior
It should make the Text to be Listed without changing its background color.
Screenshots


Device:
iOS Simulator 16e
Additional context
This is happening in the darkMode. Found out that is added with background-color: rgb(255, 255, 255); when we do this.

Flutter 3.29.3
Tools • Dart 3.7.2 • DevTools 2.42.3
html_editor_enhanced: 2.7.0