.custom-ck {
    height: 100%;
    // width: 100%;
    width: 924px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgb(204, 206, 209);
    margin: auto;

    .content {
        flex: 1;

        .tab1 pre {
            width: 100%;
            word-wrap: break-word;
            word-break: break-all;
            white-space: normal;
        }

        .tab2 {
            position: relative;
            // height: 100%;
            width: fit-content;
            height: 100%;

            .editor,
            .ck-editor {
                height: 100%;
                // width: 100%;
                width: 794px;
                display: flex;
                flex-direction: column;

                .ck-editor__main {
                    flex: 1;

                    .ck-content {
                        height: 100%;
                        width: 100%;
                    }
                }
            }

            .right_bar {
                .right_bar_title {
                    height: 40px;
                    line-height: 40px;
                    border-bottom: 1px solid #ccced1;
                    font-weight: 600;
                    text-align: center;

                    .right_bar_title_icon {
                        display: inline-block;
                        margin-right: 5px;
                    }
                }

                width: 130px;
                // position: absolute;
                // right: 0;
                // top: 40px;
                // bottom: 0px;
                // width: fit-content;
                border-left: 1px solid #ccced1;
                line-height: 40px;

                .right_bar_button {
                    cursor: pointer;
                    padding: 0 20px;
                    border-bottom: 1px solid #ccced1;
                    text-align: center;

                    &:hover {
                        color: #189ff1;
                    }
                }
            }
        }

        .tab3 {
            width: 794px;
            margin: auto;
            padding: 20px 40px;
            height: 100%;
            border: 1px dashed #ccced1;

            table {
                width: 100%;
            }
        }
    }

    .footer {
        height: 40px;
        border-top: 1px solid #ccced1;
        display: flex;
        align-items: center;

        span {
            height: 100%;
            line-height: 40px;
            text-align: center;
            display: inline-block;
            vertical-align: middle;
            padding: 0 25px;
            cursor: pointer;
            border-right: 1px solid #ccced1;

            &:hover {
                color: #189ff1;
            }
        }

        .checked {
            color: #189ff1;
        }
    }

}

.ck.ck-balloon-panel:not([class*='ck-tooltip']),
.ck.ck-balloon-panel:not([class*='ck-toolbar-container']) {
    top: 50% !important;
    left: 50% !important;
    right: inherit !important;
    bottom: inherit !important;
    transform: translate(-50%, -50%);
}

.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before {
    display: none;
}