Insert Icon Picker Macro
Last modified by Ilie Andriuta on 2025/06/13 16:06
Steps to reproduce
Preconditions: The user needs script right, since there is a HTML macro to be executed.
- Edit a page in CKEditor mode
- Paste in source:
{{html}}
<p>Field 1: <input type="text" id="myPicker" /></p>
<p>Field 2: <input type="text" class="fieldWithPicker" /></p>
{{/html}} - Click on Source to go back to WYSIWYG mode
- Select a new line
- Click Insert > Other Macros
- Search for Icon Picker and click Select
- Fill in the required fields (e.g. Icon Picker Macro): e.g. (Id="myPicker", Class="fieldWithPicker", Prefix="icon:")
- Click Submit
- Click "Save & View" or "Done" (if Realtime is active)
- Click inside the fields (Field 1 and Field 2)
Expected results
The Macro works properly, the icons are displayed.
Results
| per page of Previous Page Next Page Page | |||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
| Previous Page Next Page Page | |||||||||||||||||||||||||||||||||