Minor: Deprecate RichTextEditorPreviewer component and recommend alternative (#19204)

(cherry picked from commit 6542123a52c22df7e8cf98856b1af70b007bd48f)
This commit is contained in:
Sachin Chaurasiya 2025-01-02 20:44:58 +05:30
parent 6b230f3440
commit f0c610f5a8

View File

@ -27,6 +27,10 @@ import {
import './rich-text-editor-previewer.less';
import { PreviewerProp } from './RichTextEditor.interface';
/**
* @deprecated This component is deprecated and will be removed in future releases.
* Please use {@link https://github.com/open-metadata/OpenMetadata/blob/main/openmetadata-ui/src/main/resources/ui/src/components/common/RichTextEditor/RichTextEditorPreviewerV1.tsx|RichTextEditorPreviewerV1} instead of this component.
*/
const RichTextEditorPreviewer = ({
markdown = '',
className = '',