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 ) → frameWrapperCKEDITOR.plugins.mathjax.frameWrapper#constructorCreates a class instance.
Parameters
iFrame : elementThe
iframeelement to be wrapped.editor : editorThe editor instance.
Returns
frameWrapper
-
setValue( value )CKEDITOR.plugins.mathjax.frameWrapper#setValueSets the TeX value to be displayed in the
iframeelement 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 : StringTeX string.