VisualEditor: Add selection restriction to command

Depends on I88f3d04 in VE.

Change-Id: I3726b87bfbb37d7f2bd1ecb4791ec42ab8466158
Merge "VisualEditor: Add selection restriction to command"