diff --git a/js/vips.js b/js/vips.js
index 4f5aef774a55f5e219e86acb2c7c7b9d8c792e02..30c7322dce382d682b617e646d38fb2cee48f66f 100644
--- a/js/vips.js
+++ b/js/vips.js
@@ -89,7 +89,7 @@ $(function() {
         });
     }
 
-    $(document).on('focus', '.ck-content', function(event) {
+    $(document).on('focus', '.ck-editor__editable', function(event) {
         vipsCharacterPickerTarget = $(this);
         vipsCharacterPickerTarget.data('ckeditor', this.ckeditorInstance);
     });