Froala config to keep script and style tag

by RomainMazB

HTML

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://editor-latest.s3.amazonaws.com/js/third_party/font_awesome.min.js"></script>
<script src="https://editor-latest.s3.amazonaws.com/v3/js/froala_editor.pkgd.min.js"></script>
<link rel="stylesheet" href="https://editor-latest.s3.amazonaws.com/v3/css/froala_editor.pkgd.min.css">
<link rel="stylesheet" href="https://editor-latest.s3.amazonaws.com/v3/css/froala_style.min.css">
<div id="froala-editor">
  <i class="right triangle icon"></i> <!-- I will be removed --> 
  
  <script>console.log('debug')</script> <!-- Script will live! -->
  <style>.myClass { margin:left }</style> <!-- Style will live! -->
  <textarea></textarea> <!-- Textarea will live --> 
  
  <p>
    Here the i tag are removed but script and style stay alive because removed from htmlRemoveTags option.
  </p>
</div>

JavaScript

new FroalaEditor(
 		'div#froala-editor',
    {
    		'htmlRemoveTags': ['base'],
        'toolbarButtons': {
            'moreMisc': {
                'buttons': ['html']
            }
        }
    }
 )