Download the PHP package sebkln/ckeditor-wordbreak without Composer

On this page you can find all versions of the php package sebkln/ckeditor-wordbreak. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ckeditor-wordbreak

CKEditor 5: wordbreak Plugin (TYPO3 Extension)

Compatibility

TYPO3 12.4.0 - 13.4.99

What does this extension do?

<wbr>: The Line Break Opportunity element

Line breaks are only applied by browsers if the word is too long for the surrounding element or viewport.

Further information: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr

Screenshots

CKEditor in TYPO3 backend: Highlighted line breaks in editor UI

The <wbr> elements are highlighted with an arrow on a colored background (similar to the soft-hyphen in TYPO3's editor).

CKEditor in TYPO3 backend: HTML source view

In the source editing mode, <wbr> elements are visible in the HTML.

Frontend view (small viewport): Applied line breaks

In the frontend, the browser adds line breaks to the text where <wbr> elements are set (but only where necessary).

Installation

composer req sebkln/ckeditor-wordbreak

The extension needs to be installed as any other extension of TYPO3 CMS.

Perform the following steps:

  1. Load and install the extension
  2. If necessary, include the static template "CKEditor plugin: wordbreak" into your TypoScript template, or load the hidden Site Set sebkln/ckeditor-wordbreak as a dependency (see note below about lib.parseFunc in TYPO3 v13+)
  3. Extend your CKEditor configuration (see below)

CKEditor configuration

Using lib.parseFunc in TYPO3 v13+

Beginning with TYPO3 v13, the properties allowTags and denyTags are now optional.

This means you must only add this extension's TypoScript if you use a custom version of lib.parseFunc_RTE that already uses allowTags to restrict the HTML tags. Otherwise, all tags except <wbr> would be encoded in the frontend.

Please note that this change only applies to TypoScript. allowTags is still needed in the CKEditor's YAML configuration for processing.


All versions of ckeditor-wordbreak with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version >=12.4.0 <13.4.99
typo3/cms-rte-ckeditor Version >=12.4.0 <13.4.99
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sebkln/ckeditor-wordbreak contains the following files

Loading the files please wait ....