| Current Path : /home/helpink/www/libraries/astroid/framework/elements/heading/ |
| Current File : /home/helpink/www/libraries/astroid/framework/elements/heading/heading.xml |
<?xml version="1.0" encoding="UTF-8"?>
<element>
<title>ASTROID_WIDGET_HEADING_LABEL</title>
<description>ASTROID_WIDGET_HEADING_DESC</description>
<icon>fa-solid fa-heading</icon>
<category>ASTROID_ELEMENT_CATEGORY_TYPOGRAPHY</category>
<element_type>widget</element_type>
<form>
<fields>
<fieldset name="general-settings" label="TPL_ASTROID_GENERAL_SETTINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields">
<field type="astroidgroup" name="widget_styles" title="ASTROID_WIDGET_STYLES_LABEL"/>
<field astroidgroup="general" description="ASTROID_WIDGET_HEADING_USE_LINK_DESC" name="use_link" type="astroidradio" astroid-switch="true" default="0" label="ASTROID_WIDGET_USE_LINK_LABEL"/>
<field astroidgroup="general" ngShow="[use_link]==1" type="astroidtext" label="ASTROID_WIDGET_LINK_LABEL" description="ASTROID_WIDGET_HEADING_LINK_DESC" name="link" hint="https://astroidframe.work/"/>
<field astroidgroup="general" description="ASTROID_WIDGET_HEADING_ADD_ICON_DESC" name="add_icon" type="astroidradio" astroid-switch="true" default="0" label="ASTROID_WIDGET_ADD_ICON_LABEL"/>
<field astroidgroup="general" ngShow="[add_icon]==1" type="astroidicons" label="ASTROID_WIDGET_ICON_LABEL" name="icon"/>
<field astroidgroup="general" ngShow="[add_icon]==1" name="icon_color" type="astroidcolor" label="TPL_ASTROID_COLOR" />
<field astroidgroup="widget_styles" name="html_element" type="astroidlist" label="ASTROID_WIDGET_HTML_ELEMENT_LABEL" default="h2">
<option value="h1">h1</option>
<option value="h2">h2</option>
<option value="h3">h3</option>
<option value="h4">h4</option>
<option value="h5">h5</option>
<option value="h6">h6</option>
<option value="div">div</option>
</field>
<field astroidgroup="widget_styles" name="font_style" label="ASTROID_WIDGET_FONT_STYLES_LABEL" type="astroidtypography" columns="1" preview="false"/>
</fieldset>
<fieldset name="assignment-settings" label="TPL_ASTROID_ASSIGNMENT_SETTINGS_LABEL" addfieldpath="/libraries/astroid/framework/fields" articleData="false">
<field type="astroidlist" name="assignment_type" label="ASTROID_WIDGET_ASSIGN" default="1">
<option value="1">ASTROID_WIDGET_ON_ALL_PAGES</option>
<option value="0">ASTROID_WIDGET_NO_PAGES</option>
<option value="2">ASTROID_WIDGET_SELECTED_PAGES</option>
</field>
<field ngShow="[assignment_type]==2" type="astroidassignment" label="ASTROID_ASSIGN_TO_MENU_ITEM" name="assignment"/>
</fieldset>
</fields>
</form>
</element>