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
This discussion has been closed.
Comments
[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"
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.