From ae84ba78c08fea68c196fbf20ba84cd2983ac5fb Mon Sep 17 00:00:00 2001 From: Simon Schaufelberger <simonschaufi+typo3@gmail.com> Date: Fri, 27 May 2022 21:45:53 +0200 Subject: [PATCH] [!!!][TASK] Remove TSconfig options related to new content wizard The TSconfig options "mod.web_layout.disableNewContentElementWizard" and "mod.newContentElementWizard.override" are removed with this patch as they are serving edge-case usages. Resolves: #97701 Related: #92504 Related: #92507 Releases: main Change-Id: I5d8b24fa4bb339fdd0435c7ea29b38b2fa86caf7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74777 Tested-by: core-ci <typo3@b13.com> Tested-by: Oliver Bartsch <bo@cedev.de> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Oliver Bartsch <bo@cedev.de> Reviewed-by: Benni Mack <benni@typo3.org> --- .../ItemProviders/RecordProvider.php | 8 +- .../Controller/NewRecordController.php | 4 +- .../Controller/PageLayoutController.php | 1 - .../View/BackendLayout/Grid/GridColumn.php | 36 ++------- .../BackendLayout/Grid/GridColumnItem.php | 30 ++----- .../View/Drawing/DrawingConfiguration.php | 19 ----- .../backend/Classes/View/PageLayoutView.php | 78 ++++--------------- .../PageLayout/Grid/ColumnHeader.html | 22 ++---- .../Private/Partials/PageLayout/Record.html | 22 ++---- ...ovedTsConfigOptionShowNewContentWizard.rst | 53 +++++++++++++ .../Classes/RecordList/DatabaseRecordList.php | 2 +- .../JavaScript/Mode/typoscript/typoscript.js | 2 - 12 files changed, 100 insertions(+), 177 deletions(-) create mode 100644 typo3/sysext/core/Documentation/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionShowNewContentWizard.rst diff --git a/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php b/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php index 06714b5b2904..675be18e7df1 100644 --- a/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php +++ b/typo3/sysext/backend/Classes/ContextMenu/ItemProviders/RecordProvider.php @@ -301,8 +301,6 @@ class RecordProvider extends AbstractProvider $attributes += $this->getEnableDisableAdditionalAttributes(); } if ($itemName === 'newWizard' && $this->table === 'tt_content') { - $moduleName = BackendUtility::getPagesTSconfig($this->record['pid'])['mod.']['newContentElementWizard.']['override'] - ?? 'new_content_element_wizard'; $urlParameters = [ 'id' => $this->record['pid'], 'sys_language_uid' => $this->record['sys_language_uid'], @@ -310,7 +308,7 @@ class RecordProvider extends AbstractProvider 'uid_pid' => -$this->record['uid'], ]; $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); - $url = (string)$uriBuilder->buildUriFromRoute($moduleName, $urlParameters); + $url = (string)$uriBuilder->buildUriFromRoute('new_content_element_wizard', $urlParameters); $attributes += [ 'data-new-wizard-url' => htmlspecialchars($url), 'data-title' => $this->languageService->getLL('newContentElement'), @@ -578,9 +576,7 @@ class RecordProvider extends AbstractProvider */ protected function canOpenNewCEWizard(): bool { - return $this->table === 'tt_content' - && (bool)(BackendUtility::getPagesTSconfig($this->record['pid'])['mod.']['web_layout.']['disableNewContentElementWizard'] ?? true) - && $this->canBeEdited() && !$this->isRecordATranslation(); + return $this->table === 'tt_content' && $this->canBeEdited() && !$this->isRecordATranslation(); } /** diff --git a/typo3/sysext/backend/Classes/Controller/NewRecordController.php b/typo3/sysext/backend/Classes/Controller/NewRecordController.php index 9e38c83ec486..e97af6d6840f 100644 --- a/typo3/sysext/backend/Classes/Controller/NewRecordController.php +++ b/typo3/sysext/backend/Classes/Controller/NewRecordController.php @@ -574,9 +574,7 @@ class NewRecordController */ protected function renderNewContentElementWizardLink(): string { - // If mod.newContentElementWizard.override is set, use that extension's wizard instead: - $moduleName = BackendUtility::getPagesTSconfig($this->id)['mod.']['newContentElementWizard.']['override'] ?? 'new_content_element_wizard'; - $url = (string)$this->uriBuilder->buildUriFromRoute($moduleName, ['id' => $this->id, 'returnUrl' => $this->returnUrl]); + $url = (string)$this->uriBuilder->buildUriFromRoute('new_content_element_wizard', ['id' => $this->id, 'returnUrl' => $this->returnUrl]); $title = $this->getLanguageService()->getLL('newContentElement'); return ' <typo3-backend-new-content-element-wizard-button url="' . htmlspecialchars($url) . '" title="' . htmlspecialchars($title) . '"> diff --git a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php index b46dbf17228c..10b8b3128dba 100644 --- a/typo3/sysext/backend/Classes/Controller/PageLayoutController.php +++ b/typo3/sysext/backend/Classes/Controller/PageLayoutController.php @@ -134,7 +134,6 @@ class PageLayoutController $configuration->setActiveColumns($this->getActiveColumnsArray($pageLayoutContext, $tsConfig)); $configuration->setShowHidden((bool)$this->moduleData->get('showHidden')); $configuration->setLanguageColumns($this->MOD_MENU['language']); - $configuration->setShowNewContentWizard(empty($tsConfig['mod.']['web_layout.']['disableNewContentElementWizard'])); $configuration->setSelectedLanguageId($this->currentSelectedLanguage); if ((int)$this->moduleData->get('function') === 2) { $configuration->setLanguageMode(true); diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php index 32f84a78706e..3dc9bed0e0df 100644 --- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php +++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php @@ -183,35 +183,13 @@ class GridColumn extends AbstractGridObject $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); $pageId = $this->context->getPageId(); - if ($this->context->getDrawingConfiguration()->getShowNewContentWizard()) { - $urlParameters = [ - 'id' => $pageId, - 'sys_language_uid' => $this->context->getSiteLanguage()->getLanguageId(), - 'colPos' => $this->getColumnNumber(), - 'uid_pid' => $pageId, - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $routeName = BackendUtility::getPagesTSconfig($pageId)['mod.']['newContentElementWizard.']['override'] - ?? 'new_content_element_wizard'; - } else { - $urlParameters = [ - 'edit' => [ - 'tt_content' => [ - $pageId => 'new', - ], - ], - 'defVals' => [ - 'tt_content' => [ - 'colPos' => $this->getColumnNumber(), - 'sys_language_uid' => $this->context->getSiteLanguage()->getLanguageId(), - ], - ], - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $routeName = 'record_edit'; - } - - return (string)$uriBuilder->buildUriFromRoute($routeName, $urlParameters); + return (string)$uriBuilder->buildUriFromRoute('new_content_element_wizard', [ + 'id' => $pageId, + 'sys_language_uid' => $this->context->getSiteLanguage()->getLanguageId(), + 'colPos' => $this->getColumnNumber(), + 'uid_pid' => $pageId, + 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), + ]); } public function getTitle(): string diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php index 457b9ffb3805..1b4b5ef78aab 100644 --- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php +++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php @@ -255,29 +255,13 @@ class GridColumnItem extends AbstractGridObject $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class); $pageId = $this->context->getPageId(); - if ($this->context->getDrawingConfiguration()->getShowNewContentWizard()) { - $urlParameters = [ - 'id' => $pageId, - 'sys_language_uid' => $this->context->getSiteLanguage()->getLanguageId(), - 'colPos' => $this->column->getColumnNumber(), - 'uid_pid' => -$this->record['uid'], - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $routeName = BackendUtility::getPagesTSconfig($pageId)['mod.']['newContentElementWizard.']['override'] - ?? 'new_content_element_wizard'; - } else { - $urlParameters = [ - 'edit' => [ - 'tt_content' => [ - -$this->record['uid'] => 'new', - ], - ], - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $routeName = 'record_edit'; - } - - return (string)$uriBuilder->buildUriFromRoute($routeName, $urlParameters); + return (string)$uriBuilder->buildUriFromRoute('new_content_element_wizard', [ + 'id' => $pageId, + 'sys_language_uid' => $this->context->getSiteLanguage()->getLanguageId(), + 'colPos' => $this->column->getColumnNumber(), + 'uid_pid' => -$this->record['uid'], + 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), + ]); } public function getVisibilityToggleUrl(): string diff --git a/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php b/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php index 1e0ea5358efd..cdf34b20710c 100644 --- a/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php +++ b/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php @@ -80,15 +80,6 @@ class DrawingConfiguration */ protected $activeColumns = [1, 0, 2, 3]; - /** - * Whether or not to show the "new content" buttons that open the new content - * wizard, when rendering columns. Disabling this will disable the rendering - * of new content buttons both in column top and after each content element. - * - * @var bool - */ - protected $showNewContentWizard = true; - public function getSelectedLanguageId(): int { return $this->selectedLanguageId; @@ -152,16 +143,6 @@ class DrawingConfiguration $this->activeColumns = $activeColumns; } - public function getShowNewContentWizard(): bool - { - return $this->showNewContentWizard; - } - - public function setShowNewContentWizard(bool $showNewContentWizard): void - { - $this->showNewContentWizard = $showNewContentWizard; - } - protected function getBackendUser(): BackendUserAuthentication { return $GLOBALS['BE_USER']; diff --git a/typo3/sysext/backend/Classes/View/PageLayoutView.php b/typo3/sysext/backend/Classes/View/PageLayoutView.php index 7194f10acedc..f530e2232dac 100644 --- a/typo3/sysext/backend/Classes/View/PageLayoutView.php +++ b/typo3/sysext/backend/Classes/View/PageLayoutView.php @@ -58,13 +58,6 @@ class PageLayoutView implements LoggerAwareInterface { use LoggerAwareTrait; - /** - * If TRUE, new-wizards are linked to rather than the regular new-element list. - * - * @var bool - */ - public $option_newWizard = true; - /** * If TRUE, elements will have edit icons (probably this is whether the user has permission to edit the page content). Set externally. * @@ -206,7 +199,6 @@ class PageLayoutView implements LoggerAwareInterface $pageLayoutView->id = $context->getPageId(); $pageLayoutView->pageinfo = BackendUtility::readPageAccess($pageLayoutView->id, '') ?: []; $pageLayoutView->pageRecord = $context->getPageRecord(); - $pageLayoutView->option_newWizard = $drawingConfiguration->getShowNewContentWizard(); $pageLayoutView->defLangBinding = $drawingConfiguration->getDefaultLanguageBinding(); $pageLayoutView->tt_contentConfig['cols'] = implode(',', $drawingConfiguration->getActiveColumns()); $pageLayoutView->tt_contentConfig['activeCols'] = implode(',', $drawingConfiguration->getActiveColumns()); @@ -335,39 +327,18 @@ class PageLayoutView implements LoggerAwareInterface if ($this->isContentEditable() && (!$this->checkIfTranslationsExistInLanguage($contentRecordsPerColumn, $lP)) ) { - if ($this->option_newWizard) { - $urlParameters = [ - 'id' => $id, - 'sys_language_uid' => $lP, - 'colPos' => $columnId, - 'uid_pid' => $id, - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $routeName = BackendUtility::getPagesTSconfig($id)['mod.']['newContentElementWizard.']['override'] - ?? 'new_content_element_wizard'; - $url = (string)$this->uriBuilder->buildUriFromRoute($routeName, $urlParameters); - } else { - $urlParameters = [ - 'edit' => [ - 'tt_content' => [ - $id => 'new', - ], - ], - 'defVals' => [ - 'tt_content' => [ - 'colPos' => $columnId, - 'sys_language_uid' => $lP, - ], - ], - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $url = (string)$this->uriBuilder->buildUriFromRoute('record_edit', $urlParameters); - } + $url = (string)$this->uriBuilder->buildUriFromRoute('new_content_element_wizard', [ + 'id' => $id, + 'sys_language_uid' => $lP, + 'colPos' => $columnId, + 'uid_pid' => $id, + 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), + ]); $title = htmlspecialchars($this->getLanguageService()->getLL('newContentElement')); $link = '<a href="' . htmlspecialchars($url) . '" ' . 'title="' . $title . '"' . 'data-title="' . $title . '"' - . 'class="btn btn-default btn-sm ' . ($this->option_newWizard ? 't3js-toggle-new-content-element-wizard disabled' : '') . '">' + . 'class="btn btn-default btn-sm t3js-toggle-new-content-element-wizard disabled">' . $this->iconFactory->getIcon('actions-add', Icon::SIZE_SMALL)->render() . ' ' . htmlspecialchars($this->getLanguageService()->getLL('content')) . '</a>'; @@ -439,34 +410,19 @@ class PageLayoutView implements LoggerAwareInterface && (!$this->checkIfTranslationsExistInLanguage($contentRecordsPerColumn, $lP)) && $columnId !== 'unused' ) { - // New content element: - if ($this->option_newWizard) { - $urlParameters = [ - 'id' => $row['pid'], - 'sys_language_uid' => $row['sys_language_uid'], - 'colPos' => $row['colPos'], - 'uid_pid' => -$row['uid'], - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $routeName = BackendUtility::getPagesTSconfig($row['pid'])['mod.']['newContentElementWizard.']['override'] - ?? 'new_content_element_wizard'; - $url = (string)$this->uriBuilder->buildUriFromRoute($routeName, $urlParameters); - } else { - $urlParameters = [ - 'edit' => [ - 'tt_content' => [ - -$row['uid'] => 'new', - ], - ], - 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), - ]; - $url = (string)$this->uriBuilder->buildUriFromRoute('record_edit', $urlParameters); - } + // New content element + $url = (string)$this->uriBuilder->buildUriFromRoute('new_content_element_wizard', [ + 'id' => $row['pid'], + 'sys_language_uid' => $row['sys_language_uid'], + 'colPos' => $row['colPos'], + 'uid_pid' => -$row['uid'], + 'returnUrl' => $GLOBALS['TYPO3_REQUEST']->getAttribute('normalizedParams')->getRequestUri(), + ]); $title = htmlspecialchars($this->getLanguageService()->getLL('newContentElement')); $singleElementHTML .= '<a href="' . htmlspecialchars($url) . '" ' . 'title="' . $title . '"' . 'data-title="' . $title . '"' - . 'class="btn btn-default btn-sm ' . ($this->option_newWizard ? 't3js-toggle-new-content-element-wizard disabled' : '') . '">' + . 'class="btn btn-default btn-sm t3js-toggle-new-content-element-wizard disabled">' . $this->iconFactory->getIcon('actions-add', Icon::SIZE_SMALL)->render() . ' ' . htmlspecialchars($this->getLanguageService()->getLL('content')) . '</a>'; diff --git a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html index 81feac5ceb37..0e5068fe3e5b 100644 --- a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html +++ b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Grid/ColumnHeader.html @@ -23,22 +23,12 @@ <f:if condition="{allowEditContent} && {column.contentEditable} && {column.context.allowNewContent} && {column.active}"> <div class="t3-page-ce t3js-page-ce" data-page="{column.context.pageId}" id="{column.uniqueId}"> <div class="t3-page-ce-actions t3js-page-new-ce" id="colpos-{column.columnNumber}-page-{column.context.pageId}-{column.uniqueId}"> - <f:if condition="{column.context.drawingConfiguration.showNewContentWizard}"> - <f:then> - <typo3-backend-new-content-element-wizard-button url="{column.newContentUrl}" title="{newContentTitle}"> - <button type="button" class="btn btn-default btn-sm"> - <core:icon identifier="actions-add" /> - {newContentTitleShort} - </button> - </typo3-backend-new-content-element-wizard-button> - </f:then> - <f:else> - <a href="{column.newContentUrl}" title="{newContentTitle}" class="btn btn-default btn-sm"> - <core:icon identifier="actions-add" /> - {newContentTitleShort} - </a> - </f:else> - </f:if> + <typo3-backend-new-content-element-wizard-button url="{column.newContentUrl}" title="{newContentTitle}"> + <button type="button" class="btn btn-default btn-sm"> + <core:icon identifier="actions-add" /> + {newContentTitleShort} + </button> + </typo3-backend-new-content-element-wizard-button> </div> <div class="t3-page-ce-dropzone t3js-page-ce-dropzone-available"></div> </div> diff --git a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html index f98af39c4ae0..631366834d41 100644 --- a/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html +++ b/typo3/sysext/backend/Resources/Private/Partials/PageLayout/Record.html @@ -15,22 +15,12 @@ </div> <f:if condition="{allowEditContent} && {item.column.contentEditable} && {column.context.allowNewContent} && {column.active}"> <div class="t3-page-ce-actions t3js-page-new-ce" id="colpos-{item.column.columnNumber}-page-{item.context.pageId}-{item.column.uniqueId}"> - <f:if condition="{item.column.context.drawingConfiguration.showNewContentWizard}"> - <f:then> - <typo3-backend-new-content-element-wizard-button url="{item.newContentAfterUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}"> - <button type="button" class="btn btn-default btn-sm"> - <core:icon identifier="actions-add" /> - <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:content" /> - </button> - </typo3-backend-new-content-element-wizard-button> - </f:then> - <f:else> - <a href="{item.newContentAfterUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}" class="btn btn-default btn-sm"> - <core:icon identifier="actions-add" /> - <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:content" /> - </a> - </f:else> - </f:if> + <typo3-backend-new-content-element-wizard-button url="{item.newContentAfterUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}"> + <button type="button" class="btn btn-default btn-sm"> + <core:icon identifier="actions-add" /> + <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:content" /> + </button> + </typo3-backend-new-content-element-wizard-button> </div> </f:if> <div class="t3-page-ce-dropzone t3js-page-ce-dropzone-available"></div> diff --git a/typo3/sysext/core/Documentation/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionShowNewContentWizard.rst b/typo3/sysext/core/Documentation/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionShowNewContentWizard.rst new file mode 100644 index 000000000000..679df34a984e --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/12.0/Breaking-97701-RemovedTsConfigOptionShowNewContentWizard.rst @@ -0,0 +1,53 @@ +.. include:: /Includes.rst.txt + +.. _breaking-97701-1655154047 + +=============================================================== +Breaking: #97701 - TSconfig option showNewContentWizard removed +=============================================================== + +See :issue:`97701` + +Description +=========== + +The TSconfig option :typoscript:`mod.web_layout.disableNewContentElementWizard` +has been used to explicitly disable the content element wizard. When set, +a new Content Element of type "Text" was created by default, which was then +changed to a different Content Type. + +Along with this the option :typoscript:`mod.newContentElementWizard.override` has +been removed, as it served a similar purpose to override the route name itself. + + +Impact +====== + +Both TSconfig options have no effect anymore. TYPO3 behaves as if the options +were never set. + + +Affected installations +====================== + +TYPO3 installations having one of these options explicitly enabled. + + +Migration +========= + +Remove the TSconfig settings as they have no effect anymore. + +Instead, use other TSconfig options to adapt the "New Content Element Wizard" +to your needs. You can find according examples in +:file:`EXT:frontend/Configuration/page.tsconfig`. + +It is also possible to create a custom backend route in your extension code +to reimplement both functionalities in a custom TYPO3 Extension, if this option +is still relevant for you. + +If you overwrite the fluid template :file:`EXT:backend/Resources/Private/Partials/PageLayout/Record.html` +you have to adjust your template accordingly and remove the "if" condition +checking for `{item.column.context.drawingConfiguration.showNewContentWizard}`. + +.. index:: Backend, Fluid, TSConfig, PartiallyScanned, ext:backend diff --git a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php index 8d5fe6885b7c..b94d2b0fddf9 100644 --- a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php @@ -871,7 +871,7 @@ class DatabaseRecordList if ($table === 'tt_content') { $url = (string)$this->uriBuilder->buildUriFromRoute( - BackendUtility::getPagesTSconfig($this->id)['mod.']['newContentElementWizard.']['override'] ?? 'new_content_element_wizard', + 'new_content_element_wizard', [ 'id' => $this->id, 'returnUrl' => $this->listURL(), diff --git a/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js b/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js index 67d029191949..42298f679e34 100644 --- a/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js +++ b/typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js @@ -259,7 +259,6 @@ 'disableDelete': kw('disableDelete'), 'disableHideAtCopy': kw('disableHideAtCopy'), 'disableItems': kw('disableItems'), - 'disableNewContentElementWizard': kw('disableNewContentElementWizard'), 'disableNoMatchingValueElement': kw('disableNoMatchingValueElement'), 'disablePrefixComment': kw('disablePrefixComment'), 'disablePrependAtCopy': kw('disablePrependAtCopy'), @@ -609,7 +608,6 @@ 'overrideAttribs': kw('overrideAttribs'), 'overrideId': kw('overrideId'), 'overridePageModule': kw('overridePageModule'), - 'overrideWithExtension': kw('overrideWithExtension'), 'PAGE': kw('PAGE'), 'page': A, 'PAGE_TARGET': kw('PAGE_TARGET'), -- GitLab