Multiple instances of trhe editor within a page

Last post 06-12-2009, 1:37 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-12-2009, 1:13 PM 53084

    Multiple instances of trhe editor within a page

    I noticed a write up on performance with multiple editors on a page but now  I can't seem to find it, can you please point me in the right direction and let me know where to look
  •  06-12-2009, 1:37 PM 53089 in reply to 53084

    Re: Multiple instances of trhe editor within a page

    1. <?php   
    2.              $editor=new CuteEditor();   
    3.              $editor->ID="Editor1";   
    4.              $editor->Text="<p><span style='color:#cc0000;'><b>This paragraph will be edited by the first instance...</b> </span></p>";   
    5.              $editor->EditorBodyStyle="font:normal 12px arial;";   
    6.              $editor->EditorWysiwygModeCss="example.css";   
    7.     $editor->AutoConfigure = "Simple";   
    8.              $editor->ThemeType="Office2003";   
    9.              $editor->FilesPath="CuteEditor_Files";   
    10.              $editor->Height="150px";   
    11.              $editor->Draw();   
    12.              $editor=null;   
    13.                 
    14.              echo "<br /><br />";                   
    15.                 
    16.              $editor=new CuteEditor();   
    17.              $editor->ID="Editor2";   
    18.              $editor->subsequent=true;   
    19.              $editor->Text="<p><span style='color:#008000;'><b>This paragraph will be edited by the second instance...</b> </span></p>";   
    20.              $editor->EditorBodyStyle="font:normal 12px arial;";   
    21.              $editor->EditorWysiwygModeCss="example.css";   
    22.              $editor->AutoConfigure="Minimal";   
    23.              $editor->FilesPath="CuteEditor_Files";   
    24.              $editor->ShowBottomBar=false;   
    25.              $editor->Height="150px";   
    26.              $editor->Draw();   
    27.              $editor=null;   
    28.                 
    29.              //use $_POST["Editor1"]to catch the data    
    30.          ?>  

    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

View as RSS news feed in XML