MIGX
MIGX copied to clipboard
Textareas not rendering properly after update
Textareas were not displaying correctly after update to migx 3.0.2 and modx 3.04, the problem seems to be with the ckeditor.tpl
- the height style was spelled wrong with no units
- the rtf-ckedior class does not seem to exist
- had to update the tpl with some custom inline styles to fix.
before:
<textarea id="tv{$tv->id}" style="heigth:200;" name="tv{$tv->id}" class="rtf-ckeditor tv{$tv->id}" {literal}onchange="MODx.fireResourceFormChange();"{/literal}>{$tv->get('value')|escape}</textarea>
After
<textarea id="tv{$tv->id}" style="height:200px;resize:both;width:99%;" name="tv{$tv->id}" class="rtf-ckeditor tv{$tv->id}" {literal}onchange="MODx.fireResourceFormChange();"{/literal}>{$tv->get('value')|escape}</textarea>