From da8753d4700533b2e80a75c0657ef5a0364b0a72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 8 Nov 2021 09:45:32 +0100 Subject: [PATCH] Fix rendering of admonition box in php/api/form_builder/form_fields --- docs/php/api/form_builder/form_fields.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/php/api/form_builder/form_fields.md b/docs/php/api/form_builder/form_fields.md index 62c38fba..d966b557 100644 --- a/docs/php/api/form_builder/form_fields.md +++ b/docs/php/api/form_builder/form_fields.md @@ -428,8 +428,9 @@ The following methods are specific to this form field class: - `lastEditTime($lastEditTime)` and `getLastEditTime()` can be used to set the last time the contents have been edited and saved so that the JavaScript can determine if the contents stored in the browser are older or newer. `0` signals that no last edit time has been set. - `supportAttachments($supportAttachments)` and `supportsAttachments()` can be used to set and check if the form field supports attachments. - - !!! warning "It is not sufficient to simply signal attachment support via these methods for attachments to work. These methods are relevant internally to signal the Javascript code that the editor supports attachments. Actual attachment support is provided by `WysiwygAttachmentFormField`." + + !!! warning "It is not sufficient to simply signal attachment support via these methods for attachments to work. These methods are relevant internally to signal the Javascript code that the editor supports attachments. Actual attachment support is provided by `WysiwygAttachmentFormField`." + - `supportMentions($supportMentions)` and `supportsMentions()` can be used to set and check if the form field supports mentions of other users. `WysiwygFormField` objects register a [custom form field data processor](validation_data.md#customformfielddataprocessor) to add the relevant simple ACL data array into the `$parameters` array directly using the object property as the array key. -- 2.20.1