I am using "froala" Editor for add email template to database, but "froala" Editor always remove some html tag like this
<div [removed]="table-layout:fixed; width: 100%;" class="mailwrapper">
<br>
<table [removed]="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-smooth: always; -webkit-font-smoothing: antialiased; height: 16px; -premailer-height: 16;" align="center" cellpadding="0" cellspacing="0" class="mainTable">
this my code
$(function () {
$('#editor').froalaEditor({
inlineMode: false,
//toolbarInline: true,
charCounterCount: true,
toolbarButtons: ['fontFamily', 'fontSize', 'color', 'paragraphFormat', 'bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', '|', 'align', 'formatOL', 'formatUL', 'indent', 'outdent', '-', 'insertImage', 'insertLink', 'emoticons', 'insertVideo', 'insertTable', 'undo', 'redo', 'fullscreen', 'html'],
toolbarVisibleWithoutSelection: true,
heightMin: 500,
height: 500,
htmlAllowedTags: ['.*'],
htmlAllowedAttrs: ['.*'],
allowedContent : true
});
});