Breaking: #77137 - JavaScript API of RTE changed
See forge#77137
Description
Due to the migration of the RTE from ExtJS to Bootstrap and jQuery, some API methods have been changed or removed.
Impact
ExtJS-based plugins will throw JavaScript errors.
The following methods have been removed:
onContainer Resize getWindow Dimensions setTab Panel Height syncHeight
The following methods have been changed:
openContainer Window buildButton Config
Affected Installations
All installations using custom RTE plugins are affected.
Migration
The former Ext. objects are replaced by Bootstrap modals.
See the list below for a migration of the changed methods:
- openContainerWindow
- The third parameter
dimensionswhich used to be an array has changed toheight, containing an integer - buildButtonConfig
- The method takes now two additional arguments:
activeandseverity. The parameteractiveis a boolean value and declares the button being either active or not. The parameterseverityis an integer representing the severity of the button. This should always represent the severity of the modal, use one of the severities defined inTYPO3/.CMS/ Backend/ Severity