Add your own component
Add a component of your own to the library that the Default template uses, and use it in a design.
Diese Seite ist noch nicht übersetzt. Du liest das Original.
Auf dieser Seite
Designs made from the Default template use the database components. A component that you add there appears in the editor of those designs.
1. Write the component
Write the file editor.html of the component on your computer, as described in Your first component. For example, a component greeting in the group Content.
2. Add it to the library
- Open UI components and select the database
components. - Select Create > Create component, enter
greetingand press Enter. - Select the new folder
greeting, then Create > Upload file, and choose youreditor.html. - Wait a few seconds. UI Studio builds the list of components of the database again.
3. Use it
Open a design made from the Default template in UI Builder. Greeting appears in the Content group of the component list. Drag it onto the canvas like any other component.
To keep your components apart from the standard ones, you can create a database of your own on the UI components screen. See Component libraries.