Download the PHP package innoweb/silverstripe-fluent-inline-language without Composer
On this page you can find all versions of the php package innoweb/silverstripe-fluent-inline-language. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innoweb/silverstripe-fluent-inline-language
More information about innoweb/silverstripe-fluent-inline-language
Files in innoweb/silverstripe-fluent-inline-language
Package silverstripe-fluent-inline-language
Short Description Allow inline language change for Accessibility in CMS WYSIWYG editor
License BSD-3-Clause
Homepage http://github.com/xini/silverstripe-fluent-inline-language
Informations about the package silverstripe-fluent-inline-language
SilverStripe TinyMCE inline language plugin
Overview
This module allows inline language change for Accessibility in CMS WYSIWYG editor.
Requirements
- SilverStripe CMS 4.x
- Fluent 4.x
If you are using RTL (right-to-left) languages, please consider installing the Fluent RTL module.
Installation
Install the module using composer:
Then run dev/build.
Functionality
The module adds buttons to the editor to change the language of the selected text to one of the configured Fluent locales and wraps the selected text in a span:
If the target language has a different writing direction than the current one, it also adds the dir="ltr|rtl"
attribute to the span.
The data-language
attribute is used to highlight and display the changed language in the editor.
Configuration
If you are using a custom editor css for TinyMCE, please merge the existing editor css files with your current one as below. Otherwise the css file applied by the module will not be loaded.
License
BSD 3-Clause License, see License