diff --git a/src/core/public/overlays/banners/user_banner_service.tsx b/src/core/public/overlays/banners/user_banner_service.tsx
index 643d95a1e3bb4..2b93c3e4b6c21 100644
--- a/src/core/public/overlays/banners/user_banner_service.tsx
+++ b/src/core/public/overlays/banners/user_banner_service.tsx
@@ -19,12 +19,11 @@
import React, { Fragment } from 'react';
import ReactDOM from 'react-dom';
-import ReactMarkdown from 'react-markdown';
import { filter } from 'rxjs/operators';
import { Subscription } from 'rxjs';
import { FormattedMessage } from '@kbn/i18n/react';
-import { EuiCallOut, EuiButton } from '@elastic/eui';
+import { EuiCallOut, EuiButton, EuiLoadingSpinner } from '@elastic/eui';
import { I18nStart } from '../../i18n';
import { IUiSettingsClient } from '../../ui_settings';
@@ -36,6 +35,8 @@ interface StartDeps {
uiSettings: IUiSettingsClient;
}
+const ReactMarkdownLazy = React.lazy(() => import('react-markdown'));
+
/**
* Sets up the custom banner that can be specified in advanced settings.
* @internal
@@ -75,7 +76,15 @@ export class UserBannerService {
}
iconType="help"
>
- {content.trim()}
+
+
+
+ }
+ >
+
+
banners.remove(id!)}>