I'll see this weekend about writing something up for javajunkies, and I'll see about porting it to perlmonks (jj v 1.0, pm v .8).
If I'm able to port the code to pm without too much tomfoolery, I'll submit a patch to vroom, but if not, it'll be available for sure when we port pm to v 1.0 of the e2 engine (zdog is in charge of the porting effort for all you pmdev guys).
As for xhtml compatibility, piss of (pm be a relic of the pre-standardization era, and anyway, it does pretty well anyway). Also, that is not gonna happen until we port pm to version 1 (or, in case OeufMayo should finish it before then, which I do not believe will happen, but he's a hard working guy, so you never know).
How this thing'd be laid out, is next to the title box, there will be a pulldown menu with the approved html tags in there, with a button next to it, that when pressed, will insert the selected approved html tag at the cursor in the big text area.
P.S. - I will be cleaning some code this weekend ;D
update: It's been a while since I abandoned javascript, so if anyone can provide me with working code (javascript, the javascript), that would do such a thing i'd really appreciate it. I'm beginning to doubt it is possible (short of having a layer, and recreating the form in that layer or some such nonsense, which I also do not feel like writing at the moment).
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"
In reply to (crazyinsomniac) Re: Insert HTML buttons.
by crazyinsomniac
in thread Insert HTML buttons.
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |