new editor
This commit is contained in:
@@ -7,7 +7,7 @@ import { Input, Textarea } from '../../../../components/ui/Input';
|
||||
import Button from '../../../../components/ui/Button';
|
||||
import TagInput from '../../../../components/stories/TagInput';
|
||||
import TagSuggestions from '../../../../components/tags/TagSuggestions';
|
||||
import PortableTextEditor from '../../../../components/stories/PortableTextEditor';
|
||||
import SlateEditor from '../../../../components/stories/SlateEditor';
|
||||
import ImageUpload from '../../../../components/ui/ImageUpload';
|
||||
import AuthorSelector from '../../../../components/stories/AuthorSelector';
|
||||
import SeriesSelector from '../../../../components/stories/SeriesSelector';
|
||||
@@ -337,7 +337,7 @@ export default function EditStoryPage() {
|
||||
<label className="block text-sm font-medium theme-header mb-2">
|
||||
Story Content *
|
||||
</label>
|
||||
<PortableTextEditor
|
||||
<SlateEditor
|
||||
value={formData.contentHtml}
|
||||
onChange={handleContentChange}
|
||||
placeholder="Edit your story content here..."
|
||||
|
||||
Reference in New Issue
Block a user