Re: The New Rich Text Editor

  •  09-17-2012, 7:33 AM

    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 Complete Thread