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

Local images work in simulator but not on physical devices #475

Open Aruljebaraj opened 8 months ago

Aruljebaraj commented 8 months ago

Tried to add local images using controller.insertHtml( );

eg:"/var/mobile/Containers/Data/Application/EC860AC3-0B44-46CB-8DCE-05C8799CFD1D/Documents/XYZ/05-10-2023/abc/ABC/07nEzY88EwE4Y2AG.png" in <img src

tag

this works on simulator not on real device in real device Image

Aruljebaraj commented 7 months ago

wanted to add local image path from gridview and make it appear in html editor though it works with simulator bt does not works with real devices Simulator Screenshot - iPhone 15 Pro - 2023-12-04 at 18 04 27

and it works in real device if try to add as base64 is there any way to add as png file path