Quote from: Bruno17 at Sep 16, 2015, 06:43 PMAre you talking about a normal richtext-TV or about a richtext-field within MIGX?
A normal richtext-tv that is rendered in a MIGX template.
MODX Version: 2.4.0-pl
MIGX Version: 2.9.4
TinymceWrapper Version: 2.1.1.beta1
Template variable is called services.
TV: services
Input Type: migx
Form Tabs:
[
{"caption":"CTAs", "fields": [
{"field":"faicon","caption":"Icon","inputTV":"faicon"},
{"field":"heading","caption":"Heading","inputTV":"heading"},
{"field":"richcopy","caption":"Copy","inputTV":"richcopy"},
{"field":"link","caption":"Link","inputTV":"link"},
{"field":"urltarget","caption":"Link Target","inputTV":"urltarget"}
]}
]
Grid Columns:
[
{"header": "Icon", "width": "500", "sortable": "false", "dataIndex": "faicon"},
{"header": "Heading", "width": "500", "sortable": "false", "dataIndex": "heading"},
{"header": "Copy", "width": "500", "sortable": "false", "dataIndex": "richcopy"},
{"header": "Link", "width": "500", "sortable": "false", "dataIndex": "link"},
{"header": "Target", "width": "500", "sortable": "false", "dataIndex": "urltarget"}
]
TV: richcopy
Input Type: richtext
MIGX Code:
[[!getImageList?
&tvname=`services`
&tpl=`servicesTPL`
&docid=`[[++services_id]]`
&limit=`[[#[[++global_page_id]].tv.ctacolumns:is=`3`:then=`4`:else=`3`]]`
&placeholdersKeyField=`idx`
]]
MIGX Template Code for: servicesTPL
<div class="col-md-[[#[[++global_page_id]].tv.ctacolumns]]">
<span class="fa-stack fa-4x">
[[+link:notempty=`<a href="[[~[[+link]]]]" target="[[+urltarget]]">`]]<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-[[+faicon]] fa-stack-1x fa-inverse"></i>[[+link:notempty=`</a>`]]
</span>
<h4 class="service-heading">[[+link:notempty=`<a href="[[~[[+link]]]]" target="[[+urltarget]]">`]][[+heading]][[+link:notempty=`</a>`]]</h4>
<p class="text-muted">
[[+richcopy]]
</p>
</div>
The richcopy field in the MIGX dialog box when you click Add Item or edit an existing one does not give you TinyMCE.