<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <script>
        // Global vars:
        var tinymce,     // Reference to TinyMCE
            editor,      // Reference to TinyMCE editor
            codemirror,  // CodeMirror instance
            chr = 0,     // Unused utf-8 character, placeholder for cursor
            isMac = /macintosh|mac os/i.test(navigator.userAgent),
            CMsettings;  // CodeMirror settings

        function inArray(key, arr) {
            "use strict";
           