YAFLogo

lougaming
  • lougaming
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Okay, what should I put in the onClick Javascript area for a new BBCode to get it to wrap the tags around the currently selected text. I would like it to function like it does when they click on the B icon for making text bold or like it does for the BBCodes here. On my installation, the Bold button works as desired, but the BBCode entries simply stick it on the end and ignore whatever text I have highlighted.
Sponsor

YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button