views:

54

answers:

1

like an "insert" menu,by which to insert an image into the editor,

using javascript,I've no idea what's the solution at all,

should be in 2 steps:

1.let user choose image(this should be doable by a "input type=file") 2.insert the chosen image into editing context(don't know how to implement)

+2  A: 

You won't be able to achieve this without uploading the image to your server, since the only reference you can have inside the text area is to a public website (i.e. not the users hard drive).

I'd recommend checking IMCE; that's what I use.

It allows the user to upload images. Together with a nice WYGIWYS editor such as TinyMCE it works like a charm.

Seb
Thanks,it helps.
Shore
But it's without any place to upload the image to,Is there any other editor that integrates uploading utility?
Shore
Oh I found it...
Shore