toggleEditing() {
        this.state('editing', !this.state('editing'));

        this.markDirty();
        this.context().applyChanges();

        return this;
    }
Toggle editing state.

@return {TreeNode} Node object.