Source Code

This plugin allows users to look through and edit text's HTML source code. Developers may extend and enhance this plugin to bring even more HTML-related source code features to the users. This plugin is only compatible with Redactor II 1.0.1 or higher.

Download Plugin

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

    <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js"></script>

    <link rel="stylesheet" href="/js/redactor/redactor.css" />
    <script src="/js/redactor/redactor.js"></script>

    <!-- Plugin -->
    <script src="/js/redactor/plugins/source.js"></script>

    <script type="text/javascript">
    $(function()
    {
        $('#redactor').redactor({
            plugins: ['source']
        });
    });
    </script>
</head>
<body>
    <textarea id="redactor">...</textarea>
</body>
</html>