X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fselection%2Fplugin.js;h=fd8332e0a04a2925d00e9a4dba166a1168210942;hp=3a4eb8071798121b9da958da1d06602752ed9f51;hb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b diff --git a/_source/plugins/selection/plugin.js b/_source/plugins/selection/plugin.js index 3a4eb80..fd8332e 100644 --- a/_source/plugins/selection/plugin.js +++ b/_source/plugins/selection/plugin.js @@ -327,6 +327,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license } }); + // Clear the cached range path before unload. (#7174) + editor.on( 'contentDomUnload', editor.forceNextSelectionCheck, editor ); + editor.addCommand( 'selectAll', selectAllCmd ); editor.ui.addButton( 'SelectAll', {