[data-editor="written"] {
  white-space: pre-wrap;

  p {
    min-height: 1.2em;
  }

  h1 {
    font-size: 3em;
  }

  ul, li {
    list-style-type: none;
  }

  figure {
    background: rgba(230,230,230,1);

    & > div {
      display: flex;
      min-height: 200px;
    }

    img {
      margin: auto;
    }

    figcaption {
      padding: 4px;
    }
  }
}

[data-editor="written"] {
  white-space: pre-wrap;

  p {
    min-height: 1.2em;
  }

  h1 {
    font-size: 3em;
  }

  ul, li {
    list-style-type: none;
  }

  figure {
    background: rgba(230,230,230,1);

    & > div {
      display: flex;
      min-height: 200px;
      padding: 4px;
    }

    img {
      margin: auto;
    }

    figcaption {
      padding: 4px;
    }
  }
}

Add a small padding to images
Add a small padding to images
