Forum closed. New forum available at http://community.wymeditor.org/

Images and inserting at caret

Discuss features, code, contributions, ideas, suggestions, ...
For bugs, patches and feature requests, please post on the Trac:
http://trac.wymeditor.org/

Images and inserting at caret

Postby alistairholt on Mon May 05, 2008 6:31 pm

I'm developing a CMS and have got a 'bucket' feature as seen in Mephisto which allows me to store asset details (basically the path to the asset) between pages so that they can be inserted into an article body for example. I've got some jQuery code to insert strings at caret which is perfect.

The only thing holding me back are that I don't know how easy it will be to change WYMEditor's behaviour with regard to images. I'd like to abandon the way it currently works (dialog to enter image details) and instead use my insertAtCaret function. Anyone how easy/difficult this would be?

Thanks
alistairholt
 
Posts: 1
Joined: Mon May 05, 2008 6:22 pm

Re: Images and inserting at caret

Postby jfh on Wed May 14, 2008 8:35 pm

Isn't wym.paste() useful for you?
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium


Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests