When copying certain content, e.g. copying references from another page that is also in VisualEditor mode, I get this error in the Javascript console. It then becomes impossible to delete the affected text unless I place a line break before the affected text.
Example URL: https://en.wikipedia.org/wiki/Fort_Washington_Park_(Manhattan)?veaction=edit, copying from https://en.wikipedia.org/wiki/Little_Red_Lighthouse?veaction=edit