Code snippet Dropdown - Command 'Codes' Is Not Supported Or Not Implemented

Last post 08-26-2010, 9:25 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  08-25-2010, 12:50 PM 63615

    Code snippet Dropdown - Command 'Codes' Is Not Supported Or Not Implemented

    I am using the following code in my ASP page:
     
    Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"
       editor.Text = Content
       editor.FilesPath = "CuteEditor_Files"
       editor.EditorBodyStyle = "font:normal 12px arial;"
       editor.EditorWysiwygModeCss = "asp.css"
       editor.ImageGalleryPath = ImagePath & UserID
       editor.FlashGalleryPath = ImagePath & UserID
       editor.MediaGalleryPath = ImagePath & UserID
       editor.FilesGalleryPath = ImagePath & UserID
       editor.TemplateGalleryPath = TemplatePath & UserID
       editor.SecurityPolicyFile = "default.config"
       editor.MaxImageSize = 1000
       editor.Width = 800
       editor.TemplateItemList = "FontName, FontSize, Codes, Bold, Italic, Underline, StrikeThrough, ForeColor, BackColor, Justify, JustifyLeft, JustifyCenter, JustifyRight, JustifyFull, JustifyNone, Indent, Outdent, Superscript, Subscript, RemoveFormat, Spelling, InsertHorizontalRule, InsertLink, Unlink, InsertImage"

       editor.Draw()
     
     
    When ever I click on one of the items in the dropdown list I get the following alert: Command 'Codes' Is Not Supported Or Not Implemented
     
    Please help!
  •  08-26-2010, 9:25 AM 63637 in reply to 63615

    Re: Code snippet Dropdown - Command 'Codes' Is Not Supported Or Not Implemented

    Please open "cuteeditor_files\Configuration\AutoConfigure\Full.config", search:
        <item type="dropdown" name="Codes" width="90" RenderItemBorder="true" text="[[Codes]]" />
    change it to: 
        <item type="dropdown" name="Codes" width="90" RenderItemBorder="true" text="[[Codes]]" command="PasteHTML"/>
     
    Regards,
    Eric
View as RSS news feed in XML