How to Initially load content in HTML Mode?

2 posts, 0 answers
  1. kensley
    kensley avatar
    1 posts
    Member since:
    Oct 2012

    Posted 31 Jul 2013 Link to this post

    I have the Telerik RadEditor  editor configured as a web part within my SharePoint 2010 Enterprise environment.  When I edit a specific content section on my SharePoint page from the ribbon, and go to into the Telerik RadEditor, it automatically opens the content view in Design mode. I would it to initially open the content in HTML mode, rather than Design mode.  Is this possible? If so how?

    Thanks!
  2. A2H
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 31 Jul 2013 Link to this post

    Hello,

    Please try the below implementation

    1) Hook on to the ClientLoad of RadEditor
    OnClientLoad="OnClientLoad"

    2) Add the javascript method on client load 

    function OnClientLoad(editor, args) {
             editor.set_mode(2);
         }

    Please refer this link for reference

    Thanks,
    A2H

Back to Top