.w-e-toolbar,
.w-e-text-container,
.w-e-menu-panel {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-color: #fff;
  h1 {
    font-size: 32px !important;
  }
  h2 {
    font-size: 24px !important;
  }
  h3 {
    font-size: 18.72px !important;
  }
  h4 {
    font-size: 16px !important;
  }
  h5 {
    font-size: 13.28px !important;
  }
  p {
    font-size: 16px !important;
  }
  /*表情菜单样式*/
  .eleImg{
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    padding: 0 3px;
  }
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  /*分割线样式*/
  hr{
    cursor: pointer;
    display: block;
    height: 0px;
    border: 0;
    border-top: 3px solid #ccc;
    margin: 20px 0;
  }
}

.w-e-clear-fix:after {
  content: "";
  display: table;
  clear: both;
}

.w-e-drop-list-item {
  position: relative;
  top: 1px;
  padding-right: 7px;
  color: #333 !important;
}

.w-e-drop-list-tl {
  padding-left: 10px;
  text-align: left;
}
.w-e-text-container {
  position: relative;
  height: 100%;

  .w-e-progress {
    position: absolute;
    background-color: #1e88e5;
    top: 0;
    left: 0;
    height: 1px;
  }

  .placeholder {
    color: #D4D4D4;
    position: absolute;
    font-size: 11pt;
    line-height: 22px;
    left: 10px;
    top: 10px;
    user-select: none;
    z-index: -1;
  }
}
.w-e-text {
  //padding: 0 10px;
  //overflow-y: auto;

  p,h1,h2,h3,h4,h5,table,pre {
    margin: 10px 0;
    line-height: 1.5;
  }

  ul, ol {
    margin: 10px 0 10px 20px;
  }

  blockquote {
    display: block;
    border-left: 8px solid #d0e5f2;
    padding: 5px 10px;
    margin: 10px 0;
    line-height: 1.4;
    font-size: 100%;
    background-color: #f1f1f1;
  }

  code {
    display: inline-block;
    background-color: #f1f1f1;
    border-radius: 3px;
    padding: 3px 5px;
    margin: 0 3px;
  }

  pre {

    code {
      display: block;
    }
  }

  table {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;

    td,th {
      border-bottom: 1px solid #ccc;
      border-right: 1px solid #ccc;
      padding: 3px 5px;
      min-height: 30px;
      height: 30px;
    }

    th {
      border-bottom: 2px solid #ccc;
      text-align: center;
      background-color: #f1f1f1;
    }
  }

  &:focus {
    outline: none;
  }

  img {
    cursor: pointer;

    &:hover {
      box-shadow: 0 0 5px #333;
    }
  }

  .w-e-todo {
    margin:0 0 0 20px;
    li {
      list-style:none;
      font-size: 1em;
      span:nth-child(1) {
        position: relative;
        left: -18px;
        input {
          position: absolute;
          margin-right:3px;
        }
        // 防止其他样式通过属性选择器重置input样式
        input[type=checkbox] {
          top: 50%;
          margin-top: -6px;
        }
      }
    }
  }
}

.w-e-tooltip {
  position: absolute;
  display: flex;
  color: #f1f1f1;
  background-color: rgba(0,0,0,.75);
  box-shadow: 0 2px 8px 0 rgba(0,0,0,.15);
  border-radius: 4px;
  padding: 4px 5px 6px;
  justify-content: center;
  align-items: center;
}
// 下箭头
.w-e-tooltip-up::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid rgba(0,0,0,0);
  border-top-color: rgba(0,0,0,.73);
}
// 上箭头
.w-e-tooltip-down::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid rgba(0,0,0,0);
  border-bottom-color: rgba(0,0,0,.73);
}
.w-e-tooltip-item-wrapper {
  cursor: pointer;
  font-size: 14px;
  margin: 0 5px;

  &:hover {
    color: #ccc;
    text-decoration: underline;
  }
}
.w-e-text-container {
  overflow: hidden;
}

.w-e-img-drag-mask {
  position: absolute;
  z-index: 1;
  border: 1px dashed #ccc;
  box-sizing: border-box;

  .w-e-img-drag-rb {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccc;
    cursor: se-resize;
  }

  .w-e-img-drag-show-size {
    min-width: 110px;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
    color: #999;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #999;
    color: #fff;
    border-radius: 2px;
    padding: 0 5px;
  }
}