DEV Community

loading...

Discussion on: How to style Draft.js editor

Collapse
lvdang profile image
lvdang

Tuoma,

Sorry for the late response. I am going to attempt this with draft-js-plugins-editor. My project is wrapped in this library. If you have tried already please let me know.

Thanks,
Luan Dang

Thread Thread
lvdang profile image
lvdang

Tuoma,

I figured out my issue. I had position: relative in my draftjs blocks and imported Draft.css, this caused me issue. I decided to use display: flex and changed position: static since Draft.css sets DraftEditor-root to position : relative. Thanks again.

Luan

Thread Thread
tumee profile image
Tuomo Kankaanpää Author

Great to hear that you got it working!