You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to run the example code from the Rich Text Editor https://github.com/ianstormtaylor/slate/blob/main/site/examples/richtext.tsx but noticed that it refers to an import of Button, Icon and Toolbar from one level above components folder (import { Button, Icon, Toolbar } from '../components') though under the examples, there is not 'components' folder. Can someone please let me know where do I find these components?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was trying to run the example code from the Rich Text Editor https://github.com/ianstormtaylor/slate/blob/main/site/examples/richtext.tsx but noticed that it refers to an import of Button, Icon and Toolbar from one level above components folder (import { Button, Icon, Toolbar } from '../components') though under the examples, there is not 'components' folder. Can someone please let me know where do I find these components?
error.... Can't resolve '../components'
I'm using code from https://github.com/ianstormtaylor/slate/blob/main/site/examples/richtext.tsx
Beta Was this translation helpful? Give feedback.
All reactions