root: css`
:not(:has(${IGNORE_CLASSNAME})),
.markdown {
${[
__root,
a,
blockquote,
code,
del,
details,
header,
hr,
img,
list,
p,
pre,
strong,
svg,
table,
video,
footnote,
sub,
sup,
]}
}
`,
Only the child with the ignore class should be ignored, the rest should still get the styling
💻 系统环境 | Operating System
macOS
🌐 浏览器 | Browser
Chrome
🐛 问题描述 | Bug Description
When using EditableMessage with markdown elements and using
ignore-markdown-styleto disable the styling for a specific element - all of the siblings lose the markdown styling as well.lobe-ui/src/Markdown/markdown.style.ts
Line 379 in c4b501f
This rule stop working when at least one child has the ignore class
🚦 期望结果 | Expected Behavior
Only the child with the ignore class should be ignored, the rest should still get the styling
📷 复现步骤 | Recurrence Steps
📝 补充信息 | Additional Information
No response