Closed Bug 1703457 Opened 3 years ago Closed 3 years ago

HTMLEditor should create `<span>` element to remove style which coming from a parent block even in not "style with CSS" mode

Categories

(Core :: DOM: Editor, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1566795

People

(Reporter: masayuki, Unassigned)

References

Details

E.g.,

<div contenteditable style="font-weight: bold">[foo]</div>

should become:

<div contenteditable style="font-weight: bold"><span style="font-weight: normal">foo</span></div>

Even if styleWithCSS is set to false.

This was fixed by bug 1566795.

No longer blocks: editor-blink-compat
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.