.rte-wrapper {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    min-height: 40px;
    border: 1px solid @slate_200;
    border-radius: 5px;
    gap: 0;

    .rte {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px;

        .rte-placeholder {
            pointer-events: none;
        }

        &:focus {
            border: none;
            outline: none;

            .rte-placeholder {
                display: none;
            }
        }

        p,
        div {
            width: 100%;
            flex-grow: 1;
        }

        p {
            margin: 0;
        }

        a {
            &:focus {
                background-color: @slate_200;
            }
        }
    }

    .rte-header {
        .flex;
        justify-content: flex-start;
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid @slate_200;

        .rte-el-select {
            min-width: 140px;

            .form-select-block {
                select {
                    padding: 7px 10px;
                    font-size: 14px;
                }

                svg {
                    margin-right: -10px;
                }
            }
        }
    }
}

//////////////////////////////
//////////////////////////////
//////////////////////////////

[data-slate-editor] {
    outline: none;
    border: none;
}
