dev-master
9999999-devCodeMirror Module for Zend Framework 2
MIT
The Requires
codemirror
CodeMirror Module for Zend Framework 2
CodeMirror intergration module for Zend Framework 2, (*1)
By Roy van Kaathoven, (*2)
This module adds a view helper that enables you to easily add a codemirror editor to your website. It will add the required javascript files including any dependent mode files and adds a init function which will load the editor., (*3)
Configure the lib_path
inside module.config.php
to point to the root of the CodeMirror library, (*4)
The headScript, headLink and inlineScript view helpers are required to be outputted in your view, (*5)
<?php $this->codemirror($code, 'php'); ?>
You can add more modes by adding them to the module.config.php file. Please submit a PR if you do so!, (*6)
CodeMirror Module for Zend Framework 2
MIT
codemirror