Download the PHP package lala/list-style without Composer
On this page you can find all versions of the php package lala/list-style. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lala/list-style
More information about lala/list-style
Files in lala/list-style
Package list-style
Short Description Neos Package that adds the option to change the list-style of uls and ols.
License MIT
Informations about the package list-style
Lala.ListStyle
Neos Package that adds the option to change the list-style of uls and ols.
Warning
This package is WIP.
Please keep the following caveats in mind:
- This plugin does not support adding classes to the lists. Instead, it will add an attribute
data-list-style-type="circle"
to the list - When changing the style of a list, the complete list has to be selected in the editor, otherwise the list will be split up into multiple lists with different styles
Installation
composer require lala/list-style:dev-master
Usage
-
Enable formatting for a property:
- Create a list in the editor
- Select the whole using the cursor
- Open the dropdown and change the list style
Enable list styles for a property
In each of the following cases true
enables the style(s), while false
and null
will disable it equally.
- enable all configured styles:
editorOptions.listStyle: true
- enable all for a list-type:
editorOptions.listStyle.ul: true
oreditorOptions.listStyle.ol: ~
- enable individual styles:
this can be done with their identifier, e.g.editorOptions.listStyle.ul.disc
Note: As soon as configuration is available, this will be used, i.e. only specifying editorOptions.listStyle.ul.square: ~
will not enable ul.*
but square
.
In the same way setting only editorOptions.listStyle.ul: false
will not enable any ol
styles.
Styling
Please note that this plugin does not supply list styles on it's own.
There is a ListStyles.css
file in Resources/Public
that you can include if needed:
Customization
The available list styles can be customized through the Settings:
The title
is used as the button label in the backend, the value
will be the value of the list-style-type
attribute of the list.
Make sure to add styling for your custom list styles.