mkhstar / suneditor-react

A React Component for SunEditor (WYSIWYG editor)
http://suneditor.com/
424 stars 105 forks source link

Uploaded image not taking center or right aligned position in generated HTML #360

Open masnoonJunaid opened 5 months ago

masnoonJunaid commented 5 months ago

Describe the bug A clear and concise description of what the bug is.

Related repository

To Reproduce Steps to reproduce the behavior: Upload an Image and choose center position from upload tool, or put image to right aligned position, generate html and try to display or send mail, image always remains left aligned

Expected behavior It should to take selected position in generated document, either right or centered

Screenshots here is screenshot of one of document generated, attached image and selected center position

Screenshot 2024-04-08 at 8 09 50 PM

please check above screenshot generated, text is centered aligned but not the image, even after choosing centered align