|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpalio.modules.core.Module
palio.modules.Editor
public class Editor
Moduł Editor służy do integracji jPalio z edytorem TinyMCE.
Dokumentacja edytora znajduje się na stronie http://wiki.moxiecode.com/index.php/TinyMCE:Index.
Date: 2005-12-04 Time: 00:44:51
Field Summary |
---|
Fields inherited from interface palio.modules.core.CurrentModuleDataKeys |
---|
DESIGNER_ACTIONS_BUFFER, HTML_FORM_BUILDER, HTML_MAP_BUILDER, HTML_MENU_BUILDER, HTML_TOOLTIPS_BUFFER, ITEXT_DOCUMENT, MAIL_MESSAGE, XLS_DOCUMENT, XML_DOCUMENT |
Constructor Summary | |
---|---|
Editor(Instance instance)
|
Method Summary | |
---|---|
static java.lang.String |
getEditorScriptUrl()
Returns URL to TinyMCE editor script included in jPalioEditor.jar |
java.lang.String |
getVersion()
Returns the module version |
void |
init(palio.compiler.PalioCode configCode)
Inicjalizuje edytor. |
Methods inherited from class palio.modules.core.Module |
---|
getConfigParam, getDescription, getModuleTranslation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Editor(Instance instance)
Method Detail |
---|
public java.lang.String getVersion()
Module
getVersion
in class Module
public final void init(palio.compiler.PalioCode configCode) throws palio.PalioException
<HEAD>
dokumentu HTML. W kodzie konfiguracyjnym należy
umieścić wpisy zgodne ze specyfikacją konfiguracji edytora TinyMCE.$editor.init({ mode : "textareas", theme : "advanced", force_br_newlines : true, force_p_newlines : false, plugins : "save,print,inlinepopups", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_buttons1_add_before : "save,print,separator", theme_advanced_buttons1_add : "separator,forecolor,backcolor" })
configCode
- kod konfiguracyjny
palio.PalioException
public static java.lang.String getEditorScriptUrl()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |