diff --git a/src/components/RichText.tsx b/src/components/RichText.tsx index 839c27c6f..f1580fe43 100644 --- a/src/components/RichText.tsx +++ b/src/components/RichText.tsx @@ -203,9 +203,10 @@ export default class FroalaEditor extends React.Component { } } +// 不限制视频插入。 ($ as any).FE.VIDEO_PROVIDERS = [ { - test_regex: /^.+(bcebos.com)\/[^_&]+/, + test_regex: /.*/, url_regex: '', url_text: '', html: