Skip to main content
PHP HTML Editor

Run commands

Buttons outside the editor run its commands on the current selection.

The PHP for this demo

var editor = PhpHtmlEditor.get('Editor1');
editor.execCommand('bold');
editor.insertHTML('<em>text</em>');