Don't add a quick actions toolbar item for non-editor views
Max Brunsfeld
created
Rather than adding primary toolbar item that renders as empty,
don't add an item at all. This prevents spurious spacing from
being added after other primary toolbar items.