[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/libraries/ckeditor/_source/plugins/styles/ -> plugin.js (summary)

Registers a function to be called whenever a style changes its state in the editing area. The current state is passed to the function. The possible states are {@link CKEDITOR.TRISTATE_ON} and {@link CKEDITOR.TRISTATE_OFF}.

File Size: 1400 lines (43 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 25 functions

  applyInlineStyle()
  removeInlineStyle()
  breakNodes()
  applyObjectStyle()
  applyBlockStyle()
  replaceBlock()
  mergePre()
  splitIntoPres()
  replace()
  fromPres()
  toPre()
  removeFromElement()
  removeFromInsideElement()
  removeOverrides()
  removeNoAttribsElement()
  getElement()
  setupElement()
  replaceVariables()
  getAttributesForComparison()
  getOverrides()
  normalizeProperty()
  normalizeCssText()
  parseStyleText()
  compareCssText()
  applyStyle()

Functions
Functions that are not part of a class:

applyInlineStyle( range )   X-Ref
No description

removeInlineStyle( range )   X-Ref
No description

breakNodes()   X-Ref
No description

applyObjectStyle( range )   X-Ref
No description

applyBlockStyle( range )   X-Ref
No description

replaceBlock( block, newBlock )   X-Ref
No description

mergePre( preBlock )   X-Ref
Merge a <pre> block with a previous sibling if available.


splitIntoPres( preBlock )   X-Ref
Split into multiple <pre> blocks separated by double line-break.

param: preBlock

replace( str, regexp, replacement )   X-Ref
No description

fromPres( preHtmls, newBlock )   X-Ref
No description

toPre( block, newBlock )   X-Ref
No description

removeFromElement( style, element )   X-Ref
No description

removeFromInsideElement( style, element )   X-Ref
No description

removeOverrides( element, overrides )   X-Ref
Remove overriding styles/attributes from the specific element.
Note: Remove the element if no attributes remain.

param: {Object} element
param: {Object} overrides

removeNoAttribsElement( element )   X-Ref
No description

getElement( style, targetDocument )   X-Ref
No description

setupElement( el, style )   X-Ref
No description

replaceVariables( list, variablesValues )   X-Ref
No description

getAttributesForComparison( styleDefinition )   X-Ref
No description

getOverrides( style )   X-Ref
Get the the collection used to compare the elements and attributes,
defined in this style overrides, with other element. All information in
it is lowercased.

param: {CKEDITOR.style} style

normalizeProperty( name, value, isStyle )   X-Ref
No description

normalizeCssText( unparsedCssText, nativeNormalize )   X-Ref
No description

parseStyleText( styleText )   X-Ref
No description

compareCssText( source, target )   X-Ref
Compare two bunch of styles, with the speciality that value 'inherit'
is treated as a wildcard which will match any value.

param: {Object|String} source
param: {Object|String} target

applyStyle( document, remove )   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7