diff --git a/changelog.txt b/changelog.txt index 1fc9d5a4182..dbbeb7ffff0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +Version 4.9.2-mysw-10 (2019-01-23) + Wrapped media embed in some helpful classes + Disabled media embed textarea + Version 4.9.2-mysw-9 (2019-01-04) Merged core 4.9.2 with mysw changes diff --git a/js/tinymce/plugins/media/plugin.js b/js/tinymce/plugins/media/plugin.js index c75d44548a9..fc1c852c23f 100644 --- a/js/tinymce/plugins/media/plugin.js +++ b/js/tinymce/plugins/media/plugin.js @@ -773,7 +773,8 @@ var media = (function () { value: getSource(editor), multiline: true, rows: 5, - label: 'Source' + label: 'Source', + disabled: true }; var updateValueOnChange = function () { data = global$2.extend({}, HtmlToData.htmlToData(Settings.getScripts(editor), this.value())); @@ -816,6 +817,7 @@ var media = (function () { data: data, bodyType: 'tabpanel', body: body, + classes: 'mysw-video-dialog-wrapper', onSubmit: function () { SizeManager.updateSize(win); submitForm(win, editor); diff --git a/js/tinymce/plugins/media/plugin.min.js b/js/tinymce/plugins/media/plugin.min.js index 0dd06ba6816..8bba714f689 100644 --- a/js/tinymce/plugins/media/plugin.min.js +++ b/js/tinymce/plugins/media/plugin.min.js @@ -1 +1 @@ -!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=tinymce.util.Tools.resolve("tinymce.Env"),v=tinymce.util.Tools.resolve("tinymce.util.Tools"),w=function(e){return e.getParam("media_scripts")},b=function(e){return e.getParam("audio_template_callback")},y=function(e){return e.getParam("video_template_callback")},n=function(e){return e.getParam("media_live_embeds",!0)},t=function(e){return e.getParam("media_filter_html",!0)},s=function(e){return e.getParam("media_url_resolver")},m=function(e){return e.getParam("media_alt_source",!0)},d=function(e){return e.getParam("media_poster",!0)},h=function(e){return e.getParam("media_dimensions",!0)},p=tinymce.util.Tools.resolve("tinymce.html.SaxParser"),r=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),x=function(e,t){if(e)for(var r=0;r"):"application/x-shockwave-flash"===i.source1mime?(d='',m.poster&&(d+=''),d+=""):-1!==i.source1mime.indexOf("audio")?(u=i,(l=f)?l(u):'"):"script"===i.type?'