Displaying 2 results from an estimated 2 matches for "replacetextarea".
2007 Sep 28
1
evalJSON problem
...ea id=''MyTextarea'' name=''MyTextarea''>
$txtareacontent</textarea>\\n";
header("Content-type: text/javascript");
$jsaction= "var oFCKeditor = new FCKeditor(''MyTextarea'');\\n";
$jsaction.= "oFCKeditor.ReplaceTextarea();\\n";
echo "{mytextarea: $textarea, jsaction: $jsaction}";
now the problem is that i dunno what user enters in the editor, and
i''ve got problems handling characters that may conflict with the JSON
request ( like " \ \n etc) what can i do ? i tried $H ... no use. t...
2006 Mar 11
2
Customising FCKeditor
I would like to customise my FCKeditor-instance so that when the "add
image" button is pressed, it opens my own add_image popup.
In this popup i would handle the image upload/image browser/etc. tasks
with rails.
How can I open the popup and pass the picture information from there
back to FCKeditor''s textarea?
--
Posted via http://www.ruby-forum.com/.