The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need some help modifying the WYSIWYG editor
i'm looking for a way to add a function to the WYSIWYG editor that will add text to the WYSIWYG area.
if i want to just add a picture i can user this function: (i add this function at the eng of vbulletin_wysiwyg.js) Code:
function add_image(imgurl) { do_format("insertimage", false, imgurl); } HTML Code:
<a href="#" onclick="add_text('this is the text i want to add');">click to add text</a> maby i need to change the "insertimage" to something else... ? well, i need to insert only images and links (maby it helps someone...), but i also tried the "creatlink" and i had to select some text in the WYSIWYG edit for that to work. Thanks, Dekel |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|