Format popup

This example shows how to change items in format popup. See the format setting description for more details.

Code

<!DOCTYPE html>
<html>
<head>
    <title>Redactor X</title>
    <meta charset="utf-8">

    <!-- css -->
    <link rel="stylesheet" href="/your-dist-path/redactorx.min.css" />
</head>
<body>
    <!-- element -->
    <textarea id="entry">...</textarea>

    <!-- js -->
    <script src="/your-dist-path/redactorx.min.js"></script>

    <!-- call -->
    <script>
    RedactorX('#entry', {
        format: ['p', 'h1', 'h2', 'h3', 'h4', 'ul', 'ol', 'address']
    });
    </script>
</body>
</html>