Icon Picker Macro

Zuletzt geändert von superadmin am 2023/05/10 07:36

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>Field 1: <input type="text" id="myPicker" /></p>
 <p>Field 2: <input type="text" class="fieldWithPicker" /></p>
{{/html}}

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

Play with it

Field 1:

Field 2:

Tags:
    

Wir brauchen Deine Unterstützung!

Das Ende unseres Engagements?

Um unsere Workshops an Schulen weiter anbieten zu können, brauchen wir dringend Unterstützung. Dein Engagement kann dabei den entscheidenden Unterschied machen!

Der Link führt Euch auf unsere Homepage.

(c) Medienkompetenz Team e.V. [Impressum] [Datenschutzhinweise]
XWiki 14.10.13 contact@xwiki.com