Skip to content

Commit

Permalink
[TASK] TCA: t3editor TBE_EDITOR save via flexForm reload onChange
Browse files Browse the repository at this point in the history
We allow submitForm of TBE to issued issued via flexForm and bypass
SplitButtons preSubmitCallbacks.
  • Loading branch information
sebastianwagner committed Mar 4, 2016
1 parent 0deaaff commit c8d7072
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Configuration/TCA/tx_styleguide_elements_t3editor.php
Expand Up @@ -20,6 +20,7 @@
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'requestUpdate' => 't3editor_reload_1',
],


Expand Down Expand Up @@ -78,6 +79,23 @@
'rows' => 7,
],
],
't3editor_reload_1' => [
'exclude' => 1,
'label' => 't3editor_reload_1',
'config' => [
'type' => 'select',
'items' => [
[
'label1',
0,
],
[
'label2',
1,
],
],
],
],
't3editor_inline_1' => [
'exclude' => 1,
'label' => 't3editor_inline_1',
Expand Down Expand Up @@ -185,6 +203,7 @@
'showitem' => '
--div--;t3editor,
t3editor_1,
t3editor_reload_1,
--div--;in inline,
t3editor_inline_1,
--div--;in flex,
Expand Down
1 change: 1 addition & 0 deletions ext_tables.sql
Expand Up @@ -558,6 +558,7 @@ CREATE TABLE tx_styleguide_elements_t3editor (
t3_origuid int(11) DEFAULT '0' NOT NULL,

t3editor_1 text,
t3editor_reload_1 int(11) DEFAULT '0' NOT NULL,
t3editor_inline_1 text,
t3editor_flex_1 text,

Expand Down

0 comments on commit c8d7072

Please sign in to comment.