Summary
The height parameter of a Joomla editor form field is ignored when the editor is used inside a repeatable subform field.
The same editor configuration works correctly in regular Joomla forms (for example article editing), but not inside a module parameter subform.
Example
This issue can be reproduced with a module using a subform field:
Main module XML:
<field
name="items"
type="subform"
formsource="/modules/example/forms/item.xml"
multiple="true"
/>Subform XML (item.xml):
<field
name="content"
type="editor"
label="Content"
width="100%"
height="400"
filter="raw"
/>subform field.type="editor") inside the subform XML.height="400"The TinyMCE editor should initialize with the configured height.
The editor should respect:
height="400"The editor ignores the configured height and opens with a very small editing area.
The resize handle has to be dragged manually to make the editor usable.
subform.height value in the XML has no effect.The issue was observed in the Joomlaplates mod_uk_slideshow module.
The subform contains:
<field
name="content"
type="editor"
label="MOD_UK_SLIDESHOW_FORM_CONTENT"
width="100%"
height="200"
filter="raw"
showon="cols!:0"
/>The generated TinyMCE instance does not respect this height value.
The editor configuration values may not be passed correctly during TinyMCE initialization inside dynamically generated subform fields.
The initialization timing could also be related to the repeatable subform behavior, because the editor elements are created dynamically.
Verify whether editor field parameters such as:
heightrowsare correctly transferred to the TinyMCE initialization when the editor is inside a subform field.
6.1
No response
No response
No response
No response
| Labels |
Added:
bug
|
||
| Labels |
Added:
No Code Attached Yet
|
||