Skip to main content
PHP HTML Editor

Get and set content

Read, replace and append content from your own scripts.

The PHP for this demo

var editor = PhpHtmlEditor.get('Editor1');
var html = editor.getHTMLCode();
editor.setHTMLCode('<p>New</p>');