Skip to content

[BUGFIX] DPL-158: Fix CKEditor modal tabs for TYPO3 v14#56

Merged
sbuerk merged 1 commit into
mainfrom
task/DPL-158-v14-ckeditor-modal-tabs
Jul 6, 2026
Merged

[BUGFIX] DPL-158: Fix CKEditor modal tabs for TYPO3 v14#56
sbuerk merged 1 commit into
mainfrom
task/DPL-158-v14-ckeditor-modal-tabs

Conversation

@sbuerk

@sbuerk sbuerk commented Jul 6, 2026

Copy link
Copy Markdown
Member

Problem

Switching between the Style and Tone tabs in the DeepL Write
CKEditor modal no longer works in TYPO3 v14.

Cause

TYPO3 v14 replaced the Bootstrap tab handling with the dedicated
@typo3/backend/tab.js module (the former @typo3/backend/tabs.js
is now only a deprecation shim). Its canonical markup — see the core
Partials/ModuleTemplate/Tabs.fluid.html — drives the tab button
through a data-typo3-tab="#<panel-id>" attribute instead of the
former Bootstrap data-bs-toggle="tab" / data-bs-target pair.

The modal template still used the Bootstrap markup, and since
modal.js does not initialize tabs on its own, the tabs stayed
inert.

Fix

Adopt the v14 tab markup in the version specific
Resources/Private/Core14/Backend/Templates/CkEditor/Edit.html:

  • data-bs-toggle="tab" + data-bs-target="#id"data-typo3-tab="#id"
  • aria-controls="#id"aria-controls="id"

The TYPO3 v13 template keeps the Bootstrap markup.

Verification

Tab switching confirmed working in a TYPO3 v14 backend installation.

Screenshot TYPO3 v14 instance

image

TYPO3 v14 replaced the Bootstrap tab handling with the dedicated
`@typo3/backend/tab.js` module. Its canonical markup uses a
`data-typo3-tab` attribute on the tab button instead of the former
`data-bs-toggle="tab"` / `data-bs-target` combination.

The DeepL Write CKEditor modal still used the Bootstrap markup, so
switching between the `Style` and `Tone` tabs no longer worked in
TYPO3 v14.

Adopt the v14 tab markup in the version specific
`Resources/Private/Core14/Backend/Templates/CkEditor/Edit.html`
template, matching the core `Tabs.fluid.html` partial. The TYPO3
v13 template keeps the Bootstrap markup.
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

Documentation rendering

You can find files attached to the below linked Workflow Run URL (Logs).

Please note that files only stay for around 5 days!

Name Link
Commit 675c153
Logs https://github.com/web-vision/deepl-write/actions/runs/28775589359
Documentation https://github.com/web-vision/deepl-write/actions/runs/28775589359/artifacts/8102486266

@sbuerk sbuerk merged commit 84cf19c into main Jul 6, 2026
8 checks passed
@sbuerk sbuerk deleted the task/DPL-158-v14-ckeditor-modal-tabs branch July 6, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants