File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed
Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ de.mysterycode.wcf.codemirror || CodeMirror
2+ ====================================
3+ Implementation of the code editor [ CodeMirror] ( https://github.com/codemirror/CodeMirror ) .
4+
5+ API
6+ ---
7+ In order to include the CodeMirror editor use:
8+
9+ ` {include file='codemirror' codemirrorMode='language' codemirrorSelector='id of your textarea'} `
10+
11+ ** Example:**
12+ ```
13+ <section class="section marginTop">
14+ <legend>An awesome section-title</legend>
15+
16+ <dl class="wide">
17+ <dt>Your message in here:</dt>
18+ <dd>
19+ <textarea id="scss" name="scss">/* some SCSS seclarations */</textarea>
20+ {include file='codemirror' codemirrorMode='text/x-less' codemirrorSelector='scss'}
21+ </dd>
22+ </dl>
23+ </section>
24+ ```
25+
26+ Version
27+ ---
28+ CodeMirror-Version: 5.62.3
29+
30+ Basic Support
31+ -------------
32+ If you have trouble including the CodeMirror editor or questions feel free to ask me: [ Forum] ( https://support.mysterycode.de/ )
33+
34+ If you got questions about CodeMirror itself, please visit their [ GitHub Repository] ( https://github.com/codemirror/CodeMirror ) .
35+
36+ License
37+ -------
38+ CodeMirror is licensed under [ MIT License] ( https://github.com/codemirror/CodeMirror/blob/master/LICENSE )
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <package name =" de.mysterycode.wcf.codemirror" xmlns =" http://www.woltlab.com" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://www.woltlab.com https://www.woltlab.com/XSD/5.4/package.xsd" >
3+ <packageinformation >
4+ <packagename >CodeMirror</packagename >
5+ <packagedescription ><![CDATA[ Implements CodeMirror]]> </packagedescription >
6+ <version >1.0.0</version >
7+ <date >2021-09-11</date >
8+ </packageinformation >
9+
10+ <authorinformation >
11+ <author ><![CDATA[ Florian Gail]]> </author >
12+ <authorurl ><![CDATA[ https://www.mysterycode.de]]> </authorurl >
13+ </authorinformation >
14+
15+ <requiredpackages >
16+ <requiredpackage minversion =" 5.4.0" >com.woltlab.wcf</requiredpackage >
17+ </requiredpackages >
18+
19+ <excludedpackages >
20+ <excludedpackage version =" 5.5.0 Alpha 1" >com.woltlab.wcf</excludedpackage >
21+ </excludedpackages >
22+
23+ <instructions type =" install" >
24+ <instruction type =" file" />
25+ <instruction type =" acpTemplate" />
26+ <instruction type =" template" />
27+ </instructions >
28+ </package >
You can’t perform that action at this time.
0 commit comments