From 7489c563bdf59d78cd37351079ada9864d1f78b4 Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Thu, 20 Feb 2020 10:49:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E9=99=90=E5=88=B6=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=8F=92=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/RichText.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: