Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to right align some text in the new editor?

mawi
Contributor
November 5, 2020

Hello!

In the old editor, we could use the div macro to get a panel to right align some text. This is a way to get a table of contents running to the right of a page, for long pages, for instance. Another use is to float some text (like an info-panel) to the right.

Here is an example of the former, where you see a table of contents to the right on the start of this page (with a grey background), while the main content (first a table and then text) continues to wrap around it, first to the left and then it fills out below (pretty much standard and simple css applied to the div macro):

confluence-rightalign-panel-oldeditor.png
We have quite a few pages (using the old editor) that do this.
How can I accomplish this in the new editor?

Or do we just stick with the old editor until the new one is more feature complete?

 

BR! /marcus

1 answer

0 votes
Chris Buzon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 5, 2020

I may be misunderstanding your question, but you can still create the table of contents on the right side using the Layout option on the new editor. It will create the boxes/anchors for the rest of the page content.

chrome_2020-11-05_14-46-16.png

chrome_2020-11-05_14-45-45.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events