Skip to main content
PHP HTML Editor

Plain text

Get the text without markup, for search indexes, previews or e-mail.

The PHP for this demo

// PHP (classic API)
$text = $rte->PlainText();
// JavaScript
var text = PhpHtmlEditor.get('Editor1').getPlainText();