FriendsOfTYPO3 / rtehtmlarea

Further maintenance of the HTMLArea RTE, previously part of the TYPO3 Core
https://typo3.org/
GNU General Public License v2.0
9 stars 19 forks source link

HTMLArea is not defined #27

Closed prdt3e closed 5 years ago

prdt3e commented 5 years ago

Typo3: 8.7.20 rtehtmlarea: 8.7.1 Browser: Chrome (72.0.3626.121)

I have 6 editors on the page. The first call works, then not more. The bug is only in Chrome (72.0.3626.121). It works in Firefox/IE.

It is reported: HTMLArea is not defined HTMLArea.js: 125

Thanks

ohader commented 5 years ago

Confirmed

prdt3e commented 5 years ago

Puuuh that code is not easy. HtmlArea and HTMLArea

ohader commented 5 years ago

Please test PR #29

prdt3e commented 5 years ago

Many Thanks. It works perfectly. I suspected something similar. That's actually defined in RichTextElement.php 654 - weird mistake

ohader commented 5 years ago

Actually the definition in PHP is "correct" as well, however due to asynchronous processing via RequireJS it will happen that the resulting definition in HTML is executed too late.