Examples

Non-editable

    This example shows how to set up a template with non-editable elements. Just add elements with .non-editable class in your code. For clarity, we highlighted non-editable elements with gray backs in the text.

    Demo

    Code

    <!-- element -->
    <textarea id="content"></textarea>
    
    <!-- set style to non-editables if you want, e.g. -->
    <style>
    .non-editable {
        color: rgba(0, 0, 0, .6);
    }
    </style>
    
    <!-- call -->
    <script>
    $R('#content');
    </script>