Module

table/converters/tableproperties

@ckeditor/ckeditor5-table/src/converters/tableproperties

module

Filtering

Interfaces

  • StyleValues

Functions

  • downcastAttributeToStyle( conversion, options = { options.modelAttribute, options.modelElement, options.styleName } ) → void

    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

    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

    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

    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