Accepted values for NodeAttributes are missing #17953
Labels
squad:core
Issue to be handled by the Core team.
type:docs
This issue reports a task related to documentation (e.g. an idea for a guide).
Origin URL
https://ckeditor.com/docs/ckeditor5/latest/api/module_engine_model_node-NodeAttributes.html
Project version
44.2.0
Is the information outdated? How?
The docs say:
But toMap just documents a function from
data[key: string] : T
toMap<string, T>
. It doesn't specify what values are acceptable for NodeAttributes.Unless any string is acceptable? NodeAttributes are used this way:
writer.createElement( 'paragraph', { alignment: 'center' } );
I was thinking I'd find a list of properties like 'alignment' together with their acceptable values.Is there something missing in the guide? What is it?
No response
Is there anything else you would like to add?
No response
User agent
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
The text was updated successfully, but these errors were encountered: