create-payload-app 0.5.0-beta.2 → 0.5.0-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/lib/packages.js +4 -4
- package/package.json +1 -1
package/dist/lib/packages.js
CHANGED
@@ -44,12 +44,12 @@ exports.bundlerPackages = {
|
|
44
44
|
exports.editorPackages = {
|
45
45
|
slate: {
|
46
46
|
packageName: '@payloadcms/richtext-slate',
|
47
|
-
importReplacement: "import {
|
48
|
-
configReplacement: ' editor:
|
47
|
+
importReplacement: "import { slateEditor } from '@payloadcms/richtext-slate'",
|
48
|
+
configReplacement: ' editor: slateEditor({}),',
|
49
49
|
},
|
50
50
|
lexical: {
|
51
51
|
packageName: '@payloadcms/richtext-lexical',
|
52
|
-
importReplacement: "import {
|
53
|
-
configReplacement: ' editor:
|
52
|
+
importReplacement: "import { lexicalEditor } from '@payloadcms/richtext-lexical'",
|
53
|
+
configReplacement: ' editor: lexicalEditor({}),',
|
54
54
|
},
|
55
55
|
};
|