
Announcements
Hi, in the new power pages editor, how can I add a snippet to a section ? Which of the widgets should I use ?
As a workaround I can just add a text and then later in the portal management replace that with a {% snippet ... %} but for one it is not very practical, and secondly, whenever I reopen the page with the editor, the snippet instruction is truncated and no longer functional.
Stephane
Bonjour @bouillons ,
You can use the code editor icon in the command bar to display the source code for the page in the code editor pane at the bottom of the screen. To insert code snippets, type your {% snippet ... %} directly into the code editor and then select Save. The changes will be reflected on the canvas.
I hope this helps?!