- Description:
- add elements to edit forms for editing the given wikitext
- DefaultAction:
- a plain textarea is added to the edit form
- Preventable:
- yes
- Added:
- 2010-01-19
This event is signaled by html_edit() in inc/html.php when an edit form is shown, handlers can use it to provide own edit forms for special content. The whole form can be changed in HTML_EDITFORM_OUTPUT.
$data['wr']: Whether the page is writable
$data['form']: The Doku_Form object for the edit form
$data['media_manager']: Whether the no-JavaScript fallback media manager link should be shown
$data['intro_locale']: The locale name of the intro page; Unset this for hiding the intro text
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.