FYI,
Just added to master ... when you are editing a CSS stylesheet in CodeView, you can now select a class name (including leading .) and use a Right Click to rename that class in that stylesheet. This will in turn fix it up everyplace in that sheet and in all impacted xhtml files using multiple threads for speed.
Note: This is only available when editing a CSS stylesheet in CodeView. If you are editing an xhtml file in CodeView and want to rename a class you see there, you can use the existing GoToLinkOrStyle to get you where you need to be easily.
This approach was chosen because it prevents class name collisions with style tag contents in head in xhtml files. Those style tags in head really should first be made into external stylesheets if you want to have access to them via this feature.
There is now a plugin from Doitsu that can do that for you.
More CSS Stylesheet based tools will be coming in future releases of Sigil.
Last edited by KevinH; 01-07-2022 at 03:49 PM.
|