The insert event uses a JS function on the body page (I think insertHTML).
I've added this to other types so that urls can be 'insert'ed for a
completely different purpose. There is no reason you couldn't redefine this
function in a JS script tag after the richTextEditor widgit inserts it. But
keep in mind that what you can do will be entirely dependent on the editor
itself. You can only do what the editor you're using supports.

The insert function is customized for each supported editor. So it's
possible, even likely, that the problem you're talking about is a direct
result of limitations in the editor.

Blair

On 12/6/06, elAdi <[EMAIL PROTECTED]> wrote:
>
>
> I'd like to extend this, as we're having an issue concerning inserting
> links.
>
> We're using tinyMCE as the WYSIWYG editor. When the contributor inserts
> a link from the tree (right click - insert), the position within the
> editor is lost and the link is added at the top of the body. We have a
> fairly big site and many different contributors and this is a nuisance
> to some of less fluent users.
>
> Has anyone an idea or solution on how I can make sure that the link is
> inserted at the position where the cursor was at the moment when the
> user uses the tree to insert a link.
>
>
> >
>


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to