Skip to content

Pasting into an inline formatting element can cause nested formatting tags #2

@nicoburns

Description

@nicoburns

The textblock paste handler doesn't check for nested formatting elements (everything else in ghostedit does), and it possible to paste (for instance) a <strong> tag inside another <strong> tag.

At the very least it needs to strip out nested tags, ideally it will do something clever so that pasting <em>llo</em> fred into <em>he|</em> (| marks cursor position) will not result in fred being italicised.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions