How Do You Add CSS Attributes to OJS Chunks? #11176
Unanswered
mrworthington
asked this question in
Q&A
Replies: 1 comment
-
I don't know if it's mentioned in the OJS reference, but you can add an
(The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I am wondering if there's a more elegant way to add a CSS ID attribute to an OJS cell chunk than the following, which is currently the best I can come up with. On the Quarto Docs site, I don't seem to find anything that allows you to add an id to an OJS cell chunk. Primarly, my reason is that—in a Quarto Dashboard—wrapping an OJS cell with a div so it can have the necessary CSS ID will add an outerbox that introduces a whole other set of problems.
If there's a way, I'm happy to learn, but have struggled to identify an elegant approach to tagging ojs cell chunks with a CSS ID attribute or CSS class.
Beta Was this translation helpful? Give feedback.
All reactions