2017 © Pedro Peláez
 

silverstripe-module silverstripe-acecodeeditor

Ace code editor field for SilverStripe 4

image

phill-m/silverstripe-acecodeeditor

Ace code editor field for SilverStripe 4

  • Friday, December 1, 2017
  • by phill-m
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 50 % Grown

The README.md

SilverStripe AceEditorField

Build Status, (*1)

A SilverStripe 4 implementation of Ace Editor (https://ace.c9.io), (*2)

Maintainer Contact

Phil Mobbs phil@phillipmobbs.co.uk, (*3)

Requirements

  • SilverStripe Framework ^4.0

Installation

Install using Composer:, (*4)

composer require phill-m/silverstripe-acecodeeditor

Then run a dev/build, (*5)

Usage

$field = AceEditorField::create('Content');

// Set the theme, default: monokai
$field->setTheme('pastel_on_dark')

// Set the mode, default html
$field->setMode('javascript')

// Set the number of rows, 
$field->setRows(20);

Supported Themes * ambiance * chaos * chrome * clouds * clouds_midnight * cobalt * crimson_editor * dawn * dracula * dreamweaver * eclipse * github * gob * gruvbox * idle_fingers * iplastic * katzenmilch * kr_theme * kuroir * merbivore * merbivore_soft * mono_industrial * monokai * pastel_on_dark * solarized_dark * solarized_light * sqlserver * terminal * textmate * tomorrow * tomorrow_night * tomorrow_night_blue * tomorrow_night_bright * tomorrow_night_eighties * twilight * vibrant_ink * xcode, (*6)

Supported Modes * abap * abc * actionscript * ada * apache_conf * applescript * asciidoc * assembly_x86 * autohotkey * batchfile * bro * c_cpp * c9search * cirru * clojure * cobol * coffee * coldfusion * csharp * csound_document * csound_orchestra * csound_score * css * curly * d * dart * diff * django * dockerfile * dot * drools * eiffel * ejs * elixir * elm * erlang * forth * fortran * ftl * gcode * gherkin * gitignore * glsl * gobstones * golang * graphqlschema * groovy * haml * handlebars * haskell * haskell_cabal * haxe * hjson * html * html_elixir * html_ruby * ini * io * jack * jade * java * javascript * json * jsoniq * jsp * jssm * jsx * julia * kotlin * latex * lean * less * liquid * lisp * live_script * livescript * logiql * lsl * lua * luapage * lucene * makefile * markdown * mask * matlab * maze * mel * mips_assembler * mipsassembler * mushcode * mysql * nix * nsis * objectivec * ocaml * pascal * perl * pgsql * php * pig * plain_text * powershell * praat * prolog * properties * protobuf * python * r * razor * rdoc * red * rhtml * rst * ruby * rust * sass * scad * scala * scheme * scss * sh * sjs * smarty * snippets * soy_template * space * sparql * sql * sqlserver * stylus * svg * swift * swig * tcl * tex * text * textile * toml * tsx * turtle * twig * typescript * vala * vbscript * velocity * verilog * vhdl * wollok * xml * xquery * yaml, (*7)

The Versions

01/12 2017

dev-master

9999999-dev https://github.com/phill-m/silverstripe-acecodeeditor

Ace code editor field for SilverStripe 4

  Sources   Download

BSD-3-Clause

The Requires

 

by Phil Mobbs

silverstripe