Skip to content

Releases

1.4.1 — Composer type exponential-extension

Choose a tag to compare

@se7enxweb se7enxweb released this 02 Dec 04:43

The Composer type exponential-extension

The package type is now exponential-extension, and the package requires
se7enxweb/exponential-legacy-installer: ^2.2.6, the installer that places both exponential-extension and the
original ezpublish-legacy-extension in extension/. A project with an older installer gets 2.2.6 with this
release, in the same composer require or composer update. The extension folder name is unchanged.

ezinfo.php and extension.xml carry the version 1.4.1.

Commits

  • 6c282e8 Added: CI through the shared extension workflow
  • 2eadd90 Updated: Version 1.4.1, with the Composer type exponential-extension

v1.4.0 — CKEditor 5 (GPL)

Choose a tag to compare

@se7enxweb se7enxweb released this 19 May 13:53

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

1.3.5

Choose a tag to compare

@se7enxweb se7enxweb released this 19 May 11:32

What's Changed

Extension rename

  • Renamed extension from smilefckeditor to expfckeditorhtmlblock
  • All internal module, class, template, and settings references updated
  • smileobject:// URI scheme replaced with expobject://
  • FCKeditor plugins renamed: SmileeZlink → expeZlink, SmileeZimage → expeZimage
  • Template function renamed: smileGetRelatedObjects → getRelatedObjects

PHP 8 compatibility fixes (datatypes/ezhtml/ezhtmltype.php)

  • Replaced old-style constructor function ezhtmltype() with __construct()
  • Removed deprecated by-reference (&) parameter passing from all overriding methods
  • Replaced undefined PHP 8 constants with their literal integer values

FCKeditor JavaScript fixes (fckeditor/editor/js/fckeditorcode_gecko_2.js)

  • Fixed DOMException in FCK.CreateLink: changed document.evaluate() to this.EditorDocument.evaluate() to avoid cross-document node errors
  • Fixed CreateLink inserting placeholder javascript:void(0) href: replaced XPath attribute match with getElementsByTagName + getAttribute to read raw (un-normalised) attribute value
  • Added javascript: URL sanitisation in CreateLink to block XSS via crafted hrefs
  • Fixed FCKDialog.CheckFocus event listener leak: removed on prefix from removeEventListener event names (onmousedown → mousedown, onfocus → focus)
  • Fixed FCKDialog.Show race condition: moved dialogArguments assignment before location.href change
  • Fixed FCK.Preview crash when popup is browser-blocked: added null guard after window.open()
  • Fixed FCK.InsertHtml crash on empty selection: wrapped FCKSelection.SelectNode in null guard

.htaccess

  • Broadened FCKeditor static file rewrite rule to match root-level files (fixes fckeditor.js 404)
  • Added rewrite rule for expfckeditorhtmlblock/javascript/ static assets

Documentation

  • Rewrote README.md with full installation, configuration, file structure, and upgrade-from-smilefckeditor guide