smaaza
  • Posts: 24
  • Joined: 28/11/2008
CuteEditor 6.3:

it's 14.5MB Zip file i couldn't Attache it .zip. it said too big file.

Anyway :

if you Want To Download it Click Here  




it's Very easy to integrate with .net.

Cute Editor for ASP.NET is the most powerful WYSIWYG (What You See Is What You Get) browser-based Online HTML Editor for ASP.NET.



I added the Name of the editor in [color=red]ForumEditor.cs

I Followed this steps to Integrate CuteEditor with YetAnotherForum

1. Put all dll file into the bin folder of My website.

2. Put CuteSoft_Client CuteEditor folder to the YetAnotherForum Folder.

3. Open file 'ForumEditor.cs' of My site Add The CuteEditor Class And Change Some Values:

you have to add some code to the ForumEditor.cs file :


 
🅱  public enum EditorType
  {
   etText = 0,
   etBBCode = 1,
   etFCKv2 = 2,
   etFreeTextBox = 3,
   etFCKv1 = 4,
   etBasicBBCode = 5,
   etFreeTextBoxv3 = 6,
   cuteEditor=7
  }
 
 
  public static string [] EditorTypeText =
  {
            "Text Editor",
            "BBCode Editor",
            "FCK Editor v2 (HTML)",
            "FreeTextBox v2 (HTML)",
            "FCK Editor v1.6 (HTML)",
            "Basic BBCode Editor",
            "FreeTextBox v3 (HTML)",
            "CuteEditor v6.3 (HTML)"
  }

  'public static int EditorCount = 7;' change to 8


public static int EditorCount = 8;' 
 
 
public static ForumEditor CreateEditorFromType( EditorType etValue )
  {
   switch ( etValue )
   {
    case EditorType.etText: return new TextEditor();
    case EditorType.etBBCode: return new BBCodeEditor();
    case EditorType.etFCKv2: return new FCKEditorV2();
    case EditorType.etFreeTextBox: return new FreeTextBoxEditor();
    case EditorType.etFCKv1: return new FCKEditorV1();
    case EditorType.etBasicBBCode: return new BasicBBCodeEditor();
    case EditorType.etFreeTextBoxv3: return new FreeTextBoxEditorv3();
    case EditorType.cuteEditor: return new CuteEditor1();
                 
   }
   return null;
  }
 
 
   public class CuteEditor1 : RichClassEditor, INamingContainer
        {

            CuteEditor.Editor _editor = new CuteEditor.Editor();

            public CuteEditor1()
            {
                _editor.ID = "CE";
                this.Controls.Add(_editor);
            }

            public override string Text
            {
                get
                {
                    return _editor.Text;
                }
                set
                {
                    _editor.Text = value;
                }
            }


        }[/b]





4.Build the solution.

5.Build Succeded.





CuteEditor: v6.3 Working Fine With YAF

that is all.

Sponsor
RichP714
  • Posts: 262
  • Joined: 20/01/2009
How can cuteeditor be implemented with 1.9.4? there is no ForumEditor.cs
Enjoy!

Running YAF 1.9.5.5 final at: http://thecarversite.com 
RichP714
  • Posts: 262
  • Joined: 20/01/2009
solution for 1.9.4 is here:
http://cutesoft.net/forums/2/49786/ShowThread.aspx 

Enjoy!

Running YAF 1.9.5.5 final at: http://thecarversite.com 
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved