Skip to content

Commit 75c5f85

Browse files
committed
MAGEDOC-3434: Edit custom toolbar topic
Update toolbar topic and replaced svg with png
1 parent d74a3f6 commit 75c5f85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/create-basic-content-type/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ After registering your module (`bin/magento setup:upgrade`) you will be ready to
2828

2929
The steps for creating the Quote content type are illustrated and described below. The reality is not quite this linear, but these steps do represent the basic phases and flow for building new Page Builder content types.
3030

31-
![Creating Custom Content Types](../images/content-type-overview.svg)
31+
![Creating Custom Content Types](../images/content-type-overview.png)
3232

3333
1. **Add configuration**: Create an XML file to define your content type and reference the other files that control the appearance and behavior of your content type.
3434
2. **Add templates**: Create HTML templates that define the appearance of your content types on the Admin stage (`preview.html`) and the storefront (`master.html`).

docs/how-to/how-to-add-custom-toolbar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Toolbars provide end-users with a quick way to change common properties of your
1010

1111
The diagram below shows the basic steps for adding a toolbar to your content type. It also shows how the various parts connect and work together.
1212

13-
![](../images/how-toolbars-work.png)
13+
![](../images/how-toolbars-work.png){:width="851px" height="auto"}
1414

1515

1616

1717
## Step 1: Add toolbar options
1818

1919
Toolbar options are the clickable items in a toolbar that represent the property values of a form field. For example, the Heading content type adds toolbar options for the `text_align` field from `pagebuilder_base_form.xml`. The Heading adds the values of the `text_align` field (`left`, `center`, and `right`) as items on the toolbar, represented with the images provided by the icon CSS classes as shown here:
2020

21-
```typescript
21+
```js
2222
{
2323
key: "text_align",
2424
type: "select",

0 commit comments

Comments
 (0)