Best practice: avoiding inline styling/formatting (RH 2019, new UI)

Participant ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

Hi, Everyone.

 

In RH 2019, new UI, I'm trying to avoid inline formatting/styling as a best practice. But if I use the buttons in the toolbar to create, say, an unordered bullet list or a table, is that in-line styling? I ask because when I look at the code view, I don't see <span> tags around them. 

 

Thank you!

Views

69

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Aug 17, 2020 Aug 17, 2020
Selecting a style is not inline styling. You can block inline styling in Preferences I think, if not in Project Settings.   

Likes

translate

Translate

Translate
Adobe Community Professional ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

Selecting a style is not inline styling. You can block inline styling in Preferences I think, if not in Project Settings. 

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

Thanks for clearing that up for me, Peter.

 

And great suggestion to block inline styling. I'll check that out.

 

Thank you!

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

You may need to create some classes such as .red to apply red to a paragraph.

 

Please use the blue Reply button at the top to help me help you. The black Reply link nests replies and they sort out of order.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

I see. Makes sense if I block inline styling, I'll need some alternate way of performing common actions like changing text to red.

 

Thank you!

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Aug 17, 2020 Aug 17, 2020

Copy link to clipboard

Copied

Regarding naming, I would suggest thinking of the purpose for the styling and giving a name that reflects that. Otherwise in future you might change your red text to blue, but still be applying a style called "red". (Been there, done that. 😛  )

 

e.g FieldName or LabelText, rather than Bold, TextSample, rather than Italic.

 

(Sometimes it is *really* hard to find a good name. 🙂  )

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 18, 2020 Aug 18, 2020

Copy link to clipboard

Copied

Nice tip, Amber. I totally get the need. 

 

Thank much!!

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation