Biete Tabellen und Bilder im gemeinsamen Texteditor an und setze sie in Ansicht und PDF

Tabellen und Bilder gehören zur festen Auswahl von FormattedText. Ein Bild
ist ein Verweis auf eine freigegebene Bildfassung und kommt per Picker aus
dem Medienbestand; der Stand schreibt die Bildfassung mit fest, die Rechte
entscheidet DecideAccess. Der PDF-Satz (PdfFlow) ist für Übung und kommende
Dokumente gemeinsam; PdfDocument kann zusätzlich Bilder, Flächen, Verweise
und Lesezeichen, Belege bleiben byte-gleich.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-24 11:31:03 +01:00
1 parent 219962daff
commit c57a506f85
27 files changed
+1729 -219

No files matched your search

+42
View File
@@ -1179,6 +1179,48 @@ .mb-prose blockquote > p {
margin-bottom: var(--space-2);
}
/* Tabellen und Bilder in formatierten Texten (ADR-51) */
.mb-prose table {
display: block;
max-width: 100%;
margin: 0 0 var(--space-3);
overflow-x: auto;
border-collapse: collapse;
font-size: var(--text-small, 0.95rem);
}
.mb-prose th,
.mb-prose td {
min-width: 6rem;
padding: var(--space-2) var(--space-3);
border: 1px solid var(--color-border-strong);
text-align: left;
vertical-align: top;
}
.mb-prose th {
background: var(--color-surface-subtle);
font-weight: 700;
}
.mb-prose td > p,
.mb-prose th > p {
margin: 0 0 var(--space-1);
}
.mb-prose img {
display: block;
max-width: 100%;
height: auto;
margin: 0 0 var(--space-3);
border-radius: var(--radius-card);
}
.mb-prose .mb-bildhinweis {
color: var(--color-text-muted, inherit);
font-style: italic;
}
.mb-reading {
max-width: var(--measure);
padding: var(--pad-card);