Bug 136922

Summary: REGRESSION (iOS 8): Contenteditable get broken after paste
Product: WebKit Reporter: Piotr Jasiun <p.jasiun>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: enrica, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   

Description Piotr Jasiun 2014-09-18 07:52:37 PDT
Tested Safari, WebKit version 600.1.4 on iOS 8.

For testing use HTML:

	<!DOCTYPE html>
	<html>
		<body>
			<div id="editor" contenteditable="true">
				<p>Lorem ipsum dolor.</p>
			</div>
		</body>
	</html>

1. Select any word by long-press.
2. Select 'copy' from the context menu.
3. Put cursor anywhere in the contenteditable.
4. Open context menu by long-press and select 'paste'.
5. Try to put cursor in any word in the editable.

Expected result: cursor is shown at the position.

Actual result: word is selected and "No Replacements Found" message is shown.

There was no such bug in the iOS 7.
Comment 1 Radar WebKit Bug Importer 2014-09-18 10:05:18 PDT
<rdar://problem/18381830>