Auto-Align Images uploaded

2 posts, 0 answers
  1. Jason Brownhill
    Jason Brownhill avatar
    55 posts
    Member since:
    Jun 2009

    Posted 19 Jul 2010 Link to this post

    Hi Stanimir,
     Can you tell me if it's possible to configure the editor so that any images added to the page are set with left aligned? It looks as though when an image is loaded into the page that the 'Remove Alignment' option is selected.

  2. Stanimir
    Stanimir avatar
    1653 posts

    Posted 19 Jul 2010 Link to this post

    Hello Jason,

    Review the example in  the following online help article

    When it comes to RadEditor for MOSS you can set the OnClientPasteHtml property in the respective ConfigFile.xml or ListConfigFile.xml:
    <property name="OnClientPasteHtml">OnClientPasteHtml</property>

    You can add the OnClientPasteHtml javascript method in the MOSSEditorTools.js file, which is located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.
    function OnClientPasteHtml(sender, args)

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Back to Top