Closed (fixed)
Project:
Starshot Demo Design System
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2025 at 00:56 UTC
Updated:
15 Jul 2025 at 01:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kristen polComment #3
kristen polWhile CKEditor is working, it is hijacking the styles, so that the theme (light/dark) and style props aren't working... so something else is needed
Comment #4
kristen polComment #5
kristen polComment #7
gábor hojtsyThe "problem" was that the template has a real HTML paragraph element for this component. Paragraphs can't contain other paragraphs or lists, so the paragraph naturally ends when you enter a list. Then the styling does not apply to that anymore. Once the wrapper is a div, not a paragraph, this is solved. Not semantically very nice but quickly fixed it :D
BEFORE

AFTER (added another list too and picked the strong variant to show it applies to even list items):

Comment #8
gábor hojtsyBTW the testimonial component has the same problem, you may want to fix it here to be a div for the quote not a p too or open a new issue :) That at least is conceptually easier since the quote is not conceptualised as a "paragraph" :)
Current:

After changing to div:

Comment #9
kristen polThanks, looking
Comment #11
kristen polUpdated the css so that links show up with the correct colors
Going to merge
Comment #12
kristen polmerged
Comment #13
kristen poladd context
Comment #14
kristen polclosing