Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×We want to customize the editor in our CONF 7.13.2 instance.
The script we implement f.e. in the Page Layout as an example:
<script>
AJS.toInit(function(){
window.parent.AJS.$('#rte-button-bold').css('background-color', 'yellow');
});
</script>
When creating a new page, the Bold button is shown in yellow as expected.
When saving the new page and editing again, the button is not yellow.
When reloading that page url in edit mode in the browser, the button is yellow again. It seems that the script is not loaded even we use toInit() when starting edit mode.