Skip to content

Commit

Permalink
Add Emoji Picker to Playground (facebook#3122)
Browse files Browse the repository at this point in the history
* Emoji progress

* Add Emoji Picker to Playground

* Add Emoji Picker to Playground
  • Loading branch information
tylerjbainbridge authored Oct 7, 2022
1 parent 98674fc commit 752bb5e
Show file tree
Hide file tree
Showing 4 changed files with 16,821 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lexical-playground/src/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import CollapsiblePlugin from './plugins/CollapsiblePlugin';
import CommentPlugin from './plugins/CommentPlugin';
import ComponentPickerPlugin from './plugins/ComponentPickerPlugin';
import DraggableBlockPlugin from './plugins/DraggableBlockPlugin';
import EmojiPickerPlugin from './plugins/EmojiPickerPlugin';
import EmojisPlugin from './plugins/EmojisPlugin';
import EquationsPlugin from './plugins/EquationsPlugin';
import ExcalidrawPlugin from './plugins/ExcalidrawPlugin';
Expand Down Expand Up @@ -120,6 +121,7 @@ export default function Editor(): JSX.Element {
<AutoFocusPlugin />
<ClearEditorPlugin />
<ComponentPickerPlugin />
<EmojiPickerPlugin />
<AutoEmbedPlugin />
<MentionsPlugin />
<EmojisPlugin />
Expand Down
4 changes: 4 additions & 0 deletions packages/lexical-playground/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ pre::-webkit-scrollbar-thumb {
width: 150px;
}

.emoji-menu {
width: 200px;
}

i.palette {
background-image: url(images/icons/palette.svg);
}
Expand Down
Loading

0 comments on commit 752bb5e

Please sign in to comment.