Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Browse by Tags

All Tags » javascript » webhtmleditor (RSS)
  • Re: How to clear WebHtmlEditor editor content using javascript

    It's actually oEditor.setText(""); var oEditor = iged_getById(editorId); if(oEditor) oEditor.setText(""); //set it to nothing The iged_getById function must be set by the WebHtmlEditor when it renders. I'm not sure on the details there but it seems to be global to the page...
    Posted to Forum by dirq on 01-30-2008
  • Re: Force relative path when inserting image

    Oh, I just figured out a way to filter out the HTML on paste (from the ctrl-v combination keyboard event, from the menu button and from the right-click menu). I posted that solution here: http://forums.infragistics.com/forums/p/2428/15702.aspx#15702
    Posted to Forum by dirq on 01-30-2008
  • Re: Remove specified tags from markup

    I got it working with a bit of JavaScript trickery. With the below JavaScript code you can filter the HTML from cut + paste commands (from the editor button, right-click menu, or ctrl-v). It uses regular expressions on the client side to remove whole tags while keeping the contents, removing Word class...
    Posted to Forum by dirq on 01-30-2008
  • Re: Force relative path when inserting image

    Here is the code, partially given to me by Infragistics support, that creates a client side script for the AfterAction event. Using this you can determine if the action was an image insert and adjust the rendered html accordingly to remove the base of the url from the string to make the image path relative...
    Posted to Forum by dirq on 01-30-2008
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems