);
            if (code.search(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi) !== -1 || code.search(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi) !== -1) {
                editor.setContent(codemirror.getValue().replace(cc, ''));
            } else {
                editor.setContent(codemirror.getValue().replace(cc, '<span id="CmCaReT"></span>'));
            }

            editor.isNotDirty = !isDirty;
            if (isDirty) {
                editor.nodeChanged();
            }

          