Skip to content
  1. Extras
  2. mxEditorJs
  3. Integration
  4. FAQ

FAQ ​

Editor does not appear in resource content ​

  1. which_editor = mxEditorJs
  2. mxeditorjs.enabled = Yes
  3. use_editor = Yes
  4. Settings → Clear cache

Editor does not appear in a TV ​

  1. TV type Textarea, Rich Text = Yes
  2. Open Template Variables tab on the resource
  3. The editor starts when the field is visible on the page

Editor does not appear in MIGX ​

  1. which_editor = mxEditorJs, mxeditorjs.enabled = Yes
  2. Form Tabs field "inputTVtype": "richtext"
  3. The plugin serves migxmxeditorjs on OnTVInputRenderList
  4. The value is HTML inside MIGX JSON. The row has no sidecar. MxEditorJsFlush runs before submit

Video does not embed ​

Paste a link (YouTube, RuTube, etc.) into an empty block with Ctrl+V. There is no Embed menu button.

Ask the admin to check:

  • mxeditorjs.image_mediasource and folder permissions
  • mxeditorjs.image_upload_path (template with {resource_id})
  • file size ≤ mxeditorjs.max_upload_size (default 5 MB)
  • extension in mxeditorjs.allowed_image_types

Layout breaks on the site after save ​

The site uses the HTML snapshot from modResource.content. Raw HTML block and some embeds pass through as-is. Check theme CSS for mxeditorjs-gallery, tables, and iframes.

Migration overwrote content ​

Repeat migration with force and confirmed overwrites the sidecar. Back up the database before bulk migration. Preview: connector content/migrate with dry_run=1.

TypeError when opening a static resource ​

The plugin normalizes the MODx.loadRTE(elements) argument. Upgrade to the latest package.

Where JSON is stored ​

ContextTable
Main contentmxeditorjs_content
TVmxeditorjs_tv_content

HTML for the site lives in modResource.content or the TV textarea value.