BreakElement property of CE

  •  02-14-2007, 10:00 AM

    BreakElement property of CE

    I am trying to set the BreakElement property of the editor to 'p', so that when the enter key is pressed, paragraph tags are inserted.

    This is my code to create an instance of the editor:
           
    Dim editor
    Set editor = New CuteEditor
    editor.ID = "Editor1"
    editor.Text = content
    editor.BreakElement = "p"
    editor.FilesPath = "CuteEditor_Files"
    editor.EditorBodyStyle = "font:normal 12px arial;"
    editor.EditorWysiwygModeCss = "asp.css"
    editor.ConfigurationPath = "CuteEditor_Files/Configuration/AutoConfigure/Standard.config"
    editor.Draw()

    However, this doesn't seem to work.  When enter is clicked in the editor, <br> tags are inserted not paragraph tags.

    Has anybody else had the same problem?  If so did you manage to resolve it?

View Complete Thread