nib-edit / nib

Wysiwyg / Text editor components built using React and Prosemirror
https://nib-edit.github.io/nib/
GNU General Public License v3.0
228 stars 26 forks source link

Missing CSS #92

Closed Hereward closed 4 years ago

Hereward commented 4 years ago

In my implementation there is missing CSS, resulting in icons all being block elements, stacked vertically.

Missing CSS classes start with "rdw-".

image

jpuri commented 4 years ago

Hey @Hereward : these classes do not belong to nib. Nib uses emotion lib for styling and classes do not have this name. May be some wrong classes are getting applied to the editor in this case, which are causing issue with display.

Hereward commented 4 years ago

Issue resolved - I was importing the react-draft-wysiwyg component by mistake.