Issue #2639258 by Niels de Ruijter: detectCKEditorInstances runs before CKEditor creates any instances