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

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

      .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 0.2s;
      color: #ff4d4f;
      top: -10px;
    }

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

    .bf-media .bf-image {
      float: initial !important;
      display: block;
      margin: 10px auto;
      max-width: 500px;
      max-height: 500px;
    }
  }
}
