in reply to Perlmonks idea: Examine post code (view only)

i would like this feature, mainly for quoting. if i quote text wich contains tags, i can't copy them.
cool would be a button beside the 'preview' button that inserts the original text into the textarea with 'blockquote' tags around.
  • Comment on Re: Perlmonks idea: Examine post code (view only)

Replies are listed 'Best First'.
Re^2: Perlmonks idea: Examine post code (view only)
by Aristotle (Chancellor) on Jan 20, 2006 at 21:21 UTC

    Here’s a tip: in Firefox, you can select something on the page, then pick “View Selection Source” from the contetx menu, and you’ll get a source view window where the bits you selected on the page are also selected. Nice and easy for copying.

    Makeshifts last the longest.

      you mean if i view the source of a post with firefox i can see tags like <code> and <spoiler>? how would firefox know about these tags?

      if somebody posted:
      post-increment <code>$i++</code> is blahblah
      i would like to copy & paste exactly this source.

        I didn’t say that. It’s just a way to get marked up text, and even if you have to change one or two tags from raw HTML to their PM equivalents, that’s much less painful than it would be to copy-paste only text and mark it up from scratch. For cases where you’d have to fix up a lot of markup, the extra step of going through the XML displaytype pays off.

        Makeshifts last the longest.