Mod Creation/Mod Context API Reference: Difference between revisions

Line 414: Line 414:
   // ...
   // ...
}</syntaxhighlight>
}</syntaxhighlight>
<small>''Comments in JSON are purely illustrative and not valid markup''</small>


  <syntaxhighlight lang="js" line>ctx.settings.type('customText', {
  <syntaxhighlight lang="js" line>ctx.settings.type('customText', {
91

edits