Support forums
in

The New Rich Text Editor

Last post 09-17-2012, 7:33 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-17-2012, 7:02 AM 74656

    The New Rich Text Editor

    Hi,

     

    Just begining to work with the new RTE and have a few questions as there seems to be a lack of documentation.

     

    1) How do I set the max file upload to be different for Image and Files?

    2) How do you set the old 'EditorWysiwygModeCss' so that I can appy a CSS sheet to the text that you are editing 

    3) How do I change the default directory 'richtexteditor'

    4) How to you set MaintainAspectRatioWhenDraggingImage

    5) What now happening with the 'EmptyAlternateText'

     

    Great work on the software much improved.

     

    Daniel 

  •  09-17-2012, 7:33 AM 74657 in reply to 74656

    Re: The New Rich Text Editor

    Hi,

     

    1) How do I set the max file upload to be different for Image and Files?

     

    Please open file "richtexteditor\config\default.config", you can set the "MaxFileSize" for the special "dialog" under its own section.

     

    <category for="Document">
    <security name="MaxFileSize">2048</security><!-- This setting applies "Document
    " dialog only.-->
    
    </category>
    
    <category for="Gallery,Image">
    <security name="MaxFileSize">300</security><!-- This setting applies "Gallery","Image" dialogs only.-->
    
    </category>

    2) How do you set the old 'EditorWysiwygModeCss' so that I can appy a CSS sheet to the text that you are editing 

     

    Use new property "ContentCss"

     

     <RTE:Editor ID="Editor1" runat="server" ContentCss="~/example.css"/>


    3) How do I change the default directory 'richtexteditor'

     

    Please set it like the code below. This property has a small problem in the control target, so please set it at code-behind.

     

      protected override void OnInit(EventArgs e)
        {
            Editor1.ClientFolder = Editor1.ProcessWebPath("~/myfolder/");
            base.OnInit(e);
        }


    4) How to you set MaintainAspectRatioWhenDraggingImage

     

    The new version has not this property for now,we will add it soon.


    5) What now happening with the 'EmptyAlternateText'
     

    The new version has not this property for now,we will add it soon.

     

    Regards,

     

    Ken 

View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems