table/converters/tableproperites
@ckeditor/ckeditor5-table/src/converters/tableproperites
Filtering
Functions
-
downcastAttributeToStyle( conversion, options = { options.modelElement, options.modelAttribute, options.styleName } )
module:table/converters/tableproperites~downcastAttributeToStyle
Conversion helper for downcasting an attribute to a style.
Parameters
conversion : Conversion
options : Object
-
Properties
options.modelElement : String
options.modelAttribute : String
options.styleName : String
-
downcastTableAttribute( conversion, options = { options.modelAttribute, options.styleName } )
module:table/converters/tableproperites~downcastTableAttribute
Conversion helper for downcasting attributes from the model table to a view table (not to
<figure>
).Parameters
conversion : Conversion
options : Object
-
Properties
options.modelAttribute : String
options.styleName : String
-
upcastBorderStyles( conversion, viewElementName, modelAttributes, defaultBorder = { defaultBorder.color, defaultBorder.style, defaultBorder.width } )
module:table/converters/tableproperites~upcastBorderStyles
Conversion helper for upcasting border styles for view elements.
Parameters
conversion : Conversion
viewElementName : String
modelAttributes : Object
defaultBorder : Object
The default border values.
PropertiesdefaultBorder.color : String
The default
borderColor
value.defaultBorder.style : String
The default
borderStyle
value.defaultBorder.width : String
The default
borderWidth
value.
-
upcastStyleToAttribute( conversion, options = { options.modelAttribute, options.styleName, options.viewElement, options.defaultValue, [options.reduceBoxSides], [options.shouldUpcast] } )
module:table/converters/tableproperites~upcastStyleToAttribute
Conversion helper for upcasting attributes using normalized styles.
Parameters
conversion : Conversion
options : Object
-
Properties
options.modelAttribute : String
The attribute to set.
options.styleName : String
The style name to convert.
options.viewElement : String
The view element name that should be converted.
options.defaultValue : String
The default value for the specified
modelAttribute
.[ options.reduceBoxSides ] : Boolean
-
Defaults to
false
[ options.shouldUpcast ] : function
The function which returns
true
if style should be upcasted from this element.
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.