I just converted a legacy page to the new editor.
In this page I had a lot of codeblocks that are "optional": when the page opens they appear reduced and you must click "Expand" to see the whole content. That is very important, because these textblocks are very long. Without this function, users are forced to scroll very much and the page looks very confusing.
The converted page no longer supports this "optionality" of codeblocks.
Thus, I am now looking at endless codeblocks :-(.
It really would be best if the "expand"-option for codeblocks was not depreceated. Actually, I really wonder, what drove you to take away from us this really important feature!
As it stands now, I have a lot of work: I must create an "Expansion" for each of my codeblocks and copy the codeblock into that. And I must do this on many pages (> 20).
I'd really appreciate Atlassian to not cause this immense extra work!
Hey @Robert E_ Schneider ,
Yeah... unfortunately, I would say that this would be the only path forward
As it stands now, I have a lot of work: I must create an "Expansion" for each of my codeblocks and copy the codeblock into that. And I must do this on many pages (> 20).
The new editor does not support collapsing of the code block, although there's a feature request related to it: CONFCLOUD-72003: Allow further customization of the "Code" macro in the new editor (Different background color & ability to collapse the code block) 👀
As you've already converted the pages, you'll have to update them (manually or via API > which is also not that easy).
We do use the mentioned workaround with the Expand macro, but again, I didn't have a scenario where we had to convert/transform that many code blocks after switching from old editor 😕
Cheers,
Tobi
@Robert E_ Schneider On the plus side (if there is a plus side), when you hover over the beginning of the code block, you can select the little icon and drag the code block into the expand.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Excellent, thank you! Makes things a lot easier!
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.