PHPackages                             postyou/headline-tiny-mce - 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. postyou/headline-tiny-mce

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

postyou/headline-tiny-mce
=========================

HTML headline for Contao

4.0.2(3mo ago)0175LGPL-3.0+PHPPHP ^8.0

Since Apr 15Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/postyou/contao-headline-tiny-mce)[ Packagist](https://packagist.org/packages/postyou/headline-tiny-mce)[ RSS](/packages/postyou-headline-tiny-mce/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (6)Versions (20)Used By (0)

Contao Headline TinyMCE
=======================

[](#contao-headline-tinymce)

[![](https://camo.githubusercontent.com/68652e679c855a959c9c11c3b40dc415a261605e9bfaa36a6978dde7b6fb0827/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706f7374796f752f686561646c696e652d74696e792d6d63652e737667)](https://packagist.org/packages/postyou/headline-tiny-mce)[![](https://camo.githubusercontent.com/4b0743d4a986aca915c9b0c90ead28839ecec17f1b42dbca076d00e7acff47cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706f7374796f752f686561646c696e652d74696e792d6d63652e737667)](https://packagist.org/packages/postyou/headline-tiny-mce)[![](https://camo.githubusercontent.com/e71b1d39b41d349bb84facd5b0a0fca13c86a34ba3c38b0452008a6c723093be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706f7374796f752f686561646c696e652d74696e792d6d63652e737667)](https://packagist.org/packages/postyou/headline-tiny-mce)

This Contao CMS extension adds a small TinyMCE editor to all DCA `headline` fields and allows HTML tags for them.

[![](docs/tinyMCE-editor.png)](docs/tinyMCE-editor.png)

Template
--------

[](#template)

The `be_tinyHeadlineMCE.html5` template is used by default. It restricts the menu and the valid elements. Only [phrasing content](https://www.w3.org/TR/2014/REC-html5-20141028/dom.html#phrasing-content-1) should be allowed inside of HTML headings.

Since TinyMce 6 the option to disable `forced_root_block` is no longer available. The headline is now always saved with a surrounding `` tag. For this reason we use `striptags` to remove all tags that are not allowed in `be_tinyHeadlineMCE.html5`:

```
// be_tinyHeadlineMCE.html5

valid_elements: 'a[href|target|title],strong,em,span[style],br',
```

```
{# @Contao/component/_headline.html.twig #}

{{ headline.text|...|striptags('')|raw }}
```

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance82

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 55.4% 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 ~249 days

Recently: every ~273 days

Total

17

Last Release

97d ago

Major Versions

1.0.1 → 2.0.02017-12-21

v2.0.6 → v3.0.02021-09-24

2.0.7 → 4.0.02024-11-06

PHP version history (6 changes)1.0.0PHP &gt;=5.3.2

2.0.0PHP ^7.0

v2.0.5PHP ~7.2

v3.0.0PHP ^7.2 || ^8.0

3.1.0PHP ^8.0

v2.x-devPHP ~7.2 || ~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c0da81007c91dbb790f8f2c20583af3686f575c44cd39dbc7ff1d0d9349b9ed?d=identicon)[theDyingMountain](/maintainers/theDyingMountain)

---

Top Contributors

[![MarkejN](https://avatars.githubusercontent.com/u/38976632?v=4)](https://github.com/MarkejN "MarkejN (31 commits)")[![garyee](https://avatars.githubusercontent.com/u/5537949?v=4)](https://github.com/garyee "garyee (11 commits)")[![theDyingMountain](https://avatars.githubusercontent.com/u/4446224?v=4)](https://github.com/theDyingMountain "theDyingMountain (8 commits)")[![M-Zoldak](https://avatars.githubusercontent.com/u/70640336?v=4)](https://github.com/M-Zoldak "M-Zoldak (6 commits)")

---

Tags

htmlcontaoheadlineTiny MCE

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/postyou-headline-tiny-mce/health.svg)

```
[![Health](https://phpackages.com/badges/postyou-headline-tiny-mce/health.svg)](https://phpackages.com/packages/postyou-headline-tiny-mce)
```

PHPackages © 2026

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