Skip to content

NPM: Add linkifyjs and linkify-element for ILIAS 12#10569

Closed
fhelfer wants to merge 2 commits into
ILIAS-eLearning:trunkfrom
fhelfer:12/dependencies/linkify-element
Closed

NPM: Add linkifyjs and linkify-element for ILIAS 12#10569
fhelfer wants to merge 2 commits into
ILIAS-eLearning:trunkfrom
fhelfer:12/dependencies/linkify-element

Conversation

@fhelfer

@fhelfer fhelfer commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

This PR adds linkifyjs and linkify-element as NPM dependency.

General Information:

  • these dependencies were already used in ILIAS.
  • License: MIT

Usage:

  • CoPage: Used in paragraphs
  • OnScreenChat: components/ILIAS/OnScreenChat/resources/onscreenchat.js
  • Chatroom: components/ILIAS/Chatroom/resources/js/src/ChatMessageArea.js

Wrapped By:

  • components/ILIAS/Link/resources/js/ilExtLink.js

Reasoning:

linkifyjs is used by the OnScreenChat and Chatroom to transform URL-like strings into clickable HTML link elements. Without this library all kind of URL-like strings (see: https://linkify.js.org/) are not transformed anymore and our users will have to copy the strings manually into the browser address input. I doubt we can support this feature with a few regular expressions maintained by the ILIAS community.

linkify-element is maintained in the same repo.

Maintenance:

  • linkifyjs is actively maintained, although it is feature-complete. In the last months a few bug fixes and improvements have been committed.
  • (The latest release is from 25.07.2025)

Links:

@fhelfer fhelfer added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code and removed javascript Pull requests that update Javascript code labels Nov 28, 2025
@matthiaskunkel

Copy link
Copy Markdown
Member

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

@lscharmer

Copy link
Copy Markdown
Contributor

Merged with PR: #11262

@lscharmer lscharmer closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants