CKEDITOR.plugins.pastefromword.styles
Filtering
Properties
-
inliner : Objectsince 4.7.0 private
Namespace containing the styles inliner.
Methods
-
pushStylesLower( element, exceptions, [ wrapText ] ) → BooleanMoves the element's styles lower in the DOM hierarchy. If
wrapText==trueand the direct child of an element is a text node it will be wrapped in aspanelement.Parameters
element : elementexceptions : ObjectAn object containing style names which should not be moved, e.g.
{ background: true }.[ wrapText ] : BooleanWhether a direct text child of an element should be wrapped into a
spantag so that the styles can be moved to it.Defaults to
false
Returns
BooleanReturns
trueif styles were successfully moved lower.
-
createStyleStack( element, filter, editor, [ skipStyles ] )private
Surrounds the element's children with a stack of spans, each one having one style originally belonging to the element.
-
normalizedStyles( element, editor )private
Filters Word-specific styles for a given element. Also might filter additional styles based on the
editorconfiguration.