# This is a meta title - Made In

Meta description

```json
{
  "_key": "de781fc28176",
  "_type": "tableOfContents",
  "title": "Glossary"
}
```

Sanity’s editor for Portable Text is built to be customizable for different editorial needs. You can configure and tailor several different editors throughout the studio. To learn more about how to configure the editor in this chapter.



```json
{
  "_key": "36b355e3acb0",
  "_type": "merchandisingSection",
  "data": {
    "_id": "291e498b-a5e0-4e8c-863f-dcde3daac8cd",
    "_type": "merchandisingSection",
    "contentType": null,
    "displayType": "slider",
    "metafields": null,
    "subsections": [
      {
        "_key": "21ce9765b6dc",
        "badgeStrategy": null,
        "canFilter": null,
        "ctas": [
          {
            "_key": "8f7d7328a942",
            "isExternal": null,
            "title": "Shop Best Sellers",
            "type": null,
            "url": "/collections/best-sellers"
          }
        ],
        "description": null,
        "dynamicProducts": null,
        "isDisjunctive": null,
        "isDynamic": null,
        "items": [
          {
            "_id": null,
            "_type": null,
            "includedVariants": null,
            "isHero": null,
            "isHidden": null,
            "metafields": null,
            "post": null,
            "primaryDimension": null,
            "product": null,
            "promo": null,
            "secondaryDimension": null,
            "section": null,
            "size": null,
            "type": "variant",
            "variant": {
              "_id": "variant-39921335763023",
              "badges": [
                {
                  "_key": "Best Seller",
                  "logoAsset": null,
                  "title": "Best Seller"
                }
              ],
              "collegiateAsset": null,
              "computed": {
                "compare_at_price": 1458,
                "discount": 18,
                "isAvailable": true,
                "isPrimary": false,
                "offset": 259,
                "price": 1199,
                "status": "forSale"
              },
              "handle": {
                "current": "13-piece"
              },
              "imageBadges": null,
              "media": [
                {
                  "_key": "211cc5be76a679c0f2d41e788f2528b7",
                  "description": null,
                  "hotspots": null,
                  "image": {
                    "asset": {
                      "altText": "A modern kitchen stove features various pots and pans, including a black frying pan, a silver pot, and a wooden utensil, against a light-colored tiled backsplash.",
                      "metadata": {
                        "dimensions": {
                          "_type": "sanity.imageDimensions",
                          "aspectRatio": 1,
                          "height": 1500,
                          "width": 1500
                        },
                        "lqip": "data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAAUABQDASIAAhEBAxEB/8QAGAABAQEBAQAAAAAAAAAAAAAAAAYHAwT/xAAoEAABBAIBAwEJAAAAAAAAAAACAAEDBAUREgYHIRQVIjEyQVFhkaH/xAAYAQEAAwEAAAAAAAAAAAAAAAADAAECBP/EAB0RAAICAQUAAAAAAAAAAAAAAAABAhEDEiExQVH/2gAMAwEAAhEDEQA/AKMIM1GGytF4+vBl1CbOV8lSaxO3pzP39jrwpS93aq+1PTBQmkps+imF/D/ll6YetR6oGtVpAbzBK22ZtPw+653jiuB7fZrLXINeZg/aKYZ5AFhCiRMzfEnRU3WxFCzA+2+Mr5bqGCpe5nAbO5Dy1tb7gOicJiLY2aNYgldtb5u6IlxpNGcjZXBRg4/L/URE+mPgNs//2Q=="
                      },
                      "url": "https://cdn.sanity.io/images/fr9flhkd/main/eddedf26ad62489b59f8917be82474c8c6270043-1500x1500.jpg"
                    }
                  },
                  "tags": [
                    "secondary"
                  ],
                  "type": "image",
                  "video": null
                }
              ],
              "meta": {
                "hasCollegiate": false,
                "hasTrial": true,
                "hasWaitList": false,
                "isCollegiate": false,
                "isFinalSale": false,
                "isHidden": false,
                "isOnSale": true,
                "isSet": true,
                "promoDates": null,
                "promoPrice": null,
                "warranty": null
              },
              "product": {
                "ranking": 1,
                "rating": {
                  "rating": 4.92,
                  "rating_count": 3279
                },
                "shopify": {
                  "handle": "the-stainless-sets",
                  "id": 6718247632975,
                  "image": {
                    "alt": null,
                    "height": 1500,
                    "src": "https://cdn.shopify.com/s/files/1/2131/5111/files/Stainless_Set_10p_CookwareSet_002.jpg?v=1762199310",
                    "width": 1500
                  },
                  "title": "Stainless Set"
                }
              },
              "shopify": {
                "handle": null,
                "id": 39921335763023,
                "image": {
                  "alt": null,
                  "height": 1500,
                  "src": "https://cdn.shopify.com/s/files/1/2131/5111/files/13_pc_studio.jpg?v=1760985909",
                  "width": 1500
                },
                "option1": "13-Piece",
                "option2": null,
                "option3": null,
                "title": "13-Piece"
              },
              "taxonomies": [
                {
                  "handle": {
                    "current": "stainless-clad"
                  },
                  "title": "Stainless Clad",
                  "type": "material"
                },
                {
                  "handle": {
                    "current": "sets"
                  },
                  "title": "Sets",
                  "type": "product_category"
                },
                {
                  "handle": {
                    "current": "frying-pans"
                  },
                  "title": "Frying Pans",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "cookware"
                  },
                  "title": "Cookware",
                  "type": "product_category"
                },
                {
                  "handle": {
                    "current": "best-sellers"
                  },
                  "title": "Best Sellers",
                  "type": "merchandising"
                },
                {
                  "handle": {
                    "current": "stock-pots"
                  },
                  "title": "Stock Pots",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "saute-pan"
                  },
                  "title": "Saute Pans",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "wok"
                  },
                  "title": "Wok",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "saucepan"
                  },
                  "title": "Saucepans",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "induction-compatible"
                  },
                  "title": "Induction Compatible",
                  "type": "features"
                },
                {
                  "handle": {
                    "current": "pfas-free"
                  },
                  "title": "Free of PFAS",
                  "type": "features"
                },
                {
                  "handle": {
                    "current": "stay-cool-handle"
                  },
                  "title": "Stay Cool Handles",
                  "type": "features"
                }
              ],
              "title": null
            },
            "viewport": null
          },
          {
            "_id": null,
            "_type": null,
            "includedVariants": null,
            "isHero": null,
            "isHidden": null,
            "metafields": null,
            "post": null,
            "primaryDimension": null,
            "product": null,
            "promo": null,
            "secondaryDimension": null,
            "section": null,
            "size": null,
            "type": "variant",
            "variant": {
              "_id": "variant-39921335631951",
              "badges": [],
              "collegiateAsset": null,
              "computed": {
                "compare_at_price": 676,
                "discount": 17,
                "isAvailable": false,
                "isPrimary": false,
                "offset": 117,
                "price": 559,
                "status": "outOfStock"
              },
              "handle": {
                "current": "6-piece"
              },
              "imageBadges": null,
              "media": [],
              "meta": {
                "hasCollegiate": false,
                "hasTrial": false,
                "hasWaitList": false,
                "isCollegiate": false,
                "isFinalSale": false,
                "isHidden": true,
                "isOnSale": true,
                "isSet": true,
                "promoDates": null,
                "promoPrice": null,
                "warranty": null
              },
              "product": {
                "ranking": 1,
                "rating": {
                  "rating": 4.92,
                  "rating_count": 3279
                },
                "shopify": {
                  "handle": "the-stainless-sets",
                  "id": 6718247632975,
                  "image": {
                    "alt": null,
                    "height": 1500,
                    "src": "https://cdn.shopify.com/s/files/1/2131/5111/files/Stainless_Set_10p_CookwareSet_002.jpg?v=1762199310",
                    "width": 1500
                  },
                  "title": "Stainless Set"
                }
              },
              "shopify": {
                "handle": null,
                "id": 39921335631951,
                "image": {
                  "alt": null,
                  "height": 1500,
                  "src": "https://cdn.shopify.com/s/files/1/2131/5111/files/Web_1x1_Stainless_Set_6p_Multi_Hero_Ceramic_002.jpg?v=1763060310",
                  "width": 1500
                },
                "option1": "6-Piece",
                "option2": null,
                "option3": null,
                "title": "6-Piece"
              },
              "taxonomies": [
                {
                  "handle": {
                    "current": "stainless-clad"
                  },
                  "title": "Stainless Clad",
                  "type": "material"
                },
                {
                  "handle": {
                    "current": "sets"
                  },
                  "title": "Sets",
                  "type": "product_category"
                },
                {
                  "handle": {
                    "current": "cookware"
                  },
                  "title": "Cookware",
                  "type": "product_category"
                },
                {
                  "handle": {
                    "current": "best-sellers"
                  },
                  "title": "Best Sellers",
                  "type": "merchandising"
                },
                {
                  "handle": {
                    "current": "frying-pans"
                  },
                  "title": "Frying Pans",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "stock-pots"
                  },
                  "title": "Stock Pots",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "saute-pan"
                  },
                  "title": "Saute Pans",
                  "type": "product_type"
                },
                {
                  "handle": {
                    "current": "induction-compatible"
                  },
                  "title": "Induction Compatible",
                  "type": "features"
                }
              ],
              "title": null
            },
            "viewport": null
          }
        ],
        "searchSchema": null,
        "title": "Various Sets"
      }
    ],
    "viewport": null,
    "visibility": null
  }
}
```

