Bug 143628 - Pasting a single table cell places the caret inside the last pasted cell
Summary: Pasting a single table cell places the caret inside the last pasted cell
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-04-10 21:01 PDT by Ryosuke Niwa
Modified: 2015-04-10 21:01 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2015-04-10 21:01:08 PDT
e.g.

document.execCommand('insertHTML', false, '<table border=1><tbody><tr><td>hello</td></tr></tbody></table>');

results in the caret being placed immediately after "hello" in the last table cell instead of after the table.
Comment 1 Radar WebKit Bug Importer 2015-04-10 21:01:43 PDT
<rdar://problem/20508641>