Quote:
Originally Posted by Mr Chad
hmm it seems it doesn't work when you change it into normal text edit from WYSIWYG. So it only works in WYSIWYG, i'm sure theres a second place to put the JS edit for it to work in both, i just don't know it yet.
|
In the same javascript file, but before this (actually, works in many places around that part of the JS):
Quote:
/**
* Insert Image
*
* @param event Event object
* @param string (Optional) Image URL
*
* @return boolean
*/
|
That's all. In that way works in the normal editor.