Skip to content

MysteryCode/de.mysterycode.wcf.ace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

de.mysterycode.wcf.ace || ACE-Editor

Implementation of the code editor ACE.

API

In order to include the ACE editor use:

{include file='ace' aceMode='language' aceSelector='id of your textarea'}

If you want to view invisible characters you can add $showInvisibles=true:

{include file='ace' aceMode='language' aceSelector='id of your textarea' $showInvisibles=true}

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='ace' aceMode='scss' aceSelector='scss'}
        </dd>
    </dl>
</section>

Version

ACE-Version: 1.4.12

Basic Support

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

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

License

ACE is licensed under BSD License