PHPackages                             abmat/craft-tinymce - 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. abmat/craft-tinymce

ActiveCraft-plugin

abmat/craft-tinymce
===================

TinyMCE Field for Craft CMS

2.0.9(6mo ago)0502MITPHP

Since Apr 5Pushed 6mo agoCompare

[ Source](https://github.com/abm-werbeagentur/craft-tinymce)[ Packagist](https://packagist.org/packages/abmat/craft-tinymce)[ RSS](/packages/abmat-craft-tinymce/feed)WikiDiscussions main Synced 1mo ago

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

craft-tinymce
=============

[](#craft-tinymce)

[![](src/icon.svg)](src/icon.svg)

TinyMCE Field for Craft CMS
===========================

[](#tinymce-field-for-craft-cms)

A Craft CMS plugin that adds the [TinyMCE](https://www.tiny.cloud/tinymce/) editor as a field type.

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

[](#installation)

This plugin can be installed from the [Craft Plugin Store](https://plugins.craftcms.com/abm-tinymce) or with [Composer](https://packagist.org/).

### Craft Plugin Store

[](#craft-plugin-store)

Open your Craft project's control panel, navigate to the Plugin Store, search for TinyMCE Field and click Install.

### Composer

[](#composer)

Open your terminal, navigate to your Craft project's root directory and run the following command:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require abmat/craft-tinymce

# tell Craft to install the plugin
php craft plugin/install abm-tinymce

```

### Requirements

[](#requirements)

TinyMCE Field 1.x requires Craft CMS 4.x. TinyMCE Field 2.x requires Craft CMS 5.x.

Configuration
-------------

[](#configuration)

You can create custom TinyMCE configs that will be available to your TinyMCE fields. They should be created as JSON files in your config/tinymce/ folder. Default configuration is created on plugin install. You can add personalized project config files like project1.json, project2.json, ... to get those configurations in your TinyMCE fields settings.

See the [TinyMCE documentation](https://www.tiny.cloud/docs/configure/editor-appearance/) for a list of available config options and buttons.

### Custom TinyMCE Config

[](#custom-tinymce-config)

There are some custom TinyMCE Config described here:

- craftlink\_adv\_tab \[boolean\]: Set to true if you want to be able to add ID and additional classes to your links
- craftlink\_data\_attr \[array\]: Here you can define data- Attributes that you can fill for your links. Only works if you have craftlink\_adv\_tab activated.
- craftlink\_anker \[boolean\]: Set to true if you want to have an anchor field for your links
- craftimage\_title \[boolean\]: Set to true if you want to add a title to your images
- craftimage\_class\_list \[array\]: You can define an Array for custom classes that can be assigned to your images. { "title": "Default", "value": "editor-img-default" }

For each TinyMCE Config you can add a custom css file in your config/tinymce/resources folder. For example for the Project1.json configuration you can add a Project1.css file to have those styles applied to your custom styles in the backend editor.

### plugin "abmChatGpt" and buttons "abmChatGptLanguages", "abmChatGptPrompts"

[](#plugin-abmchatgpt-and-buttons-abmchatgptlanguages-abmchatgptprompts)

To enable our plugin ["ChatGPT for editors - Plugin"](https://plugins.craftcms.com/abm-chatgpt), add "abmChatGpt" to the plugin list in your custom tinymce config and then add the Buttons "abmChatGptLanguages" and / or "abmChatGptPrompts" to a toolbar. Button "abmChatGptLanguages" is for translations. Button "abmChatGptPrompts" is for prompts.

On a fresh install, the plugin "abmchatGpt" and the buttons are already in the Default.json file.

### TinyMCE style\_formats

[](#tinymce-style_formats)

You can add custom style formats to your editor by added them to your json config file. See the [TinyMCE style\_formats documentation](https://www.tiny.cloud/docs/configure/editor-appearance/#style_formats) for a list of available config options.

Example:

```
"style_formats": [
  {
    "title": "Font Color",
    "items": [
      {"title": "orange", "inline": "span", "classes": "fc-orange"},
      {"title": "blau", "inline": "span", "classes": "fc-blue"}
    ]
  },
  {
    "title": "SEO",
    "items": [
      {"title": "H1", "format": "h1"},
      {"title": "H2", "format": "h2"},
      {"title": "H3", "format": "h3"},
      {"title": "H4", "format": "h4"},
      {"title": "H5", "format": "h5"},
      {"title": "H6", "format": "h6"}
    ]
  }
]
```

### TinyMCE Link Classes

[](#tinymce-link-classes)

You cann add custom link classes to your links by adding them to your json config file. The value will be added as a class to the a tag when selected as a link class on inserting/editing a link.

```
"link_class_list": [
  {"title": "None", "value": ""},
  {"title": "My custom link class", "value": "custom_link_class"}
]
```

---

*Created and maintained by [abm Feregyhazy &amp; Simon GmbH](https://www.abm.at)*

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance66

Regular maintenance activity

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.2% 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 ~44 days

Recently: every ~97 days

Total

22

Last Release

209d ago

Major Versions

1.1.0 → 2.0.02024-02-20

1.1.1 → 2.0.22024-04-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/b72f4926e87e30e6ef6ac1efe42ff6f4efe54ff940ef408de230925ca9e6e814?d=identicon)[abm-developer](/maintainers/abm-developer)

---

Top Contributors

[![HigumaSan4050](https://avatars.githubusercontent.com/u/62851271?v=4)](https://github.com/HigumaSan4050 "HigumaSan4050 (70 commits)")[![abm-schuh](https://avatars.githubusercontent.com/u/68059598?v=4)](https://github.com/abm-schuh "abm-schuh (2 commits)")

### Embed Badge

![Health badge](/badges/abmat-craft-tinymce/health.svg)

```
[![Health](https://phpackages.com/badges/abmat-craft-tinymce/health.svg)](https://phpackages.com/packages/abmat-craft-tinymce)
```

###  Alternatives

[craftcms/ckeditor

Edit rich text content in Craft CMS using CKEditor.

48359.1k52](/packages/craftcms-ckeditor)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/workflow

Enforce multi-step review processes for creating entries.

138120.3k1](/packages/verbb-workflow)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[craftcms/shopify

Shopify for Craft CMS

549.2k1](/packages/craftcms-shopify)

PHPackages © 2026

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