Project

General

Profile

Actions

Bug #94310

closed

RTEHTMLArea Bug Chrome 91.0.4472.101

Added by Stefano Danieli almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2021-06-11
Due date:
% Done:

0%

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

Description

Hello everyone,

i would like to report the following bug.
I have installed the extension rtehtmlarea.

I want to edit a standard text element. When the wysiwyg editor is shown, i can see the following error :

Uncaught TypeError: Cannot read property 'documentElement' of null
at Iframe.initializeIframe (Iframe.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:202)
at Iframe.render (Iframe.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:57)
at Framework.render (Framework.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:75)
at new Framework (Framework.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:45)
at Editor.createFramework (Editor.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:189)
at Editor.generate (Editor.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:175)
at Editor.js?bust=cb447f8edb30784c674c7418ad59e08d5e85f7c9:179

I check
typo3\sysext\rtehtmlarea\Resources\Public\JavaScript\HTMLArea\Editor\Iframe.js
where the problem seems to be located :

At row 201 :

// WebKit
} else if (UserAgent.isWebKit && (!iframe.contentDocument.documentElement || !iframe.contentDocument.body)) {
window.setTimeout(function () {
self.initializeIframe();
}, 50);

Seems iframe.contentDocument is not initialized (eg :is null)

Tested in TYPO3 7.6.32
Rtehtmlarea version 7.6.32 and 8.7.0
Chrome version 91.0.4472.101 (64 Bit)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #94334: rtehtmlarea errors in Chrome and Edge after latest updateClosed2021-06-14

Actions
Actions

Also available in: Atom PDF