Welcome Guest Search | Active Topics | Sign In | Register

Execommand HTML Editor Options
Intsoft
Posted: Wednesday, September 2, 2009 5:47:27 AM
Rank: Newbie
Groups: Member

Joined: 9/15/2008
Posts: 3
Hi,
there is no documentation about arguments for ExecCommand methos available in HTML editor ?
A little bit difficult because command don't send error.
I want to add a link in editor in javascript like this :

eo_GetContainer(document.getElementById('<%=Editor1.ClientID %>'), 'Editor').execCommand('InsertOrEditLink');

Any idea ?
Thanks
Steph
eo_support
Posted: Wednesday, September 2, 2009 12:06:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

InsertOrEditLink is directly tied to the "Insert Or Edit Link" dialog. To insert generic HTML into the editor, you can use "InsertHTML". Here is an example of how to use "InsertHTML":

http://doc.essentialobjects.com/library/1/jsdoc.public.editor.execcommand.aspx

Here is a list of all commands:

http://doc.essentialobjects.com/library/1/editor/commands.aspx

Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.