how to retain json formatting in the Editor and the ouput

Oxygen general issues.
samuelthomasril
Posts: 2
Joined: Tue Jul 21, 2015 10:04 am

how to retain json formatting in the Editor and the ouput

Post by samuelthomasril »

Hi,
I am creating reference topics that include example code. But, when I copy/paste the code from a Json formatter, the formatting gets lost in the Editor. However, if I manually add white space after I paste the content, I am able to see it formatted as how I expect.
Can you please let me know if there is an option in the Editor that lets me do a paste special so it can retain the formatting?
Thanks
Samuel