From 4aafe47fbb3f1befee66fc6decb0f79fc847d904 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 25 May 2013 01:26:34 +0200 Subject: [PATCH] OEmbed resize on correct attrs (fixes #1950) --- thirdparty/tinymce_ssbuttons/editor_plugin_src.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/tinymce_ssbuttons/editor_plugin_src.js b/thirdparty/tinymce_ssbuttons/editor_plugin_src.js index aad2f3cb7..683bfb560 100644 --- a/thirdparty/tinymce_ssbuttons/editor_plugin_src.js +++ b/thirdparty/tinymce_ssbuttons/editor_plugin_src.js @@ -62,8 +62,8 @@ var content = jQuery(o.content); content.find('.ss-htmleditorfield-file.embed').each(function() { var el = jQuery(this); - var shortCode = '[embed width="' + el.data('width') + '"' - + ' height="' + el.data('height') + '"' + var shortCode = '[embed width="' + el.attr('width') + '"' + + ' height="' + el.attr('height') + '"' + ' class="' + el.data('cssclass') + '"' + ' thumbnail="' + el.data('thumbnail') + '"' + ']' + el.data('url')