mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-28 02:24:48 +00:00
Minor documentation example fix; bold and italic should be spelled out explicitly. (#3779)
This commit is contained in:
parent
b0aedf02dc
commit
8d08f83c5a
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ This can be achieved by passing a ``features`` keyword argument to ``RichTextFie
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
body = RichTextField(features=['h2', 'h3', 'b', 'i', 'link'])
|
||||
body = RichTextField(features=['h2', 'h3', 'bold', 'italic', 'link'])
|
||||
|
||||
The recognised feature identifiers are as follows (note that add-on modules may add to this list):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue