Skip to content

Commit

Permalink
feat: integrate RichTextEditorPreviewerV1 for description rendering i…
Browse files Browse the repository at this point in the history
…n Notification and Observability Alerts pages
  • Loading branch information
Sachin-chaurasiya committed Dec 18, 2024
1 parent 84f1449 commit cbf85ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import DeleteWidgetModal from '../../components/common/DeleteWidget/DeleteWidget
import ErrorPlaceHolder from '../../components/common/ErrorWithPlaceholder/ErrorPlaceHolder';
import NextPrevious from '../../components/common/NextPrevious/NextPrevious';
import { PagingHandlerParams } from '../../components/common/NextPrevious/NextPrevious.interface';
import RichTextEditorPreviewerV1 from '../../components/common/RichTextEditor/RichTextEditorPreviewerV1';
import Table from '../../components/common/Table/Table';
import TitleBreadcrumb from '../../components/common/TitleBreadcrumb/TitleBreadcrumb.component';
import { TitleBreadcrumbProps } from '../../components/common/TitleBreadcrumb/TitleBreadcrumb.interface';
Expand Down Expand Up @@ -241,7 +242,7 @@ const NotificationListPage = () => {
})}
</Typography.Text>
) : (
description
<RichTextEditorPreviewerV1 markdown={description} />
),
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import DeleteWidgetModal from '../../components/common/DeleteWidget/DeleteWidget
import ErrorPlaceHolder from '../../components/common/ErrorWithPlaceholder/ErrorPlaceHolder';
import NextPrevious from '../../components/common/NextPrevious/NextPrevious';
import { PagingHandlerParams } from '../../components/common/NextPrevious/NextPrevious.interface';
import RichTextEditorPreviewerV1 from '../../components/common/RichTextEditor/RichTextEditorPreviewerV1';
import Table from '../../components/common/Table/Table';
import PageHeader from '../../components/PageHeader/PageHeader.component';
import PageLayoutV1 from '../../components/PageLayoutV1/PageLayoutV1';
Expand Down Expand Up @@ -221,7 +222,7 @@ const ObservabilityAlertsPage = () => {
})}
</Typography.Text>
) : (
description
<RichTextEditorPreviewerV1 markdown={description} />
),
},
{
Expand Down

0 comments on commit cbf85ee

Please sign in to comment.