Register allowed formats only when added to toolbar.