Basic example

jsPanel.create({
    content:     '<textarea></textarea>',
    contentSize: '850 400',
    headerTitle: 'jsPanel with Froala',
    theme:       'primary',
    position:    'center-top 0 70',
    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% - 77px)'});
        $('.jsPanel-content .fr-toolbar', panel).css({borderRadius: 0});
    },
    resizeit: {
        minWidth: 850
    }
});