Reputation: 464
Today in one of our older sites we found an issue with the RTE Editor. For any of our users the editor does not load. It is stuck on loading as you can see in the image below.
Now I realize that the version we are using for TYPO3 is extremely outdated, the version is 4.5 support has been gone for ages and I wouldn't dare to just update this site.
We haven't updated or changed anything in the configuration so this wouldn't be the case. I've also tried to remove all caches from the site, create a new user and give them all rights and trying several different computers. None of this has helped fix the issue.
Wondering if anyone has a idea on where to search or how to solve this.
Upvotes: 2
Views: 2304
Reputation: 3812
Are you using Chrome 73 as browser? This version breaks the rtehtmlarea integration. You need to backport the patch which is provided for TYPO3 8.7.
File: typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
Line : 2224
search for:
src: Ext.isGecko ? 'javascript:void(0);' : (Ext.isWebKit ? 'javascript: '' + HTMLArea.htmlEncode(this.config.documentType + this.config.blankDocument) + ''' : HTMLArea.editorUrl + 'popups/blank.html')
change to:
src: Ext.isGecko ? 'javascript:void(0);' : (Ext.isWebKit ? (Ext.isChrome ? 'about:blank;' : 'javascript: '' + HTMLArea.htmlEncode(this.config.documentType + this.config.blankDocument) + ''') : HTMLArea.editorUrl + 'popups/blank.html')
Upvotes: 6
Reputation: 10800
You probably have a javascript error which stops execution of further javascript.
on loading the data is adapted (from TYPO3 format to HTML) and the editor is build by modifying the DOM. As browsers change in behaviour and javascript engine the old javascript might run into errors with current browsers.
You could try to use another browser.
Otherwise you could disable the RTE in the user settings, although it means you have to edit text as HTML source.
Upvotes: 1