I have stored a html in the database and than I m fetching it back to render in the suneditor but whatever the Internal CSS I have given is not coming in the UI not even in the DOM
HTML I m using is
DIM light
Dear
An access request has been created that requires your review and approval. Your review should be completed as soon as possible.
How do I take action?
Click on the 'My Tasks' link below to go to review your open tasks.
Approver or Deny the entire request, or you can drill into the details and you can selectively approve individual records
Submit your response when you have responded to all items in the request.
and my suneditor js file is 'use client';
import { useEffect, useState } from 'react';
import { useSelector } from 'react-redux';
import SunEditor from 'suneditor-react';
import 'suneditor/dist/css/suneditor.min.css';
I have stored a html in the database and than I m fetching it back to render in the suneditor but whatever the Internal CSS I have given is not coming in the UI not even in the DOM HTML I m using is
DIM light
Dear
An access request has been created that requires your review and approval. Your review should be completed as soon as possible.
How do I take action?
My Tasks
Request Details:
Requested Areas:
Remember! r before $FIELD.duedt
Office
This email
External Privacy Policy
and my suneditor js file is 'use client'; import { useEffect, useState } from 'react'; import { useSelector } from 'react-redux'; import SunEditor from 'suneditor-react'; import 'suneditor/dist/css/suneditor.min.css';
const RichTextEditorComponent = (props) => { const [editorContent, setEditorContent] = useState(''); const [mentionData, setMentionData] = useState([]); const updatedformData = useSelector( (state) => state?.formDataReducer?.updateFormData ); const { getHeaders } = useApiUtils(); const { label, required, onChange, value, useForm, menitonFunction, name, readOnly, } = props;
};
export default RichTextEditorComponent;