Skip to content

v1.4.0 — CKEditor 5 (GPL)

Choose a tag to compare

@se7enxweb se7enxweb released this 19 May 13:53
· 2 commits to master since this release

What's New

CKEditor 5 v48.1.1 replaces FCKeditor 2.2

The legacy FCKeditor 2.2 integration has been replaced with CKEditor 5 v48.1.1 (GPL npm browser build, self-hosted — no CDN dependency).

Media browser — image insertion

  • Fixed image insertion from the media browser popup into the editor (editor.execute('insertImage', { source }))
  • Fixed script URL resolution: static assets now served without siteaccess prefix (leading-slash |ezroot filter)
  • Fixed single-radio-button edge case using querySelectorAll instead of RadioNodeList.length
  • Fixed getAttribute('imgwidth') / getAttribute('imgheight') for non-standard DOM attributes
  • Fixed data-imgurl attribute quoting (|ezroot provides its own quotes)

Insert Link popup — enhanced

  • Manual node ID input: type any eZ Publish node ID directly
  • Browse content tree button: opens the media browser in link mode; selected object node ID is auto-populated into the input field
  • Fixed radio button selection to use querySelectorAll (handles single or multiple related objects)
  • Fixed radio button values to use main_node_id (consistent with explinktomedia operator which resolves expobject://NODE_ID via eZContentObjectTreeNode::fetch())

How expobject:// links are resolved

Links are stored as href="expobject://NODE_ID" in the database and resolved at render time by the linktomedia template operator (explinktomedia.php):

Content class Resolved URL
image Original image file path
file / flash /content/download/…
lien Raw URL from location attribute
(default) Node path identification string

Other

  • Added back-navigation button (16×16 GIF) in the media browser toolbar
  • Registered mediabrowser page layout in settings/layout.ini.append.php
  • Version bumped to 1.4.0