@@ -39,6 +39,8 @@ import { CORE_SITEHOME_PROVIDERS } from '@core/sitehome/sitehome.module';
3939import { CORE_USER_PROVIDERS } from '@core/user/user.module' ;
4040import { CORE_PUSHNOTIFICATIONS_PROVIDERS } from '@core/pushnotifications/pushnotifications.module' ;
4141import { IONIC_NATIVE_PROVIDERS } from '@core/emulator/emulator.module' ;
42+ import { CORE_EDITOR_PROVIDERS } from '@core/editor/editor.module' ;
43+ import { CORE_SEARCH_PROVIDERS } from '@core/search/search.module' ;
4244
4345// Import only this provider to prevent circular dependencies.
4446import { CoreSitePluginsProvider } from '@core/siteplugins/providers/siteplugins' ;
@@ -75,6 +77,8 @@ import { CoreSiteHomeComponentsModule } from '@core/sitehome/components/componen
7577import { CoreUserComponentsModule } from '@core/user/components/components.module' ;
7678import { CoreQuestionComponentsModule } from '@core/question/components/components.module' ;
7779import { CoreBlockComponentsModule } from '@core/block/components/components.module' ;
80+ import { CoreEditorComponentsModule } from '@core/editor/components/components.module' ;
81+ import { CoreSearchComponentsModule } from '@core/search/components/components.module' ;
7882
7983// Import some components listed in entryComponents so they can be injected dynamically.
8084import { CoreCourseUnsupportedModuleComponent } from '@core/course/components/unsupported-module/unsupported-module' ;
@@ -144,7 +148,7 @@ export class CoreCompileProvider {
144148 IonicModule , TranslateModule . forChild ( ) , CoreComponentsModule , CoreDirectivesModule , CorePipesModule ,
145149 CoreCourseComponentsModule , CoreCoursesComponentsModule , CoreSiteHomeComponentsModule , CoreUserComponentsModule ,
146150 CoreCourseDirectivesModule , CoreSitePluginsDirectivesModule , CoreQuestionComponentsModule , AddonModAssignComponentsModule ,
147- AddonModWorkshopComponentsModule , CoreBlockComponentsModule
151+ AddonModWorkshopComponentsModule , CoreBlockComponentsModule , CoreEditorComponentsModule , CoreSearchComponentsModule
148152 ] ;
149153
150154 constructor ( protected injector : Injector , logger : CoreLoggerProvider , compilerFactory : JitCompilerFactory ) {
@@ -237,7 +241,8 @@ export class CoreCompileProvider {
237241 . concat ( ADDON_MOD_SURVEY_PROVIDERS ) . concat ( ADDON_MOD_URL_PROVIDERS ) . concat ( ADDON_MOD_WIKI_PROVIDERS )
238242 . concat ( ADDON_MOD_WORKSHOP_PROVIDERS ) . concat ( ADDON_NOTES_PROVIDERS ) . concat ( ADDON_NOTIFICATIONS_PROVIDERS )
239243 . concat ( CORE_PUSHNOTIFICATIONS_PROVIDERS ) . concat ( ADDON_REMOTETHEMES_PROVIDERS ) . concat ( CORE_BLOCK_PROVIDERS )
240- . concat ( CORE_FILTER_PROVIDERS ) . concat ( CORE_H5P_PROVIDERS ) ;
244+ . concat ( CORE_FILTER_PROVIDERS ) . concat ( CORE_H5P_PROVIDERS ) . concat ( CORE_EDITOR_PROVIDERS )
245+ . concat ( CORE_SEARCH_PROVIDERS ) ;
241246
242247 // We cannot inject anything to this constructor. Use the Injector to inject all the providers into the instance.
243248 for ( const i in providers ) {
0 commit comments