Hooks: BeforeExecuteCommand

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

The BeforeExecuteCommand event handler should accept two arguments:

protected void MyEventHandler( object sender, CKFinder.Connector.CKFinderEventArgs args )

The CKFinderEventArgs object contains in CKFinderEventArgs.data:

  • CKFinderEventArgs.data[0] - a command name

Since

2.0.

Used by

  • fileeditor plugin
  • imageresize plugin
This page was last edited on 25 May 2010, at 15:15.