Feature: Allow users to set CSS classes on nodes similar to `setStyle`
Open
core
enhancement
- Dominant language
- TypeScript
- Stars
- 23.9k
- Forks
- 2.2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 61
Description
This would make it compatible with tailwind. Since spans are used anyway it should just be a matter of setting a different property on the element.
Contributor guide
Research direction
Start by locating the node handling for setStyle and the span elements mentioned in the issue. Trace how styles are applied, then determine where a CSS class property would be exposed and rendered. Done means users can assign classes to nodes and Tailwind classes appear on the resulting elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tailwindcss, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100