Skip to content

Latest commit

 

History

History
 
 

sections

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

How to make a section

A section - is the main building block in the editor. Elements (text, picture, buttons, etc.) are grouped into slots inside of each section. The number of slots and their relative positions inside of the section is defined from the start. The default elements in each section can be removed or replaced. The number of elements in the slot is indefinite.

Section

All section components are split into groups and can be found here

src/components/sections/

You can make a new group or add your component to an existing one. It may be useful to take a look at this well-commented example before you create a new section as it explains the whole process well. You need to turn on the component in the editor after you have created it.

Done. Now your section can be found in the left panel of Ptah editor.