# Edit a size or master in the browser

Open a built size, or a saved master, in the web editor, change it, and save it back.

The web editor isn't only for new designs. You can open a size Mestra has built, fix it by hand, and save it. You can also open a master, change it, and save its next version. To start from a blank page, see [Start a design in Mestra](https://withmestra.com/docs/how-to/start-a-design/).

> **Before you start:**
>
> - Editors and owners can edit. Reviewers see **Edit** greyed out, with "Only editors can edit sizes" or "Only editors can edit masters".
> - On a plan that is read-only, **Edit** is greyed out with "Your plan is read-only".

## Edit a size

1. Open the run and find the size.
2. Select **Edit** on the size. The editor opens on that size.
3. Make your changes. The bar has **Undo**, **Redo**, **Save** and, for a run's size, **Change size** to move to another size of the run. The panels are **Layers**, **Brand** and **Checks**. **Brand** holds the brand's text styles, looks and logos.
4. Select **Save**. It shows "Saving", then "Saved".
5. Select **Back to the run**.

If you leave with unsaved changes, the editor asks first.

If you come back to a size you were editing, it says "Picked up where you left off."

### Checks

**Checks** shows how the size stands against your brand rules and the screen's spec as you edit. The pill in the bar reads, for example, "Brand 3 of 3" and, when the size has a screen spec, "Screen spec 2 of 2". It is green when everything passes and amber when something needs a look. It shows "checking" while a check runs. On a phone, it is a dot with "N to check", or "All clear".

Select the pill to open the list. It has these groups, each only when it has something to show:

- **Layout**: problems found outside the rules, such as text that doesn't fit its box, something off the page, or two things overlapping. The pill says "N to fix".
- **Brand**: your brand's rules, such as the smallest text size, the legal text size, contrast, the logo's smallest width and clear space, and elements the brand holds to a range of sizes.
- **Screen spec**, with the screen's network: what the screen asks for, then its checks, such as text readable from the viewing distance, everything inside the safe area, the most words, a required element, and blocked areas.
- **Drawing**: whether the design can be drawn exactly. For example, "Part of this design can't be drawn exactly, so it can't be saved."

On a master, the pill also shows "New on the master N" for brand rules the edit newly fails, and the master's own check after a save: **Master checking**, **Master ready** or **Master not ready**.

Each line names the limit and your value, for example "At least 12 pt" and "9 pt". Select a line to select the element it is about. Up and Down move between lines.

- **Fix** appears on a failing line that has a fix. It says what it will do first: "Raise the text to 12 pt", "Raise the small lines to 12 pt" or "Move it inside the safe area". It waits, with "Waiting for your last change to finish", while an edit is still on its way.
- **Read the rule** opens a plain sentence about the rule with the numbers for this size, for example "Text in this role has to be at least 12 pt on this size, so people can read it." **Hide the rule** closes it.
- Contrast is a warning, never a block.
- If the drawing couldn't be checked, the pill says "Couldn't check" with **Try again**, and the list may be out of date.

Select an element and **Checks here** in the inspector lists only its own lines. If a size needs a look, see [Fix a flagged format](https://withmestra.com/docs/how-to/fix-a-flagged-format/).

### Tools, drawing and finer controls

A master, or a new design, has a rail of tools. See [Draw and shape in the editor](https://withmestra.com/docs/how-to/editor-tools/) for the tools, the Pen, editing points, turning, grouping and clipping, and page size and margins. See [Pictures, type and fills in the editor](https://withmestra.com/docs/how-to/editor-pictures-type-fills/) for picture adjustments and masks, underline, indents, and gradients. To work without a pointer, see [Use the editor from the keyboard](https://withmestra.com/docs/how-to/editor-keyboard/).

### Pictures and clips

Select a shape and what it should clip (two or more things), then choose **Clip to shape**. Select the group and choose **Release clip** to undo it. If **Clip to shape** is greyed out, hover it to read why. For example, one of the things is in a group already, or none of them is a closed shape.

### Add pictures

Select a picture and choose **Replace**, or choose **Upload** to add one from your computer. In the picture chooser, **Assets** lists the pictures in your [assets library](https://withmestra.com/docs/how-to/assets/), **In this run** the pictures already in the run, and **Your pictures** other pictures your organisation has kept. Select **Manage assets** to open the Assets page in a new tab.

You can also work without the chooser:

- **Paste** an image (Ctrl+V or Cmd+V) while the canvas has focus. On a master, a pasted image is added as a new picture. In a size, it replaces the selected picture. In a size, with no picture selected, the editor says "Select a picture first, then paste to replace it." A size's pictures are replaced, never added.
- **Drop** image files on the canvas. On a master, drop several files at once and each becomes its own picture. In a size, drop a file on a picture to replace it.

The editor says "Only pictures can be dropped here." or "Only pictures can be pasted here." when a file isn't a picture. A size takes PNG and JPEG pictures. An SVG can be used on masters only; in a size it says "A size takes PNG or JPEG pictures. An SVG can go into the master."

For the limits and what each refusal means, see [Assets](https://withmestra.com/docs/how-to/assets/#limits-and-errors).

### If the size can't be saved

| You see                                                                              | What to do                                                                                                                            |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| "This size changed since you opened it. Reopen it to save your changes."             | Reopen the size and make your change again.                                                                                           |
| "A review round arrived while saving. Save again."                                   | Select **Save** again.                                                                                                                |
| "A font or picture is missing, so the drawing would be wrong. Upload it, then save." | Add the font to the brand, or the picture, then save. See [Set up a brand](https://withmestra.com/docs/how-to/set-up-a-brand/#fonts). |
| "This editing session has ended. Reopen the size to save."                           | Open the size again from the run.                                                                                                     |
| "This size can't be edited"                                                          | It changed since it was made, or it was made before editing was possible. Select **Back to the run**.                                 |

### Edit the master instead

A fix that every size needs belongs in the master. On a size, select **Edit the master for this** to open the master and version the size was made from.

## Edit a master

1. Open **Masters** and select the master.
2. Select **Edit**. To start from an older version, select **Edit this version** on that version under **Versions**.
3. Change the master. Its panel shows its **Role** for each element and other fields, and **Sizes** shows each size built from it. Select a size to open it in the editor.
4. Select **Save**. The **Save version N** dialog says **What changes**, and how many runs keep the earlier version. New runs use version N.

- Opening an older version says "An older version. Saving makes version N."
- If a campaign's rule set lists the earlier version, the dialog says its runs will be held until the rule set lists the new one, with **Open rule set** to change it. See [Campaign rules and brand approval](https://withmestra.com/docs/how-to/campaign-rules/).
- If an element is locked by a rule set, removing it asks "Remove a locked element?"
- If someone saved a newer version while you edited, the dialog says "This master has a newer version" and offers **Reopen and redo my changes** or **Discard my changes**.
- After a save, the dialog says "Then use Pull master changes" in the app the master came from. See [Save and update masters from your design app](https://withmestra.com/docs/how-to/save-and-update-masters/).

After saving, Mestra checks the master again. It shows **Master checking**, then **Master ready** or **Master not ready**.

## What's next

- [Draw and shape in the editor](https://withmestra.com/docs/how-to/editor-tools/)
- [Pictures, type and fills in the editor](https://withmestra.com/docs/how-to/editor-pictures-type-fills/)
- [Use the editor from the keyboard](https://withmestra.com/docs/how-to/editor-keyboard/)
- [Masters in the web app](https://withmestra.com/docs/how-to/masters/)
- [Fix a flagged format](https://withmestra.com/docs/how-to/fix-a-flagged-format/)
