Joomla3开发教程

编辑器事件

Events of editor

onCustomEditorButton

Description

Parameters

Return Value

Used in files

onInit

Description

Parameters

Return Value

Used in files

onDisplay

Description

Be aware: "There isn't an "onDisplay" event in the editor API (and the documentation page is wrong for listing it as an event), it is a callback explicitly called by another method in the Editor class."

Please see Cite and additional informations on joomla-cms GitHub repository

Parameters

Return Value

Used in files

onGetContent

Description

Parameters

Return Value

Used in files

onSetContent

Description

Parameters

Return Value

Used in files

onSave

Description

Is called previously to submitting the form of an editor.

Parameters

Return Value

Must return a javascript text.

Used in files

onGetInsertMethod

Description

Parameters

Return Value

Used in files



作者:张敏
原文:http://www.joomlachina.cn/shouce/doc/1916?article_id=1954
© 野草工作室版权所有 | 粤ICP备13002429号

基础学习教程

站内链接