simplify template editor method
adding button-group and dropdown menu inside toolbar, but still buggy :grin: