summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-02-01 08:34:03 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-02-01 08:34:03 +0100
commit960a4d952f78089e679da21371b8650bca51bda6 (patch)
tree9e79210e52ba013d841ff02210582e8fc0cbba64
parent9ed37be565fb51dc3dec80946e49ae9f36c41f5c (diff)
downloadextbase-generator-cli-960a4d952f78089e679da21371b8650bca51bda6.tar.gz
extbase-generator-cli-960a4d952f78089e679da21371b8650bca51bda6.tar.bz2
extbase-generator-cli-960a4d952f78089e679da21371b8650bca51bda6.zip
Add the richtext and rte_transform extras for rte fields
-rwxr-xr-xadd_extbase_property.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/add_extbase_property.sh b/add_extbase_property.sh
index 6146b14..61c402c 100755
--- a/add_extbase_property.sh
+++ b/add_extbase_property.sh
@@ -132,13 +132,16 @@ declare -A tca_evals=(
["select"]=""
["date_timestamp"]="date"
["datetime_timestamp"]="datetime"
+
+ ["file"]=""
+ ["image"]=""
)
declare -A tca_option_map=(
["int"]="'size' => 30"
["string"]="'size' => 30"
["text"]="'cols' => 40, 'rows' => 15"
- ["rte"]="'cols' => 40, 'rows' => 15"
+ ["rte"]="'cols' => 40, 'rows' => 15, 'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]'"
["password"]="'size' => 30"
["float"]="'size' => 30"