Quick links: Content - sections - sub sections

The wiki editor provides a toolbar for easy formatting of the text.

for this, MarkItUp has been integrated.

Editor Configuration

A configuration for Markitup should have a name, that will be used in the <wikieditor> element. This name is also used as prefix of parameters into the Jelix configuration in the wikieditors section.

Here is the default configuration, named default:


default.engine.name = wr3
default.wiki.rules = wr3_to_xhtml

where :

  • "default" is the name of the editor
  • default.engine.name is the name of the engine, used for the render
  • default.wiki.rules is the name of the rules transformation

You have also to specify CSS and JS files. You should use the webassets. The webassets group for wikieditor should have a name with the configuration name (here default) and a prefix jforms_wikieditor_. The default web assets are:


; path to markitup files

; path to translation files

; path to a skin for MarkitUp

; dependency of markitup: the webassets group named "jquery"

You could use anoter "set" supported by MarkitUp, such as markdown. You have to create an other configuration, or to modify the default one. We could named it "md", and use the CSS and JS file of this "set".

md.engine.name = markdown
md.wiki.rules = md_to_xhtml



(rules md_to_xhtml for Wikirenderer do not exist, you should create them).

Configuration into jForms

So to add a wiki editor to a form, we will write in the *.form.xml file:

<wikieditor ref="message" config="default" required="true">


  • ref is the name of the textarea, here message
  • config is the config name used in the file mainconfig.ini.php
  • required if you want this textarea is mandatory