$('#editSection').tuiEditor({ initialEditType: 'markdown', previewStyle: 'vertical', height: 300, exts: ['colorSyntax'], contentCSSStyles: [ '../dist/tui-editor-contents.css' ], events: { 'load': function() { console.log('editor Loaded'); } } });
<div id="editSection"></div>