Report an issue
Class

CKEDITOR.plugins.mathjax.frameWrapper

class private

FrameWrapper is responsible for communication between the MathJax library and the iframe element that is used for rendering mathematical formulas inside the editor. It lets you create visual mathematics by using the setValue method.

Filtering

Methods

  • constructor( iFrame, editor ) → frameWrapper

    Creates a class instance.

    Parameters

    iFrame : element

    The iframe element to be wrapped.

    editor : editor

    The editor instance.

    Returns

    frameWrapper
  • setValue( value )

    Sets the TeX value to be displayed in the iframe element inside the editor. This function will activate the MathJax library which interprets TeX expressions and converts them into their representation that is displayed in the editor.

    Parameters

    value : String

    TeX string.