table/converters/tableproperties
@ckeditor/ckeditor5-table/src/converters/tableproperties
Filtering
Interfaces
-
StyleValues
module:table/converters/tableproperties~StyleValues
Functions
-
downcastAttributeToStyle( conversion, options = { options.modelAttribute, options.modelElement, options.styleName } ) → void
module:table/converters/tableproperties~downcastAttributeToStyle
Conversion helper for downcasting an attribute to a style.
Parameters
conversion : Conversion
options : object
-
Properties
options.modelAttribute : string
options.modelElement : string
options.styleName : string
Returns
void
-
downcastTableAttribute( conversion, options = { options.modelAttribute, options.styleName } ) → void
module:table/converters/tableproperties~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
Returns
void
-
upcastBorderStyles( conversion, viewElementName, modelAttributes, defaultBorder ) → void
module:table/converters/tableproperties~upcastBorderStyles
Conversion helper for upcasting border styles for view elements.
Parameters
conversion : Conversion
viewElementName : string
modelAttributes : StyleValues
defaultBorder : StyleValues
The default border values.
Returns
void
-
upcastStyleToAttribute( conversion, options = { options.defaultValue, options.modelAttribute, [options.reduceBoxSides], [options.shouldUpcast], options.styleName, options.viewElement } ) → void
module:table/converters/tableproperties~upcastStyleToAttribute
Conversion helper for upcasting attributes using normalized styles.
Parameters
conversion : Conversion
options : object
-
Properties
options.defaultValue : string
The default value for the specified
modelAttribute
.options.modelAttribute : string
The attribute to set.
[ options.reduceBoxSides ] : boolean
[ options.shouldUpcast ] : ( Element ) => boolean
options.styleName : string
The style name to convert.
options.viewElement : string | RegExp
The view element name that should be converted.
Returns
void
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.