react-quill icon indicating copy to clipboard operation
react-quill copied to clipboard

show wrong html in editor when in modal ANTD

Open hmz22 opened this issue 2 years ago • 1 comments

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: &quot;B Titr&quot;; 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: &quot;B Titr&quot;;">بنام خدا</span><span style="font-size: 20px; font-family: Nastaliq;">با تشکر ار سرکار/جناب {{نام}} {{نام خانوادگی}}</span></div>

and custom toolbar problem with modal

hmz22 avatar Feb 06 '23 09:02 hmz22