<div class="custom-content">....</div>
BX.addCustomEvent('OnEditorInitedBefore', function (toolbar) {
console.log(this)
});
the <script>
BX.addCustomEvent('OnEditorInitedBefore', function () {
if (this.config.content.indexOf('<div class="custom-contet">') == -1) {
this.config.content = '<div class="custom-contet">' + this.config.content + '</div>';
}
});
</script>
Find more questions by tags 1C-Bitrix