• Applicable Software: MokonyxEditor
  • Min Version Number: 01.22.00
  • Max Version Number: Not Applicable

The editing modes

Depending on the profile assigned to your user group, the editor can offer up to four modes:

  • WYSIWYG - the default visual editor (TinyMCE 8).
  • Source - raw HTML in a CodeMirror 6 code editor with syntax highlighting, line numbers, and bracket matching. Ideal for pasting in markup, fixing formatting, or adding an inline style block.
  • Preview - see how the content will render before you save.
  • Markdown - write in Markdown where enabled.

Switch between WYSIWYG and Source using the tabs on the editor; your content stays in sync as you move between them.

When to use Source view

  • Pasting HTML from another system and cleaning it up.
  • Adding a widget shortcode by hand, or an inline <style> block (for allowed groups).
  • Fine-tuning attributes the visual editor doesn't expose.
  • Troubleshooting stray or malformed markup.

Controlling who gets what

Source, preview, and markdown are capabilities on the editor profile, so you decide per user group who sees them. Open Components → MokonyxEditor → Profiles, edit a profile, and toggle the capabilities under its settings. A restricted author might get WYSIWYG only, while a developer's profile enables full source access - all from the same editor.

Allowed HTML

Even in Source view, a profile's Allowed HTML tags setting still applies on save, so you can let a group edit source while keeping output within safe limits. See the editor profiles guide for details.