CKEditor right now has AfterPrepareConfigurationForEditorEvent which allows to modify the YAML configuration. It would be cool to keep that functionality. We used that in the past with word count plugin: https://daniel-siepmann.de/typo3-rte-for-input-fields.html#theEventListener