Bugs on a variety of Os
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
Hi
I have bug in jodit text editor ,
Please help me to resolve this problems
import React, { useRef } from 'react';
import JoditEditor from 'jodit-react';
import 'jodit/build/jodit.min.css';
const TextEditor = ({
value,
onChange,
height
}) => {
const editor = useRef(null);
const config = {
readonly: false,
askBeforePasteFromWord: false,
askBeforePasteHTML: false,
height,
width: '100%'
return (
<JoditEditor
ref={editor}
value={value}
config={config}
onBlur={(e) => {
console.log(e)
onChange(e.srcElement ? e.srcElement.innerText : e);
}}
/>
);
};
export default TextEditor;
-
in Linux(mint) , when onBlur , console return string but in mac os console return an object
-
in Linux when user type on other text field , the textEditor has a jump but in mac Os work correctly
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the supplied TextEditor component, especially the JoditEditor onBlur handler and the reported Linux Mint and macOS behavior. Reproduce both issues across the two operating systems; done means blur returns a consistent value and the editor does not jump when another text field receives input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100