JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.2
[ckeditor.git] / _source / plugins / selection / plugin.js
index 3a4eb80..fd8332e 100644 (file)
@@ -327,6 +327,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                        }\r
                                });\r
 \r
+                       // Clear the cached range path before unload. (#7174)\r
+                       editor.on( 'contentDomUnload', editor.forceNextSelectionCheck, editor );\r
+\r
                        editor.addCommand( 'selectAll', selectAllCmd );\r
                        editor.ui.addButton( 'SelectAll',\r
                                {\r