We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jodit Version: 3.4.xxxxx
Browser: OS: Is React App:
Code
import React, { useEffect, useState } from "react"; import ReactQuill from "react-quill"; import "react-quill/dist/quill.snow.css"; // import styles const suppressQuillWarnings = () => { const originalConsoleWarn = console.warn; console.warn = (message, ...rest) => { if (message && message.includes("DOMNodeInserted")) { return; } originalConsoleWarn(message, ...rest); }; }; const MyEditor = ({value, onChange, label}) => { useEffect(() => { suppressQuillWarnings(); }, []); return ( <div> <label className="block text-sm font-medium text-gray-700 mb-2">{label}</label> <div> <ReactQuill value={value} onChange={onChange} placeholder="Start typing..." /> </div> </div> ); }; export default MyEditor;
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Jodit Version: 3.4.xxxxx
Browser:
OS:
Is React App:
Code
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: