Facing cors issue while trying to add Quill editor to WYSIWYG editor in strapiv4

Access to XMLHttpRequest at 'https://analytics.strapi.io/api/v2/track' from origin 'http://localhost:1339' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main.e2aaaed1.js:137032     POST https://analytics.strapi.io/api/v2/track net::ERR_FAILED
dispat

Cors middleware config :

{
    name: "strapi::cors",
    config: {
      origin: ["*"],
      expose: [
        "WWW-Authenticate",
        "Server-Authorization",
        "Access-Control-Expose-Headers",
      ],
      maxAge: 31536000,
      credentials: true,
      methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"],
      headers: [
        "Content-Type",
        "Authorization",
        "X-Frame-Options",
        "Origin",
        "Accept",
        "Access-Control-Allow-Headers",
      ],
    },
  },