19 lines
413 B
JavaScript
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 );
|
|
};
|
|
|