Remove Local Styling
Clean up your topics by removing inline style attributes, forcing all styling to come from your CSS stylesheets.
Remove Styling from Topicβ
Remove local styling from the current topic:
- Open a topic file.
- Click Remove local styling (topic) in the Styling group.
- All inline
styleattributes are removed from elements (except tables).
Remove Styling from Projectβ
Remove local styling from all topics in the project:
- Click Remove local styling (project) in the Styling group.
- All inline
styleattributes are removed from all topic files (except tables).
What Gets Removedβ
- Inline
styleattributes - Direct font formatting
- Color and size attributes
- Spacing and margin attributes
What's Preservedβ
- Table styling (to maintain table layouts)
- Class attributes
- ID attributes
- All other non-style attributes
Use Casesβ
- Clean up content imported from Word or HTML
- Enforce stylesheet-based formatting
- Prepare content for new design systems
- Eliminate inconsistent formatting