DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:html_edit_formselection

HTML_EDIT_FORMSELECTION

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.

Passed Data

  • $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

See also

devel/event/html_edit_formselection.txt · Last modified: 2018-12-08 15:25 by torpedo