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

[BUG] Underline tags and Strikethrough tags cannot be used at the same time in a consecutive paragraph of text. #477

Open hpvdev opened 7 months ago

hpvdev commented 7 months ago

Describe the bug Underline tags and underline tags cannot be used at the same time in a consecutive paragraph of text.

To Reproduce Steps to reproduce the behavior:

  1. Choose to use underline tags.
  2. Enter any character.
  3. Choose to use strikethrough tags.
  4. Enter any character.

Expected behavior Expect: The entire text has both underline and strikethrough tags applied. Bug: Only one paragraph of text has the strikethrough tag applied.

Screenshots simulator_screenshot_73236053-1243-40A6-845F-981A4D8DA2BD

Record screen

https://github.com/tneotia/html-editor-enhanced/assets/43743132/9acfca73-93f4-4a91-9f92-e345d75ef80d

Device: Iphone, safari.

Additional context I have tried on other platforms like android, chrome it works fine but it seems to error only on IOS and safari. Please check it. Thank you!