Skip to content

Commit 82af8d9

Browse files
committed
docs: update docs for rich editor
1 parent 7bc78f6 commit 82af8d9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

adminforth/documentation/docs/tutorial/07-Plugins/04-RichEditor.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,7 @@ export default {
227227
filePath: ({ originalFilename, originalExtension, contentType }) =>
228228
`description_images/${new Date().getFullYear()}/${uuid()}/${originalFilename}.${originalExtension}`,
229229

230-
preview: {
231-
// Used to display preview (if it is image) in list and show views instead of just path
232-
// previewUrl: ({s3Path}) => `https://tmpbucket-adminforth.s3.eu-central-1.amazonaws.com/${s3Path}`,
233-
// show image preview instead of path in list view
234-
// showInList: false,
235-
},
230+
236231
}),
237232
],
238233
} as AdminForthResourceInput;

0 commit comments

Comments
 (0)