Copy link to clipboard
Copied
I just upgraded from 2019 to v2022.5.28. My project ugraded and published just fine in the new version but the style sheets are not being applied when I'm editing or creating new topics. The styles of these particular topics are internal styles and not external css documents. Again, the published manual applies the styles just fine but they don't display when authoring. It makes it very difficult.
Copy link to clipboard
Copied
Let me make sure I'm using correct terminology. The styles (not style sheets) are not being applied in Robohelp. They are internal styles that are called inline as classes. I know the structure and syntax are correct because they apply just fine in the published version, this is just affecting what I see when I'm editing in the program.
Copy link to clipboard
Copied
RH2019 Classic or New UI? Can you post a screenshot of what you're talking about?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
No, I meant were you coming from the RH2019 Classic version or the New UI version. If it was a Classic project, then the New UI (which was introduced in RH2019 and is the only flavour now) would be a jarring change.
Have a look at the HTML of the topic in the RH project (Source view) to see what it thinks it's applying to the text. Then check to see if those Styles are present in the Styles pod. See https://www.grainge.org/RoboHelp_Tour/rh2022/user_interface/ui.htm
Copy link to clipboard
Copied
Also look in Topic Properties to see which CSS is applied.
When you click in any paragraph, in the Style panel (click the S above) the style should be highlighted. If it isn't then as @Jeff_Coatsworth is suggesting, it is in the code but not the CSS.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
As I tried to explain in my second message, the topics are not linked to style sheets, they have styles embedded in the Head tag, then called as classes inline (see Snip2). I know it's not ideal but it's the way I inherited the manual. I can see the styles applied when I do Quick Generate and Robohelp publishes the topics with the styles applied but it's as if the authoring view doesn't read them. This only became an issue when I upgraded from 2019 to 2022.
Copy link to clipboard
Copied
Apologies. So it is just Authoring view that is not working, correct?
If that is the case, I am not surprised. It is not a proper browser but a tool to give you some idea.
When you say upgraded from 2019, do you mean Classic or the new UI?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
I was using the new UI with 2019.
Copy link to clipboard
Copied
Nothing should have changed then.
Try removing this part in one topic but keep a copy in case. Does that fix the issue?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Just tried it. Unfortunately, that didn't work.
Copy link to clipboard
Copied
It probably only works in authoring mode when using preview mode.
But I doubt you'll like doing that continuously.
The best way (long-term) is to convert these in-line styles to a common stylesheet. This should be relatively easy to script with some ChatGPT, especially if all in-line styles are uniform across all topics.