]> git.immae.eu Git - perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git/blobdiff - sources/plugins/floatingspace/plugin.js
Add oembed
[perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git] / sources / plugins / floatingspace / plugin.js
index 70e0ce9b75234ed28e54ce0c4f7271db70a9ff8a..bea3306343afb9f74f0cec3bf9a515fa986b19f4 100644 (file)
@@ -1,5 +1,5 @@
 /**\r
- * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
  * For licensing, see LICENSE.md or http://ckeditor.com/license\r
  */\r
 \r
@@ -68,7 +68,7 @@
                                }\r
 \r
                                return function( evt ) {\r
-                                       // #10112 Do not fail on editable-less editor.\r
+                                       // http://dev.ckeditor.com/ticket/10112 Do not fail on editable-less editor.\r
                                        if ( !( editable = editor.editable() ) )\r
                                                return;\r
 \r
                                                alignSide = mid - editorRect.left > editorRect.right - mid ? 'left' : 'right';\r
                                        }\r
 \r
-                                       // (#9769) If viewport width is less than space width,\r
+                                       // (http://dev.ckeditor.com/ticket/9769) If viewport width is less than space width,\r
                                        // make sure space never cross the left boundary of the viewport.\r
                                        // In other words: top-left corner of the space is always visible.\r
                                        if ( spaceRect.width > viewRect.width ) {\r
                                                                offset = 0;\r
                                                }\r
 \r
-                                               // (#9769) Finally, stick the space to the opposite side of\r
+                                               // (http://dev.ckeditor.com/ticket/9769) Finally, stick the space to the opposite side of\r
                                                // the viewport when it's cut off horizontally on the left/right\r
                                                // side like below.\r
                                                //\r
                                        }\r
 \r
                                        // Pin mode is fixed, so don't include scroll-x.\r
-                                       // (#9903) For mode is "top" or "bottom", add opposite scroll-x for right-aligned space.\r
+                                       // (http://dev.ckeditor.com/ticket/9903) For mode is "top" or "bottom", add opposite scroll-x for right-aligned space.\r
                                        var scroll = mode == 'pin' ? 0 : alignSide == 'left' ? pageScrollX : -pageScrollX;\r
 \r
                                        floatSpace.setStyle( alignSide, pixelate( ( mode == 'pin' ? pinnedOffsetX : dockedOffsetX ) + offset + scroll ) );\r