[Webkit-unassigned] [Bug 225203] Web Inspector: should be able to type new line in Text node
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 29 12:53:59 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225203
Joseph Pecoraro <joepeck at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joepeck at webkit.org
--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
Looks like:
```
_startEditingTextNode(textNode)
{
if (WI.isBeingEdited(textNode))
return true;
var config = new WI.EditingConfig(this._textNodeEditingCommitted.bind(this), this._editingCancelled.bind(this));
config.spellcheck = true;
this._editing = WI.startEditing(textNode, config);
window.getSelection().setBaseAndExtent(textNode, 0, textNode, 1);
return true;
}
```
Maybe this just needs `config.multiline = true`.
--
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/20210429/e6d60917/attachment-0001.htm>
More information about the webkit-unassigned
mailing list