|
|
@@ -146,7 +146,7 @@ export default class LiveSelection extends Selection {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Unbinds all events previously bound by document selection.
|
|
|
+ * Unbinds all events previously bound by live selection.
|
|
|
*/
|
|
|
destroy() {
|
|
|
for ( let i = 0; i < this._ranges.length; i++ ) {
|
|
|
@@ -183,15 +183,6 @@ export default class LiveSelection extends Selection {
|
|
|
|
|
|
/**
|
|
|
* @inheritDoc
|
|
|
- * TODO:
|
|
|
- */
|
|
|
- _setRanges( newRanges, isLastBackward = false ) {
|
|
|
- super._setRanges( newRanges, isLastBackward );
|
|
|
- this.refreshAttributes();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * @inheritDoc
|
|
|
*/
|
|
|
setAttribute( key, value ) {
|
|
|
// Store attribute in parent element if the selection is collapsed in an empty node.
|