cancel
Showing results for 
Search instead for 
Did you mean: 

how to set multile for a text field in backoffice editor?

Former Member
0 Kudos

Hi,

I wanted to set a localized text field as multi line and I wanted to set the width and hight for the localized attribute.

Please let me know what configuration I need to do?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member632755
Active Contributor
0 Kudos

Hi,

I don't have many detils but the first advice is to use the WYSIWYG editor.

Cheers, Wojtek

Former Member
0 Kudos

but it should be possible to do the same for text that must not be formatted (multi-line plain text input fields)

former_member632755
Active Contributor
0 Kudos

Hi,

in this case I would use the Default text editor (described here) configured to display many rows (maybe with base64 for allowing xml-content; mind the xss risk if you consume the data as it is). The nested editors might be configured like:

 editor="com.hybris.cockpitng.editor.localized(com.hybris.cockpitng.editor.defaulttext)"

short notation of

 editor="Localized(com.hybris.cockpitng.editor.defaulttext)"

should also work.

Cheers, Wojtek