react-quill
react-quill copied to clipboard
show wrong html in editor when in modal ANTD
this sample: https://codesandbox.io/s/react-quill-forked-pt4jys?file=/src/App.js
Ticket due diligence
- [ ] I have verified that the issue persists under ReactQuill
v2.0.0-beta.2
- [ ] I can't use the beta version for other reasons
ReactQuill version
- [x] master
- [ ] v2.0.0-beta.2
- [ ] v2.0.0-beta.1
- [ ] 1.3.5
- [ ] 1.3.4 or older
- [ ] Other (fork)
FAQ
Is this a bug in Quill or ReactQuill?
when use React-Quill in ant design mobile show wrong html in editor for example when in state have this:
<div style="text-align: center;"><span style="font-family: "B Titr"; font-size: 20px;">بنام خدا</span></div><div style="text-align: right;"><span style="font-family: Nastaliq; font-size: 20px;">با تشکر ار سرکار/جناب {{نام}} {{نام خانوادگی}}</span></div>
but change it to
<div style="text-align: right;"><span style="font-size: 20px; font-family: "B Titr";">بنام خدا</span><span style="font-size: 20px; font-family: Nastaliq;">با تشکر ار سرکار/جناب {{نام}} {{نام خانوادگی}}</span></div>
and custom toolbar problem with modal