If I use the source editor, the <p> stuff generated in the WYSIWYG editor does not have a class associated with it. Is there a way to associate a class with the "Paragraph" style? The reason is, when I use the scroll PDF exporter, I want to modify the font/size *only* for text generated as the Paragraph type in the WYSIWYG editor. If I modify it for all <p> tags, it obviously formats things I don't want it to. I'd like to be able to specify attributes for something like p.confluence.
Yes, I know I can change this with the source editor, but that's potentially doing hundreds or thousands of modifications for each document. I'd like the WYSIWYG editor to put it in automatically.
@Stefan: Your link is dead because of the dot at the end.
In lieu of adding a class to all paragraphs in the content what about just being more specific in selecting them? Something like:
.wiki-content > p { ... }
That will only target paragraphs that are at the "top level" (ie not in a macro). You may need to extend it to match other things like:
.wiki-content > ul > li > p { ... }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the Scroll PDF Exporter you can put it into Content Formatting panel of your template as described here: http://www.k15t.com/display/PDF/Formatting+the+Content.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.