Page MenuHomePhabricator

VisualEditor: round-trip inline styles
Closed, ResolvedPublic

Description

Input:

This is an <span style="background: red; color: white; font-weight: bold;">Inline element</span>.

This sentence contains '''wikitext bold''' and <b>html bold</b>, <strong>html strong</strong> and <span style="font-weight: bold;">inline style bold</span>.

Output:

This is an <span>Inline element</span>.

This sentence contains '''wikitext bold''' and '''html bold''', <strong>html strong</strong> and <span>inline style bold</span>.


Version: unspecified
Severity: normal

Details

Reference
bz38738

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:05 AM
bzimport set Reference to bz38738.

This is a DM problem, attributes for text style annotations are not currently preserved. Will be fixed in my annotation API rewrite that I'm starting now.