Appearance
Component editor
The component editor lets you open the code of a coded component that is already in your project, change its files, and save your changes as a new version of the component, without leaving WeWeb.
Accessing the component editor
To access the component editor:
- Click on the
Developmenticon (terminal icon) in theInterfacesection sidebar - Under the
Advancedsection, clickComponent editor
The Coded Component Editor panel opens next to the Development menu.
Opening a component
- In
Select component, choose one of the coded components of your project. - In
Select a source version, choose the version to start from. The editor selects the active version of the component by default. Each version shows its number and the message written when it was created.

The files of the component appear under Files, with ww-config.js open first. Click a file to open it. To add a file, click Add file at the root of the component or inside a folder.
To see what changed between two versions, choose another version in Select version to compare. While you compare, the files can't be edited. Click Close diff to go back to editing.
Saving your changes as a new version
Your changes are not saved in the component until you create a new version:
- Edit the files. As soon as you change something, the
Revert allandReview changesbuttons appear.Revert allbrings back the files of the source version. - Click
Review changes. You can now see what you changed compared with the source version, with the number of lines added and removed in each file. - Write a
Commit messagethat describes your changes, then clickCreate version. To change something else first, clickBack to edition.
WeWeb then builds the new version. This can take a moment: a notification tells you when the component has been updated, or when an error happened during the build.
Editing a component with AI
Once a component is open, click Edit with AI to open WeWeb AI with this component and the selected version attached to the conversation. You can then ask the AI to make the changes for you.
Learn more about coded components made with AI →
Components you can't edit
Coded components imported from GitHub can't be edited in the component editor. When you open one, the editor shows Component from GitHub cannot be edited. You can still read its files and compare its versions.
Development resources
For detailed technical documentation:
- Click
Documentationin the Development menu'sInformationsection - Visit the public repositories for component examples
CONTINUE LEARNING
Learn how to choose which version of each coded component your project uses:

