Custom Markup Component: Difference between revisions
Imported from Confluence |
No edit summary |
||
| Line 1: | Line 1: | ||
The Custom Markup component is a relatively simple component type designed to add custom HTML markup to your page. In its simplest form, this will generate a basic block with some text and a call to action link, if the field is filled in. This component might be helpful if you want to add a simple block of text between other panes on your page. | ← [[Drupal Home|Return to the Drupal 10 User Guide]] | ||
The '''''Custom Markup''''' component is a relatively simple component type designed to add custom HTML markup to your page. In its simplest form, this will generate a basic block with some text and a call to action link, if the field is filled in. This component might be helpful if you want to add a simple block of text between other panes on your page. | |||
In its most complex form, the Custom Markup component can be used to generate valid [https://developer.mozilla.org/en-US/docs/Web/HTML HTML] elements. This is done by clicking the '''''Source '''''button on the '''''Abstract '''''field's editor panel. Since this can result in a number of unintended side effects, <u>we recommend getting in touch with ITS</u> ([mailto:support@swarthmore.edu support@swarthmore.edu]) if you are interested in using the Custom Markup component to create truly custom HTML markup. | In its most complex form, the Custom Markup component can be used to generate valid [https://developer.mozilla.org/en-US/docs/Web/HTML HTML] elements. This is done by clicking the '''''Source '''''button on the '''''Abstract '''''field's editor panel. Since this can result in a number of unintended side effects, <u>we recommend getting in touch with ITS</u> ([mailto:support@swarthmore.edu support@swarthmore.edu]) if you are interested in using the Custom Markup component to create truly custom HTML markup. | ||
Revision as of 19:08, 8 July 2026
← Return to the Drupal 10 User Guide
The Custom Markup component is a relatively simple component type designed to add custom HTML markup to your page. In its simplest form, this will generate a basic block with some text and a call to action link, if the field is filled in. This component might be helpful if you want to add a simple block of text between other panes on your page.
In its most complex form, the Custom Markup component can be used to generate valid HTML elements. This is done by clicking the Source button on the Abstract field's editor panel. Since this can result in a number of unintended side effects, we recommend getting in touch with ITS (support@swarthmore.edu) if you are interested in using the Custom Markup component to create truly custom HTML markup.