Miscellaneous

Plain Paste

Try it yourself:

When pastePlain option is enabled, Froala WYSIWYG HTML Editor filters the pasted content and keeps only plain text by removing all its rich formatting.


Edit in JSFiddle

HTML

<div id="froala-editor">
  <p>When <a href="../docs/options#pastePlain" title="pastePlain option" target="_blank">pastePlain</a> option is enabled, Froala WYSIWYG HTML Editor filters the pasted content and keeps only plain text by removing all its rich formatting.</p>
</div>

JAVASCRIPT

<script>
  new FroalaEditor('div#froala-editor', {
    pastePlain: true
  })
</script>