Skip to content

Modifying mixed content in EditMOM3 leads to duplication of content #1194

@NTsch

Description

@NTsch

Deletion of mixed content (text and child elements) in the editor window leads to the duplication of text contents, see for example this video.

The cause seems to be in the replaceMixedSelection function in the XPath module, specifically this line:

copyFlag ? result += ch : null;

Fixing this could be quite involved. So far, using only backspace for deletions, as opposed to marking and deleting mixed content, seems to be a viable workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions