Changeset 220973 in webkit
- Timestamp:
- Aug 21, 2017 11:45:35 AM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r220898 r220973 1 2017-08-21 Devin Rousso <webkit@devinrousso.com> 2 3 Web Inspector: Can't copy text from "View variable value" popover in Styles sidebar 4 https://bugs.webkit.org/show_bug.cgi?id=175758 5 6 Reviewed by Matt Baker. 7 8 * UserInterface/Views/InlineSwatch.js: 9 (WI.InlineSwatch.prototype._swatchElementClicked): 10 Change CodeMirror readOnly from "nocursor" to true. The former prevents the editor from 11 being focused during selection, therefore preventing the content from being copied. 12 1 13 2017-08-17 Matt Baker <mattbaker@apple.com> 2 14 -
trunk/Source/WebInspectorUI/UserInterface/Views/InlineSwatch.js
r220119 r220973 180 180 this._valueEditor.codeMirror = WI.CodeMirrorEditor.create(this._valueEditor.element, { 181 181 mode: "css", 182 readOnly: "nocursor",182 readOnly: true, 183 183 }); 184 184 this._valueEditor.codeMirror.on("update", () => {
Note: See TracChangeset
for help on using the changeset viewer.