[pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible

Lukas Wagner l.wagner at proxmox.com
Wed Nov 27 11:29:30 CET 2024


On  2024-11-27 11:27, Gabriel Goller wrote:
> Just like in our `Notes` fields show a emptyText message that explains
> that markdown can be used.
> 
> Reported-by: Lukas Wagner <l.wagner at proxmox.com>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
>  src/form/TextAreaField.js | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/form/TextAreaField.js b/src/form/TextAreaField.js
> index 267b40c87d74..ed6015a9ec51 100644
> --- a/src/form/TextAreaField.js
> +++ b/src/form/TextAreaField.js
> @@ -10,6 +10,7 @@ Ext.define('Proxmox.form.field.Base64TextArea', {
>          width: 600,
>          height: 400,
>          scrollable: 'y',
> +        emptyText: 'You can use Markdown for richt text formatting.',

This should use gettext :)
Also there is a typo in 'rich' :D

-- 
- Lukas




More information about the pbs-devel mailing list