htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0 - Add-Ons: Re: [mbourque] "Image Manager"-like file manager: Edit Log



taurentius
Novice

Apr 12, 2003, 8:20 AM


Views: 11927
Re: [mbourque] "Image Manager"-like file manager

Remember that this is code for htmlArea 2.x, not 3.0a. It should work if you put the code in the function editor_action in editor.js. I put the code below the part where "insertlink" is handled.

Also, don't forget to add the button and the button-producing code:

Code
 "linktofile": ['linktofile', 'Link to a File', 'editor_action(this.id)', 'ed_linktofile.gif'],

further up in the file. (I attached an icon you can use :P)

What might be causing an error is that I assume that a window name "editdoc" has already been defined. You can change that into 'insertlinkdialog' or something else.

Let me know if it works.

--t


(This post was edited by taurentius on Apr 12, 2003, 8:21 AM)
Attachments: ed_linktofile.gif (0.91 KB)


Edit Log:
Post edited by taurentius (Novice) on Apr 12, 2003, 8:21 AM


Search for (options)