Could not find command Xxxx. Please update your command list

2 posts, 0 answers
  1. RickardLofberg
    RickardLofberg avatar
    2 posts
    Member since:
    Jul 2007

    Posted 27 Feb 2008 Link to this post

    Hi,

    I have upgraded my MOSS RadEditor to latest version.
    I downloaded the "RadEditor_MOSS_4_5_0_dev.zip" from the Client.net area.

    I retracted the old solution and deployed the new WSP package.
    Now that I try to run my custom command I get this error message:
    Could not find command CSWIKITOC. Please update your command list.

    My listtoolsfile.xml has this tool configured in the <Tools> section:

    <tool name="CSWIKITOC" ShowIcon="false" ShowText="true"/>


    My javascript, which is loaded on the page, has the following function:

    RadEditorCommandList["CSWIKITOC"] = function(commandName, editor, oTool)
    {
       editor.PasteHtml('<div id="CS_WIKITOC">TOC will go here</div>');
    }

    This was all working before the upgrade.
    Any idea what might cause this?

    Also, I know I'm running the full featured editor because the Ajax spell checking is working in the editor.

    Best Regards,
    Rickard Lofberg

  2. RickardLofberg
    RickardLofberg avatar
    2 posts
    Member since:
    Jul 2007

    Posted 29 Feb 2008 Link to this post

    This issue has now been resolved.
    It started working again.
    Unfortunately I do not know why it started working.

    Cheers,
    Rickard

Back to Top