file uploader

Nov 2, 2009 at 12:09 PM


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


Nov 5, 2009 at 12: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.