Files
2021-07-10 16:25:16 +02:00

19 lines
413 B
JavaScript

/**
* Created by Pensare Software.
* User: Theo Weijmer
* Date: 16/12/2017
* Time: 13:28
*/
var initFroalaEditor = function ( editor, text ) {
$( editor ).froalaEditor( {
key: 'zc1QXIa2QZe1UOXATEX==',
toolbarButtons: ['bold', 'italic', 'underline', 'subscript', 'superscript', 'outdent', 'indent', 'formatOL', 'formatUL']
});
$( editor ).froalaEditor( 'html.set', text );
};