backdrop-contrib / tinymce

Integration for the TinyMCE editor in Backdrop CMS
https://backdropcms.org/project/tinymce
GNU General Public License v2.0
2 stars 1 forks source link

Field Size (rows) not working with Tiny MCE #77

Closed stpaultim closed 7 months ago

stpaultim commented 8 months ago

With TinyMCE enabled and used as the text format the body field is smaller than it should be and changing the size of the text field in the field settings has no effect.


Steps to recreate:

  1. Create a new Backdrop Site
  2. Add a page and note the size of the body field

image

  1. Enable TinyMCE and make it the default text editor for the BASIC text format. Then try to Add a Page again.

image

  1. Then go to the Page content type and edit the body field settings to increase the size of the row. Change from 10 to 20. image

  2. Now try to create a new page again and notice the text field has not gotten any bigger.

image

indigoxela commented 8 months ago

It doesn't work that way with WYSIWYGs. (Also not for CKE, BTW)

To control the height, use the corresponding dimension settings in a custom profile:

https://www.tiny.cloud/docs/tinymce/latest/editor-size-options/

By default, the autoresize plugin's enabled, so the editor starts small and grows with its contents. But you can also turn that off and configure (to detail) in your editor profile. Not via builder, though (too many options, would bloat the admin form).