@@ -18,6 +18,7 @@ const Markdown = React.memo(({ children }) => {
|
||||
plugins,
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
linkifyTlds: null,
|
||||
sanitizeOptions: {
|
||||
...defaultSanitizeOptions,
|
||||
allowedSchemesByTag: { img: ['http', 'https', 'data'] },
|
||||
|
||||
@@ -80,6 +80,7 @@ const MarkdownEditor = React.forwardRef(
|
||||
md: {
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
linkifyTlds: null,
|
||||
},
|
||||
handlers: {
|
||||
uploadFile: fileUploadHandler,
|
||||
|
||||
Reference in New Issue
Block a user