Buy Now
Sign in

Build javascript editor. use jscolor

NickOg , November 19 2017
Answered
NickOg
Hi, I contrcued a small text editor for some internal use with Chronforms 5, That used
    <?php
$doc->_('editor');
?>
jQuery(document).ready(function(jQ) {
tinymce.init({
mode : "exact",
elements : 'njjoidtxtDescription',
width : 800,
template : 'modern',
plugins : 'link image textcolor',
toolbar : "removeformat | undo redo | styleselect | bold italic | hr link | forecolor backcolor | image",
resize: 'both'
});
});


and a call to
components/com_chronoforms5/extras/jscolor/jscolor.js';


Is there a Chronoforms 6 equivalent?

Regards
Nick
NickOg
Forget this - found it.

Nick