MysteryCode / de.mysterycode.wcf.codemirror

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

de.mysterycode.wcf.codemirror || CodeMirror

Implementation of the code editor CodeMirror.

API

In order to include the CodeMirror editor use:

{include file='mcodemirror' codemirrorMode='language' codemirrorSelector='id of your textarea'}

Example:

<section class="section marginTop">
    <legend>An awesome section-title</legend>
    
    <dl class="wide">
        <dt>Your message in here:</dt>
        <dd>
            <textarea id="scss" name="scss">/* some SCSS seclarations */</textarea>
            {include file='mcodemirror' codemirrorMode='text/x-less' codemirrorSelector='scss'}
        </dd>
    </dl>
</section>

Version

CodeMirror-Version: 5.62.3

Basic Support

If you have trouble including the CodeMirror editor or questions feel free to ask me: Forum

If you got questions about CodeMirror itself, please visit their GitHub Repository.

License

CodeMirror is licensed under MIT License

About


Languages

Language:Smarty 90.4%Language:JavaScript 9.6%