![]() |
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) 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 |
All times are GMT. The time now is 02:42 PM. |
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:
|