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
© Joomla教程网 版权所有 | 粤ICP备13002429号
MyJoomla.cn是由野草工作室创建并运营,与 Joomla! Project™ 没有任何关联或认可。使用 Joomla!® 名称、符号、徽标和相关商标须遵守 Open Source Matters, Inc. 授予的有限许可。

编程基础教程

站内链接