Skip to content

Commit

Permalink
Merge branch '4.1' into 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill committed Aug 15, 2019
2 parents 6d47014 + 8459f47 commit e2a5788
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/src/boot/registerTransforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export default () => {
// Add elemental editor actions
Injector.transform('element-actions', (updater) => {
updater.component('ElementActions', SaveAction, 'ElementActionsWithSave');
updater.component('ElementActions', ArchiveAction, 'ElementActionsWithArchive');
updater.component('ElementActions', PublishAction, 'ElementActionsWithPublish');
updater.component('ElementActions', UnpublishAction, 'ElementActionsWithUnpublish');
updater.component('ElementActions', ArchiveAction, 'ElementActionsWithArchive');
});
};
8 changes: 0 additions & 8 deletions src/Forms/EditFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ protected function getFormFields(RequestHandler $controller = null, $name, $cont
$editorField = $fields->fieldByName('Root.Main.HTML');
if ($editorField) {
$editorField->setRows(7);

$editorConfig = $editorField->getEditorConfig();

// Only configure if the editor is TinyMCE
if ($editorConfig instanceof TinyMCEConfig) {
$editorConfig->setOption('statusbar', false);
$editorField->setEditorConfig($editorConfig);
}
}

return $fields;
Expand Down

0 comments on commit e2a5788

Please sign in to comment.