file uploader

Nov 2, 2009 at 1:09 PM

hi,

Is there an option to add a file uploader in jHtmlArea ?

thanks

Nov 5, 2009 at 1:18 PM

no, you have to build a custom button

in the toolbar insert a button like this:

{
                css: "custom_fileUpload_button",
                text: "Upload file",
                action: function(btn)
                {
                           // your uploadFile() function
                   }
},

 

then, add an icon into the jhtmlarea png, and then copy the css of another button but put in the coordinates of the new icon.