1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-01 03:11:44 +02:00

Fix broken attribute references (#4011)

This commit is contained in:
Steve Marquis
2021-02-11 15:29:03 -08:00
committed by GitHub
parent 3f086a8f62
commit e4936c3f32

View File

@@ -125,7 +125,7 @@ const Leaf = ({ attributes, children, leaf }) => {
leaf.tag ||
leaf.constant ||
leaf.symbol ||
leaf.attr - name ||
leaf['attr-name'] ||
leaf.selector) &&
css`
color: #905;
@@ -138,7 +138,7 @@ const Leaf = ({ attributes, children, leaf }) => {
css`
color: #690;
`}
${(leaf.function || leaf.class - name) &&
${(leaf.function || leaf['class-name']) &&
css`
color: #dd4a68;
`}