mirror of
https://github.com/codex-team/editor.js
synced 2024-06-16 04:35:50 +02:00
global flag added in url comoposition
This commit is contained in:
parent
c759892766
commit
37d21f6287
|
@ -74,7 +74,7 @@ videoTool.content = {
|
|||
},
|
||||
|
||||
getHtmlWithVideoId: function (type, id) {
|
||||
return videoTool.content.services[type].html.replace("<%= remote_id %>", id);
|
||||
return videoTool.content.services[type].html.replace(/<\%\= remote\_id \%\>/g, id);
|
||||
},
|
||||
|
||||
makeElementFromHtml: function(html) {
|
||||
|
|
Loading…
Reference in a new issue