Open bertoost opened 5 years ago
Is it possible to use this field in custom plugins? For example;
{% if craft.app.plugins.isPluginEnabled('code-mirror') %} CODE MIRROR FIELD HERE {% else %} {{ forms.textareaField({ label: 'Template'|t('app'), name: 'template', value: template, rows: 8, errors: model.getErrors('template'), }) }} {% endif %}
Couldn't find anything about it.. do you know?
You can use Code Editor for this: https://github.com/nystudio107/craft-code-editor/
Is it possible to use this field in custom plugins? For example;
Couldn't find anything about it.. do you know?