Using the palette
Open an article (or any editor field) and click the Widgets button on the toolbar. The palette groups widgets by category - Layout, Text, Media, Marketing, Interactive, Icons, Integrations, and more. Pick a widget, fill in its fields, watch the live preview, and insert. The editor assembles the shortcode for you, so you never have to memorise syntax.
Shortcode syntax (if you prefer typing)
Every widget is a token that starts with [moko_. There are two forms:
- Self-closing - attributes only:
[moko_spacer height="40" /] - Paired - wraps your content:
[moko_button href="/signup" variant="primary"]Join now[/moko_button]
Attributes accept quoted or bare values (size="lg", count=3), and a bare word is treated as an on flag. Multi-item widgets (tabs, panels, pricing plans) separate items with three pipes - |||.
A tour of what you get
- Layout - sections, rows and columns, boxes, panels, tabs, accordions, spacers, modals, drawers.
- Text - styled headings, blockquotes, drop caps, notices/callouts, tooltips, highlights, timelines, rotating "fancy text".
- Media - self-hosted video and audio, privacy-first YouTube and Vimeo embeds, photo galleries, carousels, before/after image comparators, lightboxes, and a QR-code generator rendered entirely on your server.
- Marketing - call-to-action bands, buttons, pricing tables and plans, testimonials and reviews, social share and follow links, countdowns.
- Interactive - animated counters and odometers, progress bars and rings, scroll-triggered animations, news tickers, exit-intent popups.
- CMS - article lists, grids, sliders and an A-Z glossary of your own articles, plus a "load module" widget.
- Integrations - Google Maps, OpenStreetMap, Flickr, Instagram, an AI assistant, and a signed secure-download button.
Built to be safe
- Nothing breaks if a widget is missing. An unknown shortcode is left as plain text, so content authored before an add-on is installed is never destroyed.
- Audience-gated widgets (Members Only, Guests Only, Social Locker) decide per visitor whether to show their content, and are never frozen into the page cache for the wrong audience.
- Privacy-first embeds - YouTube and Vimeo load nothing from the third party until the visitor clicks.
- Integration widgets degrade gracefully - a map or feed with no API key shows a quiet placeholder rather than a broken embed. Set keys under the component's Options → Integrations.
Reference
The complete per-widget attribute catalogue (all 93 shortcodes) lives in the Shortcode Reference on the MokonyxEditor wiki.