JPD
(JPD)
23. März 2024 um 01:32
1
Gibt es eine Möglichkeit (oder besteht die Möglichkeit, dass eine solche Option in absehbarer Zeit hinzugefügt wird), HTML-Tags mit Inline-Stilen in Beiträgen zu verwenden? Zum Beispiel:
<TABLE style="border-collapse: collapse; font-size: 10pt; font-family: Arial">
<COLGROUP>
<COL style="width: 46px" />
<COL style="width: 46px" />
</COLGROUP>
<TR style="height: 20px">
<TD colspan="17" style="font-size: 8pt; background-color: #ff9fec; text-align: center; vertical-align: bottom; padding: 2px 2px 4px 4px">
abc...def</TD>
<TD style=" font-size: 8pt; background-color: #ff9fec; text-align: center; vertical-align: bottom; padding: 2px 2px 4px 4px">
abc...def
</TD>
</TR>
</TABLE>
1 „Gefällt mir“
Heliosurge
(Dan DeMontmorency)
23. März 2024 um 02:26
2
Das ist Ihr geposteter Code
JPD
(JPD)
23. März 2024 um 03:48
3
Der entscheidende Teil ist, es so aussehen zu lassen, wie es auf dem Bildschirm (in einem Browser) aussieht, was wäre:
Es gibt keine Option für eine freie Verwendung von HTML/CSS in Beiträgen, aber Sie können die Möglichkeiten erweitern, indem Sie das Plugin Discourse BBCode installieren oder benutzerdefinierte, vorformatierte Wraps erstellen:
Requirements
To be able to use these tips and tricks, you need to be an administrator of either a self-hosted Discourse instance or a Discourse-hosted plan higher than Basic.
Introduction
Discourse supports several methods to format and customize a post’s contents. You can find the list here:
But sometimes, you’ll want something more specific, for example, a link that looks like a button.
[Green button]
This is the kind of modification we’ll learn here.
The logic
I’l…
3 „Gefällt mir“