developion/craft-cke-shy

.

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:HTML

Type:craft-plugin

1.1.0 2025-09-19 10:10 UTC

This package is not auto-updated.

Last update: 2025-10-03 13:34:06 UTC


README

.

Requirements

This plugin requires Craft CMS 5.8.0 or later, and PHP 8.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “CKE Shy”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

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

# tell Composer to load the plugin
composer require developion/craft-cke-shy

# tell Craft to install the plugin
./craft plugin/install cke-shy

Usage

In order to be able to use the ­ tags provided by this plugin, a few things must be configured in your environment:

  • HTMLPurifier config must be updated to contain with the following setting:
"AutoFormat.RemoveEmpty.Predicate": {
	"span": {
		"class": "entity-shy"
	}
}
  • CraftCMS CKEditor plugin config must be updated to contain the following setting:
"htmlSupport": {
	"allow": [
		{
			"class": [
				"entity-shy"
			],
			"name": "span"
		}
	]
}

Enjoy your hyphenation!