![]() |
bbcode custom callbacks and WYSIWYG Editor
I have a couple of small plugins that utilize custom bbcodes to provide extended functionality to their vbb installaions.
One such example is a tag, item, that creates a mouse over URL link in a post. I have a plugin that hooks bbcode_create that contains PHP Code:
handle_bbcode_wowhead returns a formated URL HTML Code:
<a class="q4" style="text-decoration: none; font-weight: bold;" href="http://www.wowhead.com/?item=28585" target="_blank">[Ruby Slippers]</a> The problem is that if you add an Item tag in the WYSIWYG editor (or the standard editor), and you edit the post using the WYSIWYG editor, the item tag is changed to a URL tag. Has anyone found a reliable way to fix this problem ? |
All times are GMT. The time now is 11:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|