Setting editor height/width and bottom button visibility within CommunityServer integration?

Last post 05-31-2007, 3:22 PM by lisahakesley. 2 replies.
Sort Posts: Previous Next
  •  05-31-2007, 1:31 PM 30279

    Setting editor height/width and bottom button visibility within CommunityServer integration?

    Hello,
     
    Our web application is integrated with CommunityServer, and we also use a rich text editor elsewhere in the application.  We'd like to convert to using CuteSoft everywhere.  I have downloaded the CuteSoft editor and also followed the integration with CS procedure, and things are running well.
     
    However, the UI for our application restricts the width of the page, and I need to somehow limit the width of the CuteSoft editor when it is generated into the CommunityServer pages.  I think there is a wrapper that generates the code for the CuteSoft editor into the CS pages, so I don't think I have direct control of setting the attributes. 
     
    I have tried restricting the toolbar buttons, which works fine, but the width of the editor still pushes out our page width and destroys the layout (circled header areas in the image below).
     
    Also, how can I set ShowBottomBar, ShowDecreaseButton and ShowEnlargeButton to false in this case?
     
    Thank you for your help!
     
  •  05-31-2007, 2:28 PM 30283 in reply to 30279

    Re: Setting editor height/width and bottom button visibility within CommunityServer integration?

    lisahakesley,
     
    For the width issue, please download the control again.
     
     
    Or follow the steps below:
     
    1. Open CuteEditorWraper.cs of the wrapper project and change the following code:
     
     //     base.Width = value;
     
    to:
     
            base.Width = value;
     
    2. Recompile the project and copy the new wrapper DLL to the project bin folder.
     
    >>Also, how can I set ShowBottomBar, ShowDecreaseButton and ShowEnlargeButton to false in this case?
     
    Edit your communityserver.config and locate the "editors" section.
     
    <editorOption name="ShowBottomBar" value="false" />
     
    Hope it helps.
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-31-2007, 3:22 PM 30286 in reply to 30283

    Re: Setting editor height/width and bottom button visibility within CommunityServer integration?

    Thank you very much Adam!
     
    I am currently stuck on CS version 2.0, which doesn't have an editors section in the config file, but by changing the wrapper, I was able to accomplish everything I needed to do.
     
    Thank you very much for your prompt help!
     
    Lisa Hakesley
     
     
View as RSS news feed in XML