list/listproperties/utils/style
@ckeditor/ckeditor5-list/src/listproperties/utils/style
Filtering
Functions
-
getAllSupportedStyleTypes() → Array<string>
module:list/listproperties/utils/style~getAllSupportedStyleTypes
-
getListStyleTypeFromTypeAttribute( value ) → string | null
module:list/listproperties/utils/style~getListStyleTypeFromTypeAttribute
Converts
type
attribute of<ul>
or<ol>
elements tolist-style-type
equivalent.Parameters
value : string
Returns
string | null
-
getListTypeFromListStyleType( listStyleType ) → 'bulleted' | 'numbered' | null
module:list/listproperties/utils/style~getListTypeFromListStyleType
Checks whether the given list-style-type is supported by numbered or bulleted list.
Parameters
listStyleType : string
Returns
'bulleted' | 'numbered' | null
-
getTypeAttributeFromListStyleType( value ) → string | null
module:list/listproperties/utils/style~getTypeAttributeFromListStyleType
Converts
list-style-type
style totype
attribute of<ul>
or<ol>
elements.Parameters
value : string
Returns
string | null
-
normalizeListStyle( listStyle ) → string
module:list/listproperties/utils/style~normalizeListStyle
Normalizes list style by converting aliases to their canonical form.
Parameters
listStyle : string
The list style value to normalize.
Returns
string
The canonical form of the list style.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.