guardian/scribe

Chrome: Pasting from Word into pristine editor creates extraneous P element and misplaces the caret

Open

#137 opened on Apr 30, 2014

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (265 forks)batch import
browser inconsistencyformattershelp wanted

Repository metrics

Stars
 (3,516 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

image

Pasted into a pristine editor:

image

  • The caret is before the "3" when it should be after.
  • There is an extraneous P element containing only whitespace after the paragraph containing "2".

To do: create isolated case.

Introduced by https://github.com/guardian/scribe/pull/131.

Contributor guide