For some custom fields I would like to have an option to choose code editor explicitly no matter what editor selected in user preferences, as well as type of content to wrap a code in appropriate tags.
I propose to add following options:
Editor type:
Default (accordingly to user preferences, current behavior)
WYSIWYG (loads WYSIWYG edior)
Code (loads CodeMirror or None, depending on user preferences)
If Code is chosen then activate another dropdown with syntax options:
None, Style, Javascript, PHP, etc - these should wrap field output in appropriate tag:
For some custom fields I would like to have an option to choose code editor explicitly no matter what editor selected in user preferences, as well as type of content to wrap a code in appropriate tags.
I propose to add following options:
Editor type:
If Code is chosen then activate another dropdown with syntax options: None, Style, Javascript, PHP, etc - these should wrap field output in appropriate tag: