markt
* Is there a possibility in the new Prosemirror Editor to color format cells of a table depending on the value of the cell? Possibly this is also called "Conditional Formatting".
* If the function is not integrated there, one of the additional plugins can provide the function of a "Conditional Formatting" ?
lpaulsen93
I don't know any. There are plugins which enable you to give table cells a fixed, different background color but only by editing, not depending on the cell's value/content.
andi
What sense would colored cells make in the editor only, anyway?
juergen-aus-zuendorf
What's about the "Cell Background Plugin"?
The example code is
<code>
^ Header 1 ^ Header 2 ^ Header 3 ^
| @lightgreen:**Span** || |
| @#6495ed:Ligne 1 | Oui | Oui, à valider |
| Ligne 2 | Oui | @orange: Oui |
| @:Ligne 3 | Oui | @red:Non |
</code>
... and the result is like this: