:host {
    display: block;
    min-width: 0;
    max-width: 100%;
    contain: layout;
}

.sun-editor-editable {
    background: transparent;
    box-sizing: border-box;
    font: 400 1rem / 1.5 system-ui, "Microsoft JhengHei", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    text-align: start;
    letter-spacing: normal;
    text-transform: none;
    word-spacing: normal;
    white-space: normal;
    text-indent: 0;
    text-shadow: none;
    writing-mode: horizontal-tb;
    direction: ltr;
    overflow-x: auto;
    overflow-wrap: anywhere;
    padding: 0;
}

.sun-editor-editable :where(img, video, iframe) {
    max-width: 100%;
}

.sun-editor-editable :where(img:not([height])) {
    height: auto;
}

.sun-editor-editable .list-unstyled {
    list-style: none;
    padding-inline-start: 0;
}

.sun-editor-editable .table-bordered :is(td, th) {
    border: 1px solid currentColor;
}
