chore: rename editors

This commit is contained in:
Elliot DeNolf
2023-10-04 13:27:19 -04:00
parent 394c2bc23a
commit 1107a1d7d1
9 changed files with 22 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
import path from 'path'
import { mapAsync } from '../../packages/payload/src/utilities/mapAsync'
import { createSlate } from '../../packages/richtext-slate/src'
import { slateEditor } from '../../packages/richtext-slate/src'
import { buildConfigWithDefaults } from '../buildConfigWithDefaults'
import { devUser } from '../credentials'
import AfterDashboard from './components/AfterDashboard'
@@ -121,7 +121,7 @@ export default buildConfigWithDefaults({
{
name: 'richText',
type: 'richText',
editor: createSlate({
editor: slateEditor({
admin: {
elements: ['relationship'],
},