Skip to content
Snippets Groups Projects
Commit 7f48f4d5 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

Merge branch 'richtext-widget' into 'dev'

rich text widget documentation

See merge request documentation/doc!17
parents 096fd462 4019695d
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,7 @@ A widget is built like this. ...@@ -37,6 +37,7 @@ A widget is built like this.
- ``text``: set ``value`` in an ``<input>`` of type ``text`` - ``text``: set ``value`` in an ``<input>`` of type ``text``
- ``textarea``: set ``value`` in a ``<textarea>`` - ``textarea``: set ``value`` in a ``<textarea>``
- ``richtext``: set ``value`` in an ``<div>`` and initialize a light rich text editor by using ``Quill``.
- ``checkbox``: create a checkbox, which is checked if ``value == true`` - ``checkbox``: create a checkbox, which is checked if ``value == true``
- ``date``: set ``value`` in an ``<input>`` of type ``date`` - ``date``: set ``value`` in an ``<input>`` of type ``date``
- ``rangedate``: set 2 values in 2 ``<input>`` of type ``date``. Used for filtering with min and max. - ``rangedate``: set 2 values in 2 ``<input>`` of type ``date``. Used for filtering with min and max.
...@@ -81,4 +82,4 @@ A widget is built like this. ...@@ -81,4 +82,4 @@ A widget is built like this.
- ``date``: transforms the value in a date, in the browser’s default locale format. - ``date``: transforms the value in a date, in the browser’s default locale format.
- ``datetime``: transforms the value in a date and time, in the browser’s default locale format. - ``datetime``: transforms the value in a date and time, in the browser’s default locale format.
- ``multiline``: Shows a value on multiple lines (replace ``\n`` by ``<br>``) - ``multiline``: Shows a value on multiple lines (replace ``\n`` by ``<br>``)
- ``markdown``: Takes markdown code and displays formatted text. Works only with a display template (value, div, link).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment