GuidePremium
Text content types for Page Builder in CoullWorks Blog for Magento 2
The Code, Callout, Quote, Table and FAQ content types: what each is for, every setting with its default and limits, and screenshots of the stage and the edit form.
Updated 17 November 2026Back to the package pageBuy
These five Article content types hold written content. Adding, moving and deleting blocks is covered in Page Builder in the blog.
Every block is stored as one element with a data-* attribute per field, and its storefront markup is written when the content is printed. The stage preview uses the same output, so what you see in the stage is what the store shows. Text fields are escaped when printed, so markup you type in a plain field appears as typed. Settings named "checked" or "validated" below are the form rules; they are the limits the form enforces when you press Save.
Code#

The stage preview at desktop width: the code with its file name, line numbers, a highlighted second line and the Copy button.

The same preview at phone width.

The Edit Code form, opened from the gear on the block, with Close and Save at the top.
What it is for. A block of code with a copy button, an optional file name, optional line numbers and highlighted lines. Use it for snippets, commands and configuration a reader will copy.
How to add it. Open the Article section of the panel, drag Code into the stage (into a row, a column, a tab, a Section or the empty stage), press the gear on its toolbar, fill the form and press Save.
Settings.
| Setting | Control | Default | Allowed values and checks | What it changes |
|---|---|---|---|---|
| Language | Drop-down | Plain text | One of: Plain text, PHP, JavaScript, TypeScript, JSX, TSX, JSON, Bash / shell, HTML, CSS, SCSS, LESS, SQL, XML, YAML, Python, GraphQL, Diff, Twig. | Chooses the colouring rules. An unknown value falls back to Plain text. |
| File name | Text input | Empty | Up to 200 characters. | Shown in the bar above the code, beside the Copy button. |
| Code | Text area | Empty | Required. Up to 200000 characters. | The code. It is printed escaped, exactly as typed. The stage shows the placeholder "Add code" while it is empty. |
| Show line numbers | Toggle | No | Yes or No. | Adds a line-number column. |
| Highlight lines (e.g. 3,5-7) | Text input | Empty | Up to 200 characters. Only digits, commas and ranges such as 3,5-7 are accepted, counted from line 1, with each range running upwards. | Marks those lines. If the entry is not in that form the whole entry is ignored and nothing is highlighted. |
| Wrap long lines | Toggle | No | Yes or No. | On: long lines wrap. Off: the block scrolls sideways. |
Each setting as it looks in the form.
Language

The Language field. Bash / shell is chosen in the capture.
File name

The File name field. packing.sh is entered in the capture.
Code

The Code field. The Code field holds a short bash example in the capture.
Show line numbers

The Show line numbers field. On in the capture.
Highlight lines (e.g. 3,5-7)

The Highlight lines (e.g. 3,5-7) field. Line 2 is entered in the capture.
Wrap long lines

The Wrap long lines field.
Tips. Colouring uses Prism, which is loaded only on pages that contain a Code block. The Copy button copies the code and announces the result to screen readers.
Common mistakes. Typing line numbers into the code itself (use Show line numbers), and writing the highlight list with spaces or letters, which switches highlighting off.
Callout#

The stage preview at desktop width: a callout with a title and a line of text.

The same preview at phone width.

The Edit Callout form, opened from the gear on the block, with Close and Save at the top.
What it is for. A boxed note with an optional title, for a tip, a warning or an aside the reader should not miss.
How to add it. Open the Article section of the panel, drag Callout into the stage (into a row, a column, a tab, a Section or the empty stage), press the gear on its toolbar, fill the form and press Save.
Settings.
| Setting | Control | Default | Allowed values and checks | What it changes |
|---|---|---|---|---|
| Variant | Drop-down: Info, Tip, Warning, Note | Info | One of the four. | Changes the styling of the box. The block has the note role for assistive technology. |
| Title | Text input | Empty | Up to 200 characters. | A bold line above the text. Left empty, no title is printed. |
| Text | Text area | Empty | Required. Up to 5000 characters. | The body. It accepts simple HTML such as paragraphs, lists, bold, italic and links. Anything unsafe (scripts, frames, forms) is removed when the page is printed. The stage shows "Add callout text" while it is empty. |
Each setting as it looks in the form.
Variant

The Variant field. Warning is chosen in the capture.
Title

The Title field. "Mind the wind" is entered in the capture.
Text

The Text field. A paragraph wrapped in p tags is entered in the capture.
Tips. The Text box is a plain text area, not an editor: type the paragraph tags yourself, as the capture shows.
Common mistakes. Pasting a long article section into a callout. Use it for a few lines.
Quote#

The stage preview at desktop width: a quotation with its citation under it.

The same preview at phone width.

The Edit Quote form, opened from the gear on the block, with Close and Save at the top.
What it is for. A pull quote or a quotation, with an optional name and link for who said it.
How to add it. Open the Article section of the panel, drag Quote into the stage (into a row, a column, a tab, a Section or the empty stage), press the gear on its toolbar, fill the form and press Save.
Settings.
| Setting | Control | Default | Allowed values and checks | What it changes |
|---|---|---|---|---|
| Quote | Text area | Empty | Required. Up to 2000 characters. Plain text. | The quotation, printed inside a blockquote. The stage shows "Add a quote" while it is empty. |
| Citation | Text input | Empty | Up to 200 characters. | Who said it. Printed under the quote. Without a citation the line is left out. |
| Citation link | Text input | Empty | Up to 2048 characters. Must start with https://, http://, /, #, mailto: or a {{ store directive. | Turns the citation into a link. Anything else is dropped and the citation stays plain text. |
Each setting as it looks in the form.
Quote

The Quote field. A one-sentence quote is entered in the capture.
Citation

The Citation field. A short description of the speaker is entered in the capture.
Citation link

The Citation link field. Empty in the capture.
Tips. Put the source in Citation Link when you quote someone, so the reader can check it.
Common mistakes. Filling Citation Link without a Citation: there is no name to attach the link to, so nothing is printed.
Table#

The stage preview at desktop width: a table with a header row, striped rows and a caption.

The same preview at phone width.

The Edit Table form, opened from the gear on the block, with Close and Save at the top.
What it is for. A data table edited in a small grid, with an optional header row, header column, caption and striped rows.
How to add it. Open the Article section of the panel, drag Table into the stage (into a row, a column, a tab, a Section or the empty stage), press the gear on its toolbar, fill the form and press Save.
Settings.
| Setting | Control | Default | Allowed values and checks | What it changes |
|---|---|---|---|---|
| Rows and columns | Grid editor with Add row, Add column and a bin on each row and column | Empty | Required. At least one row. Up to 200 rows, 30 columns and 2000 characters per cell. Cells are plain text. | The table body. The first row becomes the header when Header row is on. The stage shows "Add table content" while it is empty. |
| Header row | Toggle | Yes | Yes or No. | Makes the first row the column headings. |
| Header column | Toggle | No | Yes or No. | Makes the first cell of every other row a row heading. |
| Caption | Text input | Empty | Up to 300 characters. | A caption above the table, also used as its accessible name. Without one the name is "Table". |
| Striped rows | Toggle | No | Yes or No. | Shades alternate rows. |
Each setting as it looks in the form.
Rows and columns

The Rows and columns field. A three-column, three-row table is entered in the capture.
Header row

The Header row field. On in the capture.
Header column

The Header column field. Off in the capture.
Caption

The Caption field. "Two shelters compared" is entered in the capture.
Striped rows

The Striped rows field. On in the capture.
Tips. On a narrow screen the table scrolls sideways inside its own box and can be focused with the keyboard.
Common mistakes. Leaving Header row on when the first row is data, which turns it into headings.
FAQ#

The stage preview at desktop width: a question with its answer open and a second question closed.

The same preview at phone width.

The Edit FAQ form, opened from the gear on the block, with Close and Save at the top.
What it is for. A list of questions that open and close, one answer each.
How to add it. Open the Article section of the panel, drag FAQ into the stage (into a row, a column, a tab, a Section or the empty stage), press the gear on its toolbar, fill the form and press Save.
Settings.
| Setting | Control | Default | Allowed values and checks | What it changes |
|---|---|---|---|---|
| Questions | Rows list with an Add button, a drag handle and a bin on each row | One empty list | At least one row. Up to 100 rows. | The questions and answers, in the order shown. Drag a row by its handle to reorder it. |
| Question | Text input in each row | Empty | Required. Up to 300 characters. | The line the reader clicks. |
| Answer | Text area in each row | Empty | Required. Up to 5000 characters. | The answer. It accepts simple HTML such as paragraphs, lists and links; unsafe markup is removed when the page is printed. |
| Open the first question | Toggle | No | Yes or No. | Shows the first answer already open when the page loads. |
Each setting as it looks in the form.
Questions

The Questions field. Two rows are filled in the capture.
Question

The Question field. One question is entered in the capture.
Answer

The Answer field. One answer, wrapped in p tags, is entered in the capture.
Open the first question

The Open the first question field. On in the capture.
Tips. Each item is a native details and summary pair, so it opens without JavaScript and is keyboard friendly.
Common mistakes. Leaving a row half filled: the question and the answer are both required.







