Cascade Heading style into new H1, H2, ..., H6 styles

This commit is contained in:
Christian Muehlhaeuser
2019-12-05 14:05:35 +01:00
parent 12d8828d4b
commit eaed263d06
5 changed files with 58 additions and 4 deletions
+1 -1
View File
@@ -70,5 +70,5 @@ func (s BlockStack) Current() BlockElement {
}
func (s BlockStack) With(child *ElementStyle) *ElementStyle {
return cascadeStyle(s.Current().Style, child)
return cascadeStyle(s.Current().Style, child, true)
}