不限制视频插入

This commit is contained in:
2betop 2020-02-20 10:49:29 +08:00
parent e66bf22467
commit 7489c563bd

View File

@ -203,9 +203,10 @@ export default class FroalaEditor extends React.Component<any, any> {
}
}
// 不限制视频插入。
($ as any).FE.VIDEO_PROVIDERS = [
{
test_regex: /^.+(bcebos.com)\/[^_&]+/,
test_regex: /.*/,
url_regex: '',
url_text: '',
html: