PHPackages                             kinglozzer/htmleditorscripts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kinglozzer/htmleditorscripts

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

kinglozzer/htmleditorscripts
============================

Enable &lt;script&gt; tags in SilverStripe’s HtmlEditorField

1.0.1(10y ago)01.1k1BSD-3-ClauseJavaScript

Since Apr 29Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kinglozzer/htmleditorscripts)[ Packagist](https://packagist.org/packages/kinglozzer/htmleditorscripts)[ Docs](https://github.com/kinglozzer/htmleditorscripts)[ RSS](/packages/kinglozzer-htmleditorscripts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

HtmlEditorScripts
=================

[](#htmleditorscripts)

Enable `` tags in SilverStripe’s `HtmlEditorField`. An implementation of [this PR](https://github.com/silverstripe/silverstripe-framework/pull/3617) to enable this functionality in 3.1.

Installation
------------

[](#installation)

`composer require kinglozzer/htmleditorscripts`

No extra setup is needed as this module adds `` tags to `extended_valid_elements`.

Notes
-----

[](#notes)

- Only set up to work with the default CMS `HtmlEditorConfig` instance. Copy the approach in `_config.php` to enable it in other config instances;
- Prevents other `editor.onSaveContent` plugin events firing: as we can’t remove the SilverStripe event that strips the `` tags (as we don’t have a variable to reference in `ed.onSaveContent.remove()`), we have to simply stop other events from running.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Total

2

Last Release

3889d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203294386?v=4)[-&gt; lozcalver](/maintainers/kinglozzer)[@kinglozzer](https://github.com/kinglozzer)

---

Top Contributors

[![lozcalver](https://avatars.githubusercontent.com/u/1655548?v=4)](https://github.com/lozcalver "lozcalver (6 commits)")

---

Tags

javascriptsilverstripetagsscripthtmleditorfield

### Embed Badge

![Health badge](/badges/kinglozzer-htmleditorscripts/health.svg)

```
[![Health](https://phpackages.com/badges/kinglozzer-htmleditorscripts/health.svg)](https://phpackages.com/packages/kinglozzer-htmleditorscripts)
```

###  Alternatives

[bigfork/htmleditorsrcset

Simple srcset integration with SilverStripe’s HTMLEditorField

1025.4k4](/packages/bigfork-htmleditorsrcset)[axllent/silverstripe-cms-tweaks

Several CMS usability improvements

1826.2k1](/packages/axllent-silverstripe-cms-tweaks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
