.m-braftEditor {
    border: 1px solid #D9D9D9;
    border-radius: 4px;

    // 富文本编辑器随内容高度撑开
    .bf-content {
        height: unset;
        min-height: 500px;
        padding-bottom: 0;

        .DraftEditor-root {
            min-height: inherit;

            .DraftEditor-editorContainer {
                min-height: inherit;

                .public-DraftEditor-content {
                    min-height: inherit;

                    & > div {
                        padding-bottom: 0;
                    }
                }
            }
        }
    }

    // 只读状态
    .read-only {
        cursor: not-allowed;
        background-color: #F5F5F5;
    }

    .bf-controlbar {
        box-shadow: inset 0 -1px 0 0 #D9D9D9;
    }

    .ehr-ui-upload-select {
        display: inline !important;
    }

    .u-keyWords {
        display: flex;
        flex-wrap: wrap;
        row-gap: 8px;
        padding: 10px 10px;
        border-bottom: 1px solid #D9D9D9;
    }

    .edit-preview {
        background-color: #F0F2F5 !important;
    }

    // 隐藏内置的多媒体工具（内置工具不好用，使用自定义图片、多媒体工具）
    .control-item.media {
        display: none;
    }

    // 可选字段样式
    .keyword-item {
        display: inline-block;
        position: relative;
        box-sizing: border-box;
        height: 22px;
        padding: 0 7px;
        margin: 0 2px;
        font-size: 12px;
        line-height: 20px;
        vertical-align: text-bottom;
        user-select: none;
        background: #FAFAFA;
        border: 1px solid #D9D9D9;
        border-radius: 4px;
    }

    .u-keyWords {
        .ehr-ui-tag {
            cursor: pointer;
        }
    }
}
