jQuery('#editor').trumbowyg({});
jQuery('#editor').trumbowyg('html', '<h1>Welcome</h1>');
jQuery('#get-code').click(function() {
var code = jQuery('#editor').trumbowyg('html');
console.log(code)
});
$('.replay').click(function(){
$('#editor').trumbowyg('html', $('#editor').trumbowyg('html') + $(this).attr('data-name') + ', ');
});