Hi,
Use the Javascript below to ad the TinyMCE editor to chronoforms fileds. But it causes a broken Javascript. Can you tell me what causes this? Because of the broken Javascript other javascipts plugins don't work at the form page.
Thank you:
The Javascript which I put in a 'Load Javascript' element is:
<?php
$doc->_('editor');
?>
jQuery(document).ready(function(jQ) {
tinymce.init({
mode : "exact",
elements : "Activities,Partners,Resources,Proposition,Relationship,Channels,Segments, Costs, Revenues",
width : "100",
template : "modern",
selector: "textarea",
menu : "false",
plugins : "preview textcolor link image insertdatetime media hr charmap",
toolbar : "bold italic | forecolor backcolor | bullist numlist | preview | charmap",
insert_button_items: "image link",
resize: "false"});});
Use the Javascript below to ad the TinyMCE editor to chronoforms fileds. But it causes a broken Javascript. Can you tell me what causes this? Because of the broken Javascript other javascipts plugins don't work at the form page.
Thank you:
The Javascript which I put in a 'Load Javascript' element is:
<?php
$doc->_('editor');
?>
jQuery(document).ready(function(jQ) {
tinymce.init({
mode : "exact",
elements : "Activities,Partners,Resources,Proposition,Relationship,Channels,Segments, Costs, Revenues",
width : "100",
template : "modern",
selector: "textarea",
menu : "false",
plugins : "preview textcolor link image insertdatetime media hr charmap",
toolbar : "bold italic | forecolor backcolor | bullist numlist | preview | charmap",
insert_button_items: "image link",
resize: "false"});});