From 317f8f8f0651488f226b5280a8f036c7c135c639 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Isma=C3=ABl=20Bouya?=
Date: Mon, 4 Dec 2017 17:54:04 +0100
Subject: Add oembed
---
sources/plugins/dialog/dialogDefinition.js | 2 +-
sources/plugins/dialog/plugin.js | 67 +++++++++++++---------
sources/plugins/dialog/samples/assets/my_dialog.js | 2 +-
sources/plugins/dialog/samples/dialog.html | 4 +-
4 files changed, 44 insertions(+), 31 deletions(-)
(limited to 'sources/plugins/dialog')
diff --git a/sources/plugins/dialog/dialogDefinition.js b/sources/plugins/dialog/dialogDefinition.js
index df5870c..6ecb491 100644
--- a/sources/plugins/dialog/dialogDefinition.js
+++ b/sources/plugins/dialog/dialogDefinition.js
@@ -1,6 +1,6 @@
// jscs:disable disallowMixedSpacesAndTabs
/**
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
diff --git a/sources/plugins/dialog/plugin.js b/sources/plugins/dialog/plugin.js
index 3afe887..f26f9c9 100644
--- a/sources/plugins/dialog/plugin.js
+++ b/sources/plugins/dialog/plugin.js
@@ -1,5 +1,5 @@
/**
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
@@ -177,10 +177,10 @@ CKEDITOR.DIALOG_STATE_BUSY = 2;
title = body.getChild( 0 ),
close = body.getChild( 1 );
- // Don't allow dragging on dialog (#13184).
+ // Don't allow dragging on dialog (http://dev.ckeditor.com/ticket/13184).
editor.plugins.clipboard && CKEDITOR.plugins.clipboard.preventDefaultDropOnElement( body );
- // IFrame shim for dialog that masks activeX in IE. (#7619)
+ // IFrame shim for dialog that masks activeX in IE. (http://dev.ckeditor.com/ticket/7619)
if ( CKEDITOR.env.ie && !CKEDITOR.env.quirks && !CKEDITOR.env.edge ) {
var src = 'javascript:void(function(){' + encodeURIComponent( 'document.open();(' + CKEDITOR.tools.fixDomain + ')();document.close();' ) + '}())', // jshint ignore:line
iframe = CKEDITOR.dom.element.createFromHtml( '
- Copyright © 2003-2016, CKSource - Frederico
+ Copyright © 2003-2017, CKSource - Frederico
Knabben. All rights reserved.
--
cgit v1.2.3