FrancisKatja wrote:Would anybody be able to help me create a bbcode for the HTML arrows? I want it to work as such:
When somebody types -->
Then I want the html arrow to show up: → is the html code, → is the name. How do I go about this?
As Lumpy said, BBCodes don't dynamically replace things as they're typed. However, you technically don't have
to click a BBCode button; you can type the BBCode in directly.
You can create a BBCode to display an arrow as shown below:
Using that will require more typing than "-->", though.
I wouldn't recommend it, though, because if somebody was entering HTML or XML code and used a comment (
<!-- Comment -->
), the replacement would break the comment and therefore cause the code be wrong.