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

Use strong and em tags instead of b and i

Open aforcier opened this issue 10 years ago • 4 comments

We're currently limited by execCommand in the visual editor, and can only add new b and i elements currently (though the visual editor processes pre-existing strong and em tags correctly).

However, we might consider converting the b and i to strong and em when switching to HTML mode, and when returning the post content in getContent(). This way posts uploaded from the editor would use strong and em, consistent with the web editor.

Related discussion: https://github.com/wordpress-mobile/WordPress-Editor-iOS/issues/544 https://github.com/wordpress-mobile/WordPress-Android/pull/3018

aforcier avatar Jul 29 '15 13:07 aforcier

User comment:

Italics uses deprecated "i" instead of "em", and bold "b" instead of "strong", which aren't supported by all the themes.

maxme avatar Jan 10 '17 06:01 maxme

From an app review:

Still uses deprecated "i" and "b" for italics and bold.

rachelmcr avatar Mar 06 '17 11:03 rachelmcr

Is that still not implemented?? What a shame

anderbytes avatar Sep 10 '17 00:09 anderbytes

In 219878-h, a user reported that their <strong> tags were automatically converted to <b> tags after the latest update. Possibly related to this issue?

SiobhyB avatar Jan 28 '18 20:01 SiobhyB