.ZRichText {
  :global {
    .txtBox {
      width: 1000px;
      border: 1px solid #ccc;

      // 隐藏媒体功能
      .control-item.media {
        display: none;
      }

      // .bf-content {
      //   height: 300px;
      // }

      .bf-controlbar {
        position: relative;

        .upImgBox {
          position: absolute;
          bottom: 13px;
          right: 15px;
          cursor: pointer;
          color: var(--themeColor);
        }

        .upImgBoxNo {
          display: none;
        }

      }
    }

    .noUpThumb {
      position: relative;
      overflow: hidden;
      opacity: 0;
      transition: top .2s;
      color: #ff4d4f;
      top: -10px;
    }

    .noUpThumbAc {
      top: 0;
      opacity: 1;
    }

    .bf-media .bf-image {
      float: initial !important;
      display: block;
      margin: 10px auto;
      text-align: center;
      // 不让拖动放大缩小图片（会报错）
      .bf-csize-icon{
        display: none !important;
      }
      img{
        max-width: 500px;
        max-height: 300px;
      }
    }

  }
}