Correct me if I'm wrong, but can't we be a bit more specific about when this method needs to be called? I think we only need to call it if `wym.selected()` is either a UL/OL/LI or has a parent that's a UL/OL/LI. Can you think of any other cases where it would be necessary?

In general, we want to be very careful about only doing the minimal amount of work in the `keyup` handler, because that's called very often.