Days
Hours
Minutes
Seconds
x

New Froala Editor v4.4 is here – Learn More

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>