engine/view/styles/border
@ckeditor/ckeditor5-engine/src/view/styles/border
module
Filtering
Functions
-
addBorderRules( stylesProcessor )
Adds a border CSS styles processing rules.
This rules merges all border styles notation shorthands:
- border
- border-top
- border-right
- border-bottom
- border-left
- border-color
- border-style
- border-width
and all corresponding longhand forms (like
border-top-color
,border-top-style
, etc).It does not handle other shorthands (like
border-radius
orborder-image
).The normalized model stores border values as:
Parameters
stylesProcessor : StylesProcessor
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.