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 #1

Updated by Christian Kuhn almost 3 years ago

  • Status changed from New to Closed

Hey. Thanks for the report.

I fear, the core team won't do anything about this anymore:

Core v7 reached end-of-life since november 2018. The extension has been extracted to https://github.com/FriendsOfTYPO3/rtehtmlarea since v8 and might be maintained over there.

If you really need support for this in v7, you could contact typo3.com to find out if they fixed or will fix this issue in their ELTS plans.

I'll go ahead and close this issue.

Actions #2

Updated by Stefano Danieli almost 3 years ago

  • Related to Bug #94334: rtehtmlarea errors in Chrome and Edge after latest update added
Actions #3

Updated by Stefano Danieli almost 3 years ago

Daniel Huf wrote in #note-3:

Not sure about the side effects, but removing the webkit part seems to make it work.

web/typo3conf/ext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js line 202 to 205
[...]

Thank you :
https://github.com/FriendsOfTYPO3/rtehtmlarea/issues/46
Here, seems to be another solution (tested and running on Typo3 v7.6.32
).

Actions #4

Updated by Daniel Huf almost 3 years ago

Stefano Danieli wrote in #note-4:

Daniel Huf wrote in #note-3:

Not sure about the side effects, but removing the webkit part seems to make it work.

web/typo3conf/ext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Iframe.js line 202 to 205
[...]

Thank you :
https://github.com/FriendsOfTYPO3/rtehtmlarea/issues/46
Here, seems to be another solution (not yet tested by me).

Oh thanks, didn't see that

Actions #5

Updated by Daniel Huf almost 3 years ago

Oops sorry, forget my response. I updated the version over composer and the cache was in the way. 8.7.3 https://github.com/FriendsOfTYPO3/rtehtmlarea ist working on the v8

Actions

Also available in: Atom PDF