Icon Picker Macro


Usage

{{iconPicker id="" class="" prefix="" /}}

Where:

id (optional)DOM id of the input field where the picker will apply
class (optional)CSS class of inputs where the picker will apply
prefix (optional)Prefix to add before the name of the icon in the input field (default: "image:icon:")

Live example

{{html}}
 <p><label>Field 1: <input type="text" id="myPicker" /></label></p>
 <p><label>Field 2: <input type="text" class="fieldWithPicker" /></label></p>
{{/html}}

{{iconPicker id="myPicker" class="fieldWithPicker" prefix="icon:" /}}

Play with it

EU programme:  HORIZON-CL4-2021-HUMAN-01  

flagEU.svg

This project has received funding from the European Union’s Horizon Europe research and innovation programme under the grant agreement 101069364 and it is framed under Next Generation Internet Initiative.

Follow us on social media

linkedin.svgNGISearch_Logo_Icon-circle-N-rgb.svgmastodon-circle.svg

XWiki Enterprise 16.10.17 - Documentation