Now we want to deal with the incoming HTML. In order to convert HTML to Portable Text, we need a library called blockTools. It's already a dependency in the Studio so you don't need to install it. In the paste handler, we'll look for HTML content on the clipboard and if there is a code type in the schema. If these criteria are met, we'll pass the HTML content into the block tools method called htmlToBlocks. This method lets you pass in rules for how to deserialize HTML elements.

## Subheading One

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

## Subheading Two

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

## Subheading Three

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.



```json
{
  "_key": "f098148c56cf",
  "_type": "marketingSection",
  "data": {
    "_id": "555dc8f5-03f2-47ea-b9c9-06bae3a97c12",
    "_type": "marketingSection",
    "body": null,
    "config": {
      "displayType": "marketingFormDefault",
      "endsAt": null,
      "layout": null,
      "mobileStacked": null,
      "scrimOpacity": null,
      "textPosition": null
    },
    "contentConfig": null,
    "ctas": null,
    "description": "Never miss an exclusive chef recipe or a limited edition drop.  ",
    "gutters": null,
    "items": null,
    "media": null,
    "mediaConfig": null,
    "metafields": null,
    "slot": null,
    "subtitle": null,
    "themeConfig": null,
    "title": "Become a Regular",
    "viewport": null,
    "visibility": null
  },
  "overrides": null
}
```

