Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Default Buttons

Last post 01-24-2014, 12:59 PM by cbeuker. 2 replies.
Sort Posts: Previous Next
  •  01-23-2014, 5:45 PM 78819

    Default Buttons

    Greetings,

     

    I would like to have the editor start up in Full Justify mode.  Is there a way to do this so my users don't have to remember to click the full justify button before they start typing all the time?

     

    I've been looking through the documentation to see if it's a setting in the configuration file for the given item.  But I can't see anything in there that would suggest this can be done.

     

    Thanks. 

     

    cmb.. 

     
  •  01-24-2014, 7:24 AM 78822 in reply to 78819

    Re: Default Buttons

    Hi cbeuker,

     

    You can try the code below. This api will fire when editor load, and the code  editor.ExecCommand("JustifyFull"); will execute command full justify.

     

    1. <script type="text/javascript">  
    2.        function CuteEditor_OnInitialized(editor)  
    3.        {  
    4.            editor.ExecCommand("JustifyFull");  
    5.        }  
    6. </script>  
     

    Regards,

     

    Ken 

  •  01-24-2014, 12:59 PM 78828 in reply to 78822

    Re: Default Buttons

    Cool, Thanks.

     

    Seems to work on some pages and not others, but probably a problem on my side.

     

View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.