Auto Expand Html field on demand form

DEV 1
Tera Contributor

We are working to auto-expand the HTML field in tokyo instance to show all data present in the field.

Tried adding the variable attribute "editor.height=250

Tried by creating field style "height=100%"

Also tried updating sys property=glide.ui.html.editor.v5.enabled_plugins  To "autoresize"

Tried with getControl method still not able to AutoExpand or increase the height of the HTML field on-demand form

Is there are any restrictions for these fields which are restricting to increase the height of HTML editor?

The above methods are working fine for custom HTML fields created on the same form

Just not working for OOB fields

GaneshAher1_0-1669268544960.png

 

1 ACCEPTED SOLUTION

OliverDoesereck
Tera Guru

Hi Ganesh, 

 

we have the same issue. It seems, there are user preferences getting in the way.

We have the tinymce autoresize plugin activated too, but no other changes (field max height etc)

- Go to User Preferences

- Search for Preferences containing "tinymce_height"

- Delete them

- Clear the system cache (go to cache.do)

- Reload the whole page (or log out and in again)

 

This helped us resize the HTML Fields back to ~250px

 

View solution in original post

5 REPLIES 5

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @DEV 1 ,

Can you give a try to solution provided in snguru website:-

Automatically adjust the height of text area to fit contents 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Yes I have tried still no success

 

 

syevale111
Kilo Contributor

It is very helpful for me and for my projects AWS Course in Pune.

Regard

Seven yevale

AWS

 

OliverDoesereck
Tera Guru

Hi Ganesh, 

 

we have the same issue. It seems, there are user preferences getting in the way.

We have the tinymce autoresize plugin activated too, but no other changes (field max height etc)

- Go to User Preferences

- Search for Preferences containing "tinymce_height"

- Delete them

- Clear the system cache (go to cache.do)

- Reload the whole page (or log out and in again)

 

This helped us resize the HTML Fields back to ~250px