jpuri / react-draft-wysiwyg

A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
MIT License
6.38k stars 1.16k forks source link

"Open in new tab" value does not populate on edit mode #1411

Open dashtaki opened 7 months ago

dashtaki commented 7 months ago

My current option:

toolbar={{
   options,
   link: { 
     showOpenOptionOnHover: false,
     defaultTargetOption: '_self'
   }
}}

Reproduce steps:

  1. Add a link as "Open in new tab" as true.
  2. Save changes.
  3. Open editor to edit the added link
  4. Then you see even though you checked "Open in new tab", It shows the unchecked checkbox.

Version : 1.15.0 Chrome: 119.0.6045.159 (Official Build) (arm64)

Screenshot 2023-11-23 at 11 33 57