Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

BB Insert Bar

edited August 2006 in Vanilla 1.0 Help
I've created a BB Insert Bar to insert BB Code to the Comments Textarea. It requires the Better BB Code Extension that the Comment ist displayed properly.

I hope there are no errors in the extension, because it's my first extension.

Here you can Download the extension
«13

Comments

  • Cool! Saves me the effort of making one :D
  • And hey, it works!
  • the only thing, is that i want to have it at the top of them comments textarea, i've already posted at the dev forum
    Here
  • I've updatet the extension, now the bar is at the top of the comments textarea
  • Good thing Mark put in a delegate just for that purpose.
  • hey man, it works well! great!
  • Are those Silk Icons? I should see if I can do a better job of converting them into GIFs.
  • oh sweetness.... maybe i can disable <html> comments now... hmm.... decisions.
  • Hm, when I tried this extension, none of the images appeared. It was just oddly spaced text buttons... Another issues to consider with this extension: when you have text, html and bbcode all as options, is there a way that we can make the bbcode insert bar only appear when the bbcode formatting option is selected below the commenting area? on that note, it would be nice if when HTML was selected, it dished out HTML instead of bbcode...
  • Cleaned up icons

    Some were fine and I left them alone.
  • i agree w/ tim it WOULD be great if when html was selected it did html code... mmm cross platform...(home simpson voice)
  • @tim, jaredb: I will look, if I can edit the Bar, so that it does HTML when HTML is selected and BB when BB is selected.
    @bergamot: I will replace my icons with yours and upload it to the Add-Ons Directory
  • is it possible to replace the "Enter your comments" test with this bar???
  • I don't know, how i could do this, I'm happy that it's now at the top of the textarea.

    Actually i've updated the Add-On, now it supports HTML and BBCode. I hope it works fine for everyone...
  • maybe Mark can say how to do that...
  • What do you think of something like this, it's now only experimental, you can choose the predefined fonts and the tags are inserted automatic. And what do you think about a Color Picker?
    image
  • uziuzi
    edited May 2006
    hm... color picker is great, but this font-chooser would be better in its own window (like color picker) and not in the bar ;)

    edit: is it possible to disable the bottom bar in the pop-up window with the colors?
  • Now i've got something like this
    image

    I will look, if i can deactivate the bottom bar
  • Instead of opening a new window, you could just use a div like Mark does for the autocomplete stuff.

    And if you're already doing menus, might as well make a smiley one too :D
  • i personally thing that pop-out bar is UGLY! it cant be in some sort of dropdown?
This discussion has been closed.