Basic example

jsPanel.create({
    content:     '<textarea></textarea>',
    contentSize: '940 400',
    headerTitle: 'jsPanel with Froala',
    theme:       '#644AEB',
    callback: function (panel) {
        $('.jsPanel-content textarea', panel).froalaEditor({
            height: 314
        });
        $('.jsPanel-content .fr-box', panel).css({height: '100%'});
        $('.jsPanel-content .fr-wrapper', panel).css({height: 'calc(100% - 82px)'});
        $('.jsPanel-content .fr-toolbar', panel).css({borderRadius: 0});
    }
});