Skip to main content
PHP HTML Editor

Link and template lists

Fill the Insert Link suggestions and the Insert Template dialog from PHP, for example from your database.

The PHP for this demo

$editor->config['linkItems'] = ['/about.html', '/contact.html'];
$editor->config['htmlTemplates'] = [
    ['Meeting notes', '<h3>Meeting notes</h3>'],
];