Build javascript editor. use jscolor

How to integrate a custom JavaScript editor with jscolor in ChronoForms 6.

Overview

The user needed to adapt a TinyMCE editor setup with jscolor from ChronoForms 5 for use in ChronoForms 6.
The solution involves locating the equivalent jscolor library path within the ChronoForms 6 directory structure and updating the script reference accordingly.

Ni NickOg 19 Nov, 2017
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
This topic is locked and no more replies can be posted.