jpuri / react-draft-wysiwyg

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

"Add" and "Cancel" texts in the toolbar modal buttons are not displaying #1154

Open eakenbor opened 3 years ago

eakenbor commented 3 years ago

I have not applied any CSS yet. The texts in the toolbar modal buttons are not showing at all although they are working when clicked. I use: "react": "^17.0.2", "react-dom": "^17.0.2", "react-draft-wysiwyg": "^1.14.7", "draft-js": "^0.11.7"

Please can someone help me solve this? I have attached the images:

fzddzzd dsdfdsfds ffsffddfdfdd

natiloresilva commented 2 years ago

@eakenbor I'm having the same problem. Have you found any solution?

klaud-skora commented 2 years ago

overwrite styles in your css, e.g.

.rdw-link-modal {
  height: 230px;
}
LorraineWang0915 commented 2 years ago

Maybe your css cover its origin styles. You can overwrite font colour in your css. .rdw-image-modal-btn { color: #000000; } .rdw-link-modal-btn { color: #000000; } .rdw-embedded-modal { height: 210px !important; } .rdw-embedded-modal-btn { color: #000000; }