// To capture both mouseup and touchend events, we need to track the gesturemoveend event in standAlone mode. Without
// standAlone, it will only fire if we listened to a gesturemovestart too.
- Y.one(Y.config.doc.body).on('gesturemoveend', this._hasSelectionChanged, {
+ Y.delegate('gesturemoveend', this._hasSelectionChanged, document.body, '#' + this.editor.get('id'), {
standAlone: true
}, this);