UX: Add a class we can use to target quotes without groups
This commit is contained in:
parent
00d879ec63
commit
90d3544db8
|
@ -62,7 +62,7 @@ const rule = {
|
||||||
if (primaryGroupName && primaryGroupName.length !== 0) {
|
if (primaryGroupName && primaryGroupName.length !== 0) {
|
||||||
token.attrs.push(['class', `quote group-${primaryGroupName}`]);
|
token.attrs.push(['class', `quote group-${primaryGroupName}`]);
|
||||||
} else {
|
} else {
|
||||||
token.attrs.push(['class', 'quote']);
|
token.attrs.push(['class', 'quote no-group']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (postNumber) {
|
if (postNumber) {
|
||||||
|
|
Loading…
Reference in New Issue