```json
{
  "_key": "48dd53ad365d",
  "_type": "marketingSection",
  "data": {
    "_id": "619937be-0b60-48f1-95e0-fd94523541d3",
    "_type": "marketingSection",
    "body": null,
    "config": {
      "displayType": "marketingCard",
      "endsAt": null,
      "layout": null,
      "mobileStacked": null,
      "scrimOpacity": null,
      "textPosition": null
    },
    "contentConfig": {
      "alignment": "left"
    },
    "ctas": null,
    "description": null,
    "gutters": null,
    "items": [
      {
        "_key": "d4cef81371ef",
        "body": [
          {
            "_key": "331741829c86",
            "_type": "block",
            "children": [
              {
                "_key": "64cbe75bc1d70",
                "_type": "span",
                "marks": [],
                "text": "Your go-to recipe for crispy, juicy smash burgers. This recipe developed by our Culinary Creative Director Rhoda Boone is every bit as delicious as those made at your favorite burger joint. Slather them with "
              },
              {
                "_key": "b35b4a57a388",
                "_type": "span",
                "marks": [
                  "871517ed895a"
                ],
                "text": "secret sauce"
              },
              {
                "_key": "495bf45644b8",
                "_type": "span",
                "marks": [],
                "text": " and serve them atop fluffy potato rolls with all your favorite burger fixings."
              }
            ],
            "markDefs": [
              {
                "_key": "871517ed895a",
                "_type": "link",
                "href": "https://roomers-hotels.shop/recipes/smash-burger-recipe"
              }
            ],
            "style": "normal"
          }
        ],
        "ctas": [
          {
            "_key": "c6b6275b0dcc",
            "isExternal": null,
            "title": "Get the Recipe",
            "type": null,
            "url": "/recipes/beet-rosti-with-rosemary"
          }
        ],
        "description": null,
        "media": [
          {
            "_key": "487cc1c29fa7",
            "description": null,
            "hotspots": null,
            "image": {
              "asset": {
                "altText": "A round beetroot dish, cut into wedges, is garnished with sprigs of herbs and accompanied by a serving on a separate plate topped with a dollop of cream.",
                "metadata": {
                  "dimensions": {
                    "_type": "sanity.imageDimensions",
                    "aspectRatio": 1.8,
                    "height": 1000,
                    "width": 1800
                  },
                  "lqip": "data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAUDBgf/xAAiEAACAQQBBAMAAAAAAAAAAAABAgMABAURMQYHEiETUZH/xAAWAQEBAQAAAAAAAAAAAAAAAAAEAgP/xAAbEQACAgMBAAAAAAAAAAAAAAAAAQIRAxIhE//aAAwDAQACEQMRAD8AU90sVkoesb6aSGV45m843RSQRWjdkLS5xuGnmvkaL55PJEYaOgOdU9zU8lveNDE2oxwpG9ftR9RMyYa0KMVMsqhyDyKnWnYr2llSxF1jvYpUDxhmU8EDdFKOj1EeGVE9KsjgD690VouhZcdH/9k="
                },
                "url": "https://cdn.sanity.io/images/fr9flhkd/main/d1ee83e5b85c4ad4e73c0387817cbd803cfa5718-1800x1000.jpg"
              }
            },
            "tags": null,
            "type": "image",
            "video": null
          }
        ],
        "metafields": null,
        "subtitle": null,
        "title": "Beet Rösti with Rosemary",
        "url": null
      }
    ],
    "media": null,
    "mediaConfig": {
      "aspectRatio": "[4/5]"
    },
    "metafields": null,
    "slot": null,
    "subtitle": null,
    "themeConfig": {
      "isFramed": true
    },
    "title": "The Most “Thanksgiving” Recipe I Can Think of",
    "viewport": "all",
    "visibility": null
  },
  "overrides": null
}
```

---
URL: https://roomers-hotels.shop/blogs/blog-test-2