Skip to content

Commit c83f6df

Browse files
修复粘贴视频地址的bug 1
1 parent a3c2fa3 commit c83f6df

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎dist/js/wangEditor-1.4.0.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@ $.extend($E.fn, {
26252625
height = defaultHeight;
26262626
}
26272627

2628-
if ((/.swf\s*$/i).test(src) === true) {
2628+
if ((/.swf/i).test(src) === true) {
26292629
// swf 格式
26302630
html = $E.htmlTemplates.videoEmbed
26312631
.replace(/#{vedioUrl}/ig, src)

‎dist/js/wangEditor-1.4.0.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/js/wangEditor.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@ $.extend($E.fn, {
26252625
height = defaultHeight;
26262626
}
26272627

2628-
if ((/.swf\s*$/i).test(src) === true) {
2628+
if ((/.swf/i).test(src) === true) {
26292629
// swf 格式
26302630
html = $E.htmlTemplates.videoEmbed
26312631
.replace(/#{vedioUrl}/ig, src)

‎dist/js/wangEditor.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/js/parts/11-fn-menus.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ $.extend($E.fn, {
615615
height = defaultHeight;
616616
}
617617

618-
if ((/.swf\s*$/i).test(src) === true) {
618+
if ((/.swf/i).test(src) === true) {
619619
// swf 格式
620620
html = $E.htmlTemplates.videoEmbed
621621
.replace(/#{vedioUrl}/ig, src)

‎src/js/parts/11-fn-menus/009-insertVideo.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
height = defaultHeight;
6161
}
6262

63-
if ((/.swf\s*$/i).test(src) === true) {
63+
if ((/.swf/i).test(src) === true) {
6464
// swf 格式
6565
html = $E.htmlTemplates.videoEmbed
6666
.replace(/#{vedioUrl}/ig, src)

‎src/js/wangEditor-1.4.0.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@ $.extend($E.fn, {
26252625
height = defaultHeight;
26262626
}
26272627

2628-
if ((/.swf\s*$/i).test(src) === true) {
2628+
if ((/.swf/i).test(src) === true) {
26292629
// swf 格式
26302630
html = $E.htmlTemplates.videoEmbed
26312631
.replace(/#{vedioUrl}/ig, src)

‎src/js/wangEditor.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2625,7 +2625,7 @@ $.extend($E.fn, {
26252625
height = defaultHeight;
26262626
}
26272627

2628-
if ((/.swf\s*$/i).test(src) === true) {
2628+
if ((/.swf/i).test(src) === true) {
26292629
// swf 格式
26302630
html = $E.htmlTemplates.videoEmbed
26312631
.replace(/#{vedioUrl}/ig, src)

0 commit comments

Comments
 (0)