mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 23:05:35 +00:00
Allow page title heading to be selected while editor is active
People enjoy copy-pasting it, or something. Bug: T214790 Change-Id: I0d133f601d178f1d1f0175a411a9bcd433ba9419
This commit is contained in:
parent
279706e170
commit
edc4fe95f6
|
@ -54,6 +54,17 @@
|
|||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.ve-activated #firstHeading {
|
||||
/* Override the styles above to allow the heading to be selected, because people enjoy
|
||||
copy-pasting it. Overriding pointer-events is surprisingly not required, and not desirable,
|
||||
because of section 0 edit links and other stuff inserted inside this element by gadgets,
|
||||
which should remain inactive. */
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.ve-activated #catlinks {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue