Skip to content

Examples

Plain Paste

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

HTML

<div id="eg-plain-paste" class="text-small">
  <p>When <strong>plainPaste</strong> 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>
  $(function() {
    $('div#eg-plain-paste').editable({
      inlineMode: false,
      plainPaste: true
    })
  });
</script>