material
material copied to clipboard
Unable to copy the Demo source code
Could you make the code copyable of the angular material website. It is useful to learn. Thanks.
I'm not sure why this got labelled invalid. Is it not reproducable? https://material.angularjs.org/#/material.components.dialog/readme/overview click source and try to select the demo code. @shapath I just add
pre>code.highlight {
padding: 10px;
font-weight: 400;
-webkit-user-select: initial;
}
as a rule in inspector, then the demo code becomes selectable and copyable.
@maxwellium your explanation clarified the issue immediately. Thank you for the the CSS.