Froala Editor Base
HTML
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/css/froala_editor.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/css/froala_style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/css/plugins/table.css">
<section id="editor">
<div id='edit' style="margin-top: 30px;">
</div>
</section>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/js/froala_editor.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/js/plugins/link.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/js/plugins/table.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.2.1/js/plugins/code_view.min.js"></script>
CSS
body {
text-align: center;
}
section {
width: 81%;
margin: auto;
text-align: left;
}
JavaScript
$('#edit').froalaEditor({
inlineMode: false,
toolbarStickyOffset: 40,
fullPage: true,
//*Barra em baixo
toolbarBottom:true,
toolbarButtons: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'formatBlock', 'inlineStyle', 'align', 'formatOL', 'formatUL', 'outdent', 'indent', 'insertLink', 'insertImage', 'insertTable', 'undo', 'redo', 'html', 'removeFormat', 'insertButton', 'mergeTags', 'insertSocialMedia', 'fullscreen', 'selectTheme', 'previewPage'],
tableEditButtons: ['tableHeader', 'tableRows', '|', 'tableColumns', 'tableStyle', 'tableCells', '-', 'tableCellBackground', 'tableCellVerticalAlign', '|', 'tableCellHorizontalAlign', 'deleteContent'],
});
$('#edit').froalaEditor('events.focus');
var editor = $('#edit').data('froala.editor');
//Cursor no começo
editor.selection.setAtStart(editor.$el.get(0));
editor.selection.restore();