hypejunction/elgg-codemirror

CodeMirror code editor input

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Language:JavaScript

Type:elgg-plugin

1.0.0 2019-02-14 11:13 UTC

This package is auto-updated.

Last update: 2024-10-15 00:11:12 UTC


README

Elgg 2.3

Provides a CodeMirror input type.

Usage

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

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