[Webkit-unassigned] [Bug 191608] New: [iOS] Recognize editing key commands that insert text from ones that do not
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 13 16:11:03 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=191608
Bug ID: 191608
Summary: [iOS] Recognize editing key commands that insert text
from ones that do not
Product: WebKit
Version: WebKit Local Build
Hardware: iPhone / iPad
OS: iOS 12
Status: NEW
Keywords: NeedsRadar, PlatformOnly
Severity: Normal
Priority: P2
Component: HTML Editing
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dbates at webkit.org
CC: megan_gardner at apple.com, rniwa at webkit.org,
thorton at apple.com,
webkit-bug-importer at group.apple.com,
wenson_hsieh at apple.com
Similar to the behavior on Mac, iOS WebKit needs to take to care to recognize editing key commands that may insert text from ones that do not (e.g. Command + i). For instance, in richly editing elements pressing Command + i or Command + b is expected to italicize or make bold, respectively, any newly typed text or any selected text. Performing such commands should not cause a text insertion.
You can create a rich-edit element by making it contenteditable and setting the CSS property -webkit-user-modify: read-write. For example:
<div contenteditable="true" style="width: 500px; height: 500px; border: 1px solid black; user-modify: read-write; -webkit-user-modify: read-write;"></div>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181114/a8c88e47/attachment-0001.html>
More information about the webkit-unassigned
mailing list