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:
on
Container Resize get
Window Dimensions set
Tab Panel Height sync
Height
The following methods have been changed:
open
Container Window build
Button 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
dimensions
which used to be an array has changed toheight
, containing an integer - buildButtonConfig
- The method takes now two additional arguments:
active
andseverity
. The parameteractive
is a boolean value and declares the button being either active or not. The parameterseverity
is 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