Tumblr Rich Text Editor Borked ☀
Those funky IE-only
<iframe>attributes we were injecting in themes have been adjusted to be 100% valid XHTML. Same for the Submit, Ask, and Answer forms.We also switched the Rich Text Editor to use
<em>and<strong>tags instead of<i>s and<b>s.
Changes weren’t tested very thoroughly, and a couple of new bugs were introduced to an already glitch ridden editor.
- Indent/Outdent no longer work. With the occurrence of “blockquoted” text. Frustrating to have to consistently pop into HTML source to “blockquote” some text or worse, unable to “Outdent” out of cited text. Kind of defeats the purpose of a “rich text editor”.
- Re-added href attributes stripped. Bad enough that selected text drops the href attribute (but somehow, other attributes, like “title” for example, remain unadulterated). But problem is compounded and vexation squared when after adding them back in manually, they disappear again. Might be a sporadic problem, as it seems as if I edit and add again from the Tumblr dashboard, they stay. Or it might be a browser issue — affecting Google Chrome as I haven’t reproduced it yet on Firefox — but have only attempted once, and the behavior does appear to be sporadic on the manual re-adding of “HREF” attributes.
These were piled on top of existing issues, in unresolved status for quite some time now. Of which some or all of these may be fixed — haven’t retested or the aforementioned snafus preclude resolution verification.
- Outdent/Indent actions butchers lists (of both the “OL” and “UL” variety). May still exist but impossible to ascertain after the recent change.
- Superfluous stripping of attributes on image tags (“IMG”). Have not attempted a floated image in some time now.
- Extraneous insertion of unwanted block tags (basically wrapping “P” tags around edited content). Mitigated by stylesheet modifications to treat such unbidden tarted tags as inline elements, instead of block elements.
Cosmetic changes to opt for the logical “<strong>” and “<em>” tags over the “<b>” and “<i>” counterparts is a nice touch, but I’d prefer that the text editor be repaired to functional working status first.
Really hate writing this, as lately it seems I’ve been frequently griping over the state of administering Tumblr posts.

