hypejunction/elgg-codemirror

CodeMirror code editor input

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Language:JavaScript

Type:elgg-plugin

1.0.0 2019-02-14 11:13 UTC

README

Elgg 2.3

Provides a CodeMirror input type.

Usage

echo elgg_view_field([
    '#type' => 'codemirror',
    'name' => 'code',
]);

$code = get_input('code', '', false);