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:
Bartosz Dziewoński 2019-02-12 19:32:57 +01:00
parent 279706e170
commit edc4fe95f6

View file

@ -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;
}