diff --git a/src/Squidex/app/shared/components/rich-editor.component.ts b/src/Squidex/app/shared/components/rich-editor.component.ts
index ed8714654..b88b56988 100644
--- a/src/Squidex/app/shared/components/rich-editor.component.ts
+++ b/src/Squidex/app/shared/components/rich-editor.component.ts
@@ -8,9 +8,9 @@
import { AfterViewInit, Component, forwardRef, ElementRef, OnDestroy, ViewChild } from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR, FormBuilder } from '@angular/forms';
-import { Types, ResourceLoaderService } from 'framework';
import { AppComponentBase } from './app.component-base';
-import { ModalView, AppsStoreService, AssetDto, AssetsService, ImmutableArray, DialogService, AuthService, Pager } from './../declarations-base';
+import { AssetUrlPipe } from './pipes';
+import { ApiUrlConfig, ModalView, AppsStoreService, AssetDto, AssetsService, ImmutableArray, DialogService, AuthService, Pager, Types, ResourceLoaderService } from './../declarations-base';
declare var tinymce: any;
@@ -31,8 +31,10 @@ export class RichEditorComponent extends AppComponentBase implements ControlValu
private tinyInitTimer: any;
private value: string;
private isDisabled = false;
+ private assetSelectorClickHandler: any = null;
public assetsItems: ImmutableArray