Download the PHP package nathancox/codeeditorfield without Composer
On this page you can find all versions of the php package nathancox/codeeditorfield. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nathancox/codeeditorfield
More information about nathancox/codeeditorfield
Files in nathancox/codeeditorfield
Download nathancox/codeeditorfield
More information about nathancox/codeeditorfield
Files in nathancox/codeeditorfield
Vendor nathancox
Package codeeditorfield
Short Description A field for editing code in the SilverStripe CMS using Ace Editor (http://ace.c9.io/)
License BSD-3-Clause
Homepage https://github.com/nathancox/silverstripe-codeeditorfield
Package codeeditorfield
Short Description A field for editing code in the SilverStripe CMS using Ace Editor (http://ace.c9.io/)
License BSD-3-Clause
Homepage https://github.com/nathancox/silverstripe-codeeditorfield
Please rate this library. Is it a good library?
Informations about the package codeeditorfield
SilverStripe CodeEditorField
This module adds a CodeEditorField that uses Ace Editor (http://ace.c9.io/) to let you edit code (mostly HTML or JavaScript). Try it out here. It comes in two forms:
- A regular CodeEditorField that can be used on an HTMLText field similar to HTMLEditorField
- An optional replacement code view for TinyMCE that uses a CodeEditorField
Maintainer Contacts
Nathan Cox ([email protected])
Requirements
- SilverStripe 3.1+
Documentation
Installation Instructions
- Place the files in a directory called codeeditorfield in the root of your SilverStripe installation. You can most easily do this with
composer require nathancox/codeeditorfield
- Configure your site's
config.yml
to define your defaults (optional). - Visit yoursite.com/dev/build to rebuild the database
Usage Overview
Configuration via config.yml
:
Using CodeEditorField in getCMSFields:
produces the following:
__Note: If you opt not to set default_theme
and don't set the theme specifically on the field, you will have the option to toggle between Dark and Light.__
To replace the code editor in TinyMCE:
Known Issues
All versions of codeeditorfield with dependencies
PHP Build Version
Package Version
Requires
silverstripe/framework Version
~3.1
The package nathancox/codeeditorfield contains the following files
Loading the files please wait ....