Cutesoft editor to Rich text editor

Last post 09-18-2012, 11:19 AM by Hlybbi. 4 replies.
Sort Posts: Previous Next
  •  09-17-2012, 12:11 PM 74662

    Cutesoft editor to Rich text editor

    i am having proplems converting my editor from using cutesoft to rich text editor

    Editor1.Setting["security:ImageGalleryPath"] = UserWorkUrl;
    Editor1.Setting["security:FlashGalleryPath"] = UserWorkUrl;
    Editor1.Setting["security:MediaGalleryPath"] = UserWorkUrl;
    Editor1.Setting["security:FilesGalleryPath"] = UserWorkUrl;
    Editor1.Setting["security:ImageBrowserPath"] = UserWorkUrl;
    Editor1.Setting["security:TemplateGalleryPath"] = UserWorkUrl;

     

    how can i do this in the new editor

     

    also where can i change the configfile for toolbaritems 

  •  09-17-2012, 12:33 PM 74663 in reply to 74662

    Re: Cutesoft editor to Rich text editor

    found this out 

    string _store = ""

    _store = UserWorkUrl;

    Editor1.SetSecurity("Gallery"

    "*""StoragePath", _store);

  •  09-18-2012, 6:22 AM 74672 in reply to 74663

    Re: Cutesoft editor to Rich text editor

    i still havent found out how i can have my custom toolbar

     

    i tried to change this file /richtexteditor/dialogs/menu_context.xml 

    i tried to change this file /richtexteditor/dialogs/menu_context_default.xml 

     

    and nothing changes 

  •  09-18-2012, 7:43 AM 74674 in reply to 74672

    Re: Cutesoft editor to Rich text editor

    Hi Hlybbi,

     

    1. You need to create your custom toolbar template first

     

    Open file "\richtexteditor\scripts\config.js", you will find the toolbar section code below. 

     

          toolbars      :      
          {
           },
     

    Add your own toolbar template in it, like

     

          toolbars      :      
          {
                "mytool": "{bold,italic,underline,justifyleft,justifycenter,justifyright}",
          },
     

    2. Set the custom toolbar for the editor 

     

      <RTE:Editor ID="Editor1" runat="server"   Toolbar="mytool" />

     

    More details please refer to http://richtexteditor.com/document/, the "Toolbar Customization" section.

     

    Regards,

     

    Ken 

  •  09-18-2012, 11:19 AM 74677 in reply to 74674

    Re: Cutesoft editor to Rich text editor

    thx
View as RSS news feed in XML