Issue Bug Closed

#79756ckeditor does not initialize if richtextConfiguration is not set in TCA

Christian Kuhn 02/11/17, 15:23 updated 10/17/17, 23:30

Description

Seems we need some fallback or better default handling within the configuration provider of ckeditor (used in dataHandler and TcaText data provider):

If on a text element TCA enabledRichtext = true is set, but richttextConfiguration = ‘default’ (or some other value) is NOT set, then ckeditor on load tries to load file ‘styles.js’ which 404’s (why?) and then init of the edtior fails.

Currently easily reproducible with styleguide_rte.

We probably should have better default handling of config, and need to take care this doesn’t kill htmlarea or has negative side effects.

Patch should have a review by me and/or benni.

Reviews 2