[wp-hackers] Plugin to post source code needs testing
viper at viper007bond.com
Mon Sep 10 02:44:28 GMT 2007
Yeah, I meant to add that one, but forgot during regex testing. I added it
shortly after posting to the list. Update your SVN copy. ;)
I'm not sure if it's avoidable or not. It sends a copy-to-clipboard command
(which IE prompts) and then does an alert() assuming it worked. Perhaps it
needs to check the clipboard to see if it matches. Then again, that'll
probably trigger an IE prompt too, heh.
to do the highlighting and box. It makes it much easier to be honest, plus
it works better for text readers.
On 9/9/07, Matt <speedboxer at gmail.com> wrote:
> I tried it out, seems to work perfectly. Although, maybe you could also
> [source lang='php']...[/source]
> Also, so it's even easier.
> There's sorta a bug with the copy to clipboard feature in IE7 though (I
> don't know if it's possible to fix, though). When you click the copy to
> clipboard link, IE7 asks you if you would like to allow the page to copy
> text to the clipboard, but if you click don't allow, you still get the
> box saying that the text has been copied to the clipboard.
> Also, what's with the question mark that opens an "About box"? Something
> from the syntax highlighter, I'm guessing?
> I know that the syntax highlighter I was using before (WP-Syntax) used
> GeSHi, have you looked at that? I'm just saying because it supports
> Overall, it's awesome! It's going to make posting code easier and it'll
>  http://wordpress.org/extend/plugins/wp-syntax/
>  http://qbnz.com/highlighter/
> Matt (speedboxer at gmail.com)
> http://mattsblog.ca/ | http://livemp.net/
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Viper007Bond | http://www.viper007bond.com/
More information about the wp-hackers