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

13»

Comments

  • There was an error with the smilies function. I've updatet it and now it should work
  • There's a small bug in BBInsertBar 0.1.5. The font menu inserts fonts with quotes around them, e.g.:
    [font="Times New Roman"]your text[/font]
    That will not work, but this will:
    [font=Times New Roman]your text[/font]
    To fix: in functions.js (closer to the bottom) change:
    if (wert == 'BBCode') input.value = input.value.substr(0, start) + '[font="'+ font +'"]'+ insText + '[/font]' + input.value.substr(end);
    to:
    if (wert == 'BBCode') input.value = input.value.substr(0, start) + '[font='+ font +']'+ insText + '[/font]' + input.value.substr(end);

    Also a bit still in German here (about halfway down):
    image = prompt("Input the link where the image ist hosted:", "http://www.");
    "ist" to "is"
  • edited August 2006
    It doesn't work in Safari. By "it," I mean the entire bar.
  • pbearpbear New
    edited August 2006
    Justin, check to make sure "Format comments as ()Text ()BBCode" is selected properly before you post. It's right under the add comment text field.

    Otherwise you see the bar but it just sits there.


    Edit: I'll just piggy-back on this comment to say...

    In the above-mentioned section in functions.js that removes the unnecessary double quote marks from the inserted [font] tag: the line actually appears twice in the code. I guess whatever I changed the first time was the one triggered by the button, but it seems both should be changed.
This discussion has been closed.