Converting the textarea fields to editor fields, in the rest of JCB where code is being edited. gh-305

This commit is contained in:
2018-06-25 22:54:26 +02:00
parent fd93feac42
commit 1312e45d4a
22 changed files with 580 additions and 440 deletions

View File

@ -151,18 +151,22 @@
required="false"
button="true"
/>
<!-- Php_view Field. Type: Textarea. (joomla) -->
<!-- Php_view Field. Type: Editor. (joomla) -->
<field
type="textarea"
type="editor"
name="php_view"
label="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL"
rows="17"
cols="5"
description="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION"
class="text_area span12"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
hint="COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT"
required="true"
validate="code"
/>
<!-- Add_php_view Field. Type: Radio. (joomla) -->
<field
@ -186,17 +190,22 @@
name="not_required"
default="[]"
/>
<!-- Layout Field. Type: Textarea. (joomla) -->
<!-- Layout Field. Type: Editor. (joomla) -->
<field
type="textarea"
type="editor"
name="layout"
label="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL"
rows="20"
description="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
class="text_area span12"
rows="30"
buttons="no"
syntax="html"
editor="codemirror|none"
filter="raw"
hint="COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT"
required="true"
validate="code"
/>
<!-- Note_snippet_usage Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_snippet_usage" label="COM_COMPONENTBUILDER_LAYOUT_NOTE_SNIPPET_USAGE_LABEL" heading="h4" class="snippet-usage note_snippet_usage" />