[Moin-user] Selecting part of a Moin page with JavaScript

Kai Jaeger kai at aplteam.com
Thu Jul 29 03:31:53 EDT 2010

Imagine that a Moin wiki is offering code snippets in a given
programming language.

I've given up the idea to offer a "Copy code" button - that seems to
be impossible to achieve with all browsers and JavaScript only, but
strictly speaking it's not necessary anyway: The nasty part is
selecting the right part of the page, so a button "Select text" would
do. Someone interested in programming is certainly to press Ctrl+C

I wonder whether somebody has solved this already?


More information about the Moin-user mailing list