API Docs for: 1.0.0
Show:

CKEDITOR.plugins.ezremoveblock Class

CKEditor plugin providing the eZRemoveBlock command. This command allows to remove the block element holding the caret or the focused widget

Constructor

CKEDITOR.plugins.ezremoveblock

()

Methods

_changeFocus

(
  • editor
  • newFocus
)
protected

Changes the focused element in the editor to the given newFocus element

Parameters:

  • editor CKEDITOR.editor
  • newFocus CKEDITOR.dom.element

_findCaretElement

(
  • element
)
CKEDITOR.dom.element deprecated protected

Finds the "caret element" for the given element. For some elements, like ul or table, moving the caret inside them actually means finding the first element that can be filled by the user.

Parameters:

  • element CKEDITOR.dom.element

Returns:

CKEDITOR.dom.element:

_fireEditorInteraction

(
  • editor
  • removedElement
  • newFocus
)
protected

Fires the editorInteraction event so that AlloyEditor's UI is updated for the newly focused element

Parameters:

  • editor CKEDITOR.editor
  • removedElement CKEDITOR.dom.element
  • newFocus CKEDITOR.dom.element

_moveCaretToElement

(
  • editor
  • element
)
protected

Moves the caret to the element

Parameters:

  • editor CKEDITOR.editor
  • element CKEDITOR.dom.element