Project

General

Profile

Actions

Bug #98022

open

CKEditor Bug when maximized

Added by Sascha Friedl almost 2 years ago. Updated 11 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2022-07-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It is not possible to execute more than one action in the ckeditor at once if the editor is maximized.
You have to leave the focus and go in the editor again to do the next action.
The following js error appears:

Uncaught TypeError: can't access property "classList", field.closest(...) is null

Try the following steps:
1. Mark a text inside the ckeditor and change the format to bold and immediately to italic -> should work properly
2. Now change the ckeditor view to maximized and do the same actions -> only the first action works and the JS error appears in the console

Verified in TYPO3 Versions 10.4 & 11.5

Actions #1

Updated by Riccardo De Contardi 11 months ago

As far as I have understood, CKEditor 5 does not have a "maximize" button. See https://github.com/ckeditor/ckeditor5/issues/1235

There's a plugin that could be considered for inclusion https://github.com/leknoppix/ckeditor5-fullscreen

Actions

Also available in: Atom PDF