Skip to content

Commit

Permalink
feat: replace workaround EditorRefPlugin with lexicals
Browse files Browse the repository at this point in the history
  • Loading branch information
2wheeh committed Mar 20, 2024
1 parent e76fc48 commit e0fb6cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
43 changes: 0 additions & 43 deletions ui/src/editor/plugins/editor-ref/index.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion ui/src/editor/plugins/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import LexicalErrorBoundary from '@lexical/react/LexicalErrorBoundary';
import { ContentEditable } from '@lexical/react/LexicalContentEditable';

import { useEditorRef } from '@/context/editor/editor-ref-context';
import { EditorRefPlugin } from '@/editor/plugins/editor-ref';
import { MarkdownShortcutPlugin } from '@/editor/plugins/markdown-shorcut';
import { EditorRefPlugin } from '@lexical/react/LexicalEditorRefPlugin';

function Placeholder() {
return <div className="placeholder">Begin writing your review...</div>;
Expand Down

0 comments on commit e0fb6cc

Please sign in to comment.