WordPress-Editor-iOS icon indicating copy to clipboard operation
WordPress-Editor-iOS copied to clipboard

Img meta data - strips alignment from html

Open meremagee opened this issue 10 years ago • 2 comments

Currently, if you edit the img meta data of a post drafted on wp-admin, we reset the alignment. We should preserve alignment/update the meta details page with alignment in the original html.

repro:

  • add image in wp-admin web
  • inline, change alignment (by clicking image then using contextual menu)
  • publish post
  • open post on ios app
  • tap edit
  • go to html mode -- notice alignment specs in img class
  • go to visual mode
  • tap image to edit meta data
  • notice that align is set to "none"
  • close
  • go to html
  • alignment info is wiped from html

meremagee avatar Apr 06 '15 18:04 meremagee

This may be fixed by importing the changes made to the ZSSEditor Android-side in this commit.

Backstory: https://github.com/wordpress-mobile/WordPress-Editor-Android/pull/244#issuecomment-138863969

aforcier avatar Sep 09 '15 10:09 aforcier

:+1:

bummytime avatar Sep 09 '15 15:09 bummytime