|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
<jsml xmlns="http://cutesoft.net/jsml"
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cutesoft.net/jsml ../../core/jsml.xsd">
|
|
|
|
|
|
<jsml-def name="toolbar_{toolbar}_{skin}_{color}">
|
|
|
<initialize>
|
|
|
self.toggle_css_class("rtetoolbarwithribbon",true);
|
|
|
</initialize>
|
|
|
|
|
|
<panel jsml-base="ribbon_{skin}_{color}" text="@COMMON">
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}" dock="none" overflow_y="visible">
|
|
|
<image jsml-base="ribbonimage_{skin}_{color}" command="Paste" imagename="ribbonpaste" tooltip="@PASTE" width="44" height="47" vertical_align="middle" horizontal_align="center"/>
|
|
|
</panel>
|
|
|
<panel left="49" overflow="visible">
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<image jsml-base="image_{skin}_{color}" command="Save" tooltip="@SAVE"/>
|
|
|
<image jsml-base="image_{skin}_{color}" command="New" tooltip="@NEW" imagename="newdoc" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="Print" tooltip="@PRINT" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="spellcheck" tooltip="@SPELLCHECK" imagename="spell" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="Cut" tooltip="@CUT">
|
|
|
<attach name="mousehover">
|
|
|
self._ResetFCButton();
|
|
|
</attach>
|
|
|
</image>
|
|
|
<image jsml-base="image_{skin}_{color}" command="Copy" tooltip="@COPY">
|
|
|
<attach name="mousehover">
|
|
|
self._ResetFCButton();
|
|
|
</attach>
|
|
|
</image>
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="Delete" tooltip="@DELETE" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="Find" tooltip="@FINDANDREPLACE" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel top="55" overflow="visible">
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="PasteText" tooltip="@PASTETEXT" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="PasteWord" tooltip="@PASTEWORD" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}" flow_clear="follow" margin="0,0,0,3">
|
|
|
<image jsml-base="image_{skin}_{color}" command="Undo" tooltip="@UNDO" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="Redo" tooltip="@REDO" />
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}" flow_clear="follow">
|
|
|
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" tooltip="@FORMATPAINTER" imagename="formatpainter">
|
|
|
<attach name="click" arguments="je,e">
|
|
|
<![CDATA[
|
|
|
if(e.ctrlKey||e.altKey)
|
|
|
return self._rteinstance.ExecCommand("formatpainterfetch")
|
|
|
if(self._rteinstance.CanExecCommand("formatpainterapply"))
|
|
|
self._rteinstance.ExecCommand("formatpainterapply")
|
|
|
else
|
|
|
self.invoke_event("splitclick");
|
|
|
]]>
|
|
|
</attach>
|
|
|
<attach name="splitclick">
|
|
|
formatpaintermenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
formatpaintermenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
formatpaintermenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="formatpaintermenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="formatpainterfetch" imagename="copy" text="@FORMATPAINTERFETCH" />
|
|
|
<panel jsml-base="rtemenuitem" command="formatpainterapply" imagename="formatpainter" text="@FORMATPAINTERAPPLY" />
|
|
|
<panel jsml-base="rtemenuitem" command="formatpainterclear" imagename="newdoc" text="@FORMATPAINTERCLEAR" />
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
<panel jsml-base="ribbon_{skin}_{color}" text="@FORMAT">
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<initialize>
|
|
|
self._element.setAttribute("noradius","1");
|
|
|
</initialize>
|
|
|
<panel jsml-base="dropdown_{skin}_{color}" command="ShowXmlFloatbox" arguments="setfontname.xml" width="88" text="@FontName" stylename="fontname" />
|
|
|
<panel jsml-base="dropdown_{skin}_{color}" command="ShowXmlFloatbox" arguments="setfontsize.xml" width="65" text="@FontSize" stylename="fontsize" />
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<image jsml-base="image_{skin}_{color}" command="Bold" tooltip="@BOLD" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="Italic" tooltip="@ITALIC" />
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="Underline" tooltip="@UNDERLINE" imagename="under" >
|
|
|
<attach name="splitclick">
|
|
|
decorationmenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
decorationmenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
decorationmenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="decorationmenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="Linethrough" text="@LINETHROUGH" imagename="strike" />
|
|
|
<panel jsml-base="rtemenuitem" command="Overline" text="@OVERLINE" imagename="Overline" />
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="ForeColor" tooltip="@TEXTCOLOR">
|
|
|
<jsml-ref name="rtecommandcolor"/>
|
|
|
</panel>
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="BackColor" tooltip="@BACKCOLOR">
|
|
|
<jsml-ref name="rtecommandcolor"/>
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<image jsml-base="image_{skin}_{color}" command="Superscript" tooltip="@SUPERSCRIPT" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="Subscript" tooltip="@SUBSCRIPT" />
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" imagename="Ucase" tooltip="@CHANGECASE" >
|
|
|
<attach name="click,splitclick">
|
|
|
textcasemenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
textcasemenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
textcasemenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="textcasemenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="Ucase" text="@UPPERCASE" />
|
|
|
<panel jsml-base="rtemenuitem" command="Lcase" text="@LOWERCASE" />
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}" flow_clear="follow">
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="RemoveFormat" tooltip="@REMOVEFORMAT" imagename="unformat" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="CleanCode" tooltip="@CLEANCODE" imagename="cleanup" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="SelectAll" tooltip="@SELECTALL" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="ribbon_{skin}_{color}" text="@PARAGRAPHS">
|
|
|
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<initialize>
|
|
|
self._element.setAttribute("noradius","1");
|
|
|
</initialize>
|
|
|
<panel jsml-base="dropdown_{skin}_{color}" command="ShowXmlFloatbox" arguments="setparagraph.xml" width="82" text="@Paragraphs" stylename="paragraph" />
|
|
|
<panel jsml-base="dropdown_{skin}_{color}" command="ShowXmlFloatbox" arguments="setstyles.xml" width="62" text="@Styles" />
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" tooltip="@JUSTIFY" imagename="left">
|
|
|
<attach name="click,splitclick">
|
|
|
justifymenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
justifymenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
justifymenu.dispose();
|
|
|
</attach>
|
|
|
<attach name="update_statusui">
|
|
|
<![CDATA[
|
|
|
var editor=self.find_editor();
|
|
|
var arr=justifymenu.get_children();
|
|
|
for(var i=arr.length-1;i>=0;i--)
|
|
|
{
|
|
|
var item=arr[i];
|
|
|
var cmd=item.get_command();
|
|
|
if(!editor.QueryCommand(cmd))
|
|
|
continue;
|
|
|
if(self._lastjustify==cmd)
|
|
|
return;
|
|
|
self._lastjustify=cmd;
|
|
|
self.set_imagename(item.get_imagename());
|
|
|
self.set_checked(cmd!="JustifyNone");
|
|
|
return;
|
|
|
}
|
|
|
]]>
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="justifymenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="JustifyLeft" text="@JUSTIFYLEFT" imagename="left" />
|
|
|
<panel jsml-base="rtemenuitem" command="JustifyCenter" text="@JUSTIFYCENTER" imagename="center" />
|
|
|
<panel jsml-base="rtemenuitem" command="JustifyRight" text="@JUSTIFYRIGHT" imagename="right" />
|
|
|
<panel jsml-base="rtemenuitem" command="JustifyFull" text="@JUSTIFYFULL" imagename="justifyfull" />
|
|
|
<panel jsml-base="rtemenuitem" command="JustifyNone" text="@JUSTIFYNONE" imagename="justifynone" />
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="LineHeight" imagename="lineheight">
|
|
|
<attach name="click,splitclick">
|
|
|
lineheightmenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
lineheightmenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
lineheightmenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="lineheightmenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="100%" text="100%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="110%" text="110%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="115%" text="115%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="120%" text="120%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="130%" text="130%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="140%" text="140%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="150%" text="150%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="160%" text="160%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="180%" text="180%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="200%" text="200%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="250%" text="250%" />
|
|
|
<panel jsml-base="rtemenuitem" command="lineheight" imagename="blank20" arguments="300%" text="300%" />
|
|
|
<panel jsml-base="rtemenuspliter" />
|
|
|
<panel jsml-base="rtemenuitem" text="@TEXT| |@STYLES">
|
|
|
<attach name="click">
|
|
|
var editor=self.find_editor();
|
|
|
var node=editor.EnsureParagraph();
|
|
|
if(node)editor.ShowPropertiesDialog(node,{styletab:"text"})
|
|
|
</attach>
|
|
|
</panel>
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="LTR" tooltip="@DIRECTION_LTR" imagename="dir_ltr" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="RTL" tooltip="@DIRECTION_RTL" imagename="dir_rtl" />
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="InsertBreak" tooltip="@INSERTBREAKRULE" imagename="break" >
|
|
|
<attach name="splitclick">
|
|
|
insertbrmenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
insertbrmenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
insertbrmenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="insertbrmenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="InsertWbr" text="@INSERTWBR" imagename="wbr" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertDiv" text="@INSERTDIV" imagename="div" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertParagraph" text="@INSERTPARAGRAPH" imagename="p" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertHorizontalRule" text="@INSERTHORIZONTALRULE" imagename="rule" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertPageBreak" text="@INSERTPAGEPRINTBREAK" imagename="InsertPageBreak" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertTopLine" text="@INSERTTOPLINE" imagename="topline" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertBottomLine" text="@INSERTBOTTOMLINE" imagename="bottomline" />
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="InsertOrderedList" tooltip="@ORDEREDLIST" imagename="numlist" >
|
|
|
<attach name="splitclick">
|
|
|
listolmenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
listolmenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
listolmenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="listolmenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="InsertOrderedList" arguments="decimal" noactive="1" text="1,2,3,4,5" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertOrderedList" arguments="lower-latin" noactive="1" text="a,b,c,d,e" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertOrderedList" arguments="lower-roman" noactive="1" text="ⅰ,ⅱ,ⅲ,ⅳ,ⅴ" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertOrderedList" arguments="upper-latin" noactive="1" text="A,B,C,D,E" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertOrderedList" arguments="upper-roman" noactive="1" text="Ⅰ,Ⅱ,ⅢⅢ,Ⅳ,Ⅴ" />
|
|
|
<!--<panel jsml-base="rtemenuitem" command="InsertOrderedList" arguments="cjk-ideographic" text="一,二,三,四,五" />-->
|
|
|
<!-- NOTE:check the css list-style-type -->
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="InsertUnorderedList" tooltip="@UNORDEREDLIST" imagename="bullist">
|
|
|
<attach name="splitclick">
|
|
|
listulmenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
listulmenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
listulmenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="listulmenu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="InsertUnorderedList" arguments="disc" noactive="1" imagename="ul-disc" text="@UL_DISC" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertUnorderedList" arguments="circle" noactive="1" imagename="ul-circle" text="@UL_CIRCLE" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertUnorderedList" arguments="square" noactive="1" imagename="ul-square" text="@UL_SQUARE" />
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="Outdent" tooltip="@OUTDENT" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="Indent" tooltip="@INDENT" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertBlockQuote" tooltip="@INSERTBLOCKQUOTE" imagename="blockquote" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
|
|
|
<panel jsml-base="ribbon_{skin}_{color}" text="@INSERT">
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}" dock="none" overflow_y="visible">
|
|
|
<image jsml-base="ribbonimage_{skin}_{color}" command="ShowXmlFloatbox" arguments="inserttable.xml" imagename="ribbontable" tooltip="@INSERTTABLE" width="44" height="47" vertical_align="middle" horizontal_align="center"/>
|
|
|
</panel>
|
|
|
<panel left="49" overflow="visible">
|
|
|
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" tooltip="@INSERTFORM" imagename="InsertForm" >
|
|
|
<attach name="click,splitclick">
|
|
|
insertformmenu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
insertformmenu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
insertformmenu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="insertformmenu" jsml-append="false">
|
|
|
|
|
|
<panel jsml-base="rtemenuitem" command="InsertForm" text="@INSERTFORM" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertTextarea" text="@INSERTTEXTAREA" imagename="textarea" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpText" text="@INSERTINPTEXT" imagename="textbox" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpPassword" text="@INSERTINPPASSWORD" imagename="passwordfield" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpHidden" text="@INSERTINPHIDDEN" imagename="hiddenfield" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpFile" text="@INSERTINPFILE" imagename="document"/>
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpImage" text="@INSERTINPIMAGE" imagename="image" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpReset" text="@INSERTINPRESET" imagename="reset" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpSubmit" text="@INSERTINPSUBMIT" imagename="submit" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertRadioBox" text="@INSERTRADIOBOX" imagename="optionbutton" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertCheckbox" text="@INSERTCHECKBOX" imagename="checkbox" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertInpButton" text="@INSERTINPBUTTON" imagename="pushbutton" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertButton" text="@INSERTBUTTON" imagename="pushbutton" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertDropDown" text="@INSERTDROPDOWN" imagename="dropdownbox" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertListbox" text="@INSERTLISTBOX" imagename="listbox" />
|
|
|
|
|
|
</panel>
|
|
|
</panel>
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertBox" tooltip="@INSERTBOX" imagename="box" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertLayer" tooltip="@INSERTLAYER" imagename="layer" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertFieldSet" tooltip="@INSERTFIELDSET" imagename="groupbox" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="FullScreen" tooltip="@FULLSCREEN" imagename="fit" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="ToggleBorder" imagename="borders" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="pageproperties" tooltip="@PAGEPROPERTIES" imagename="properties" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="Help" tooltip="@HELP" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="InsertLink" tooltip="@INSERTLINK" imagename="link" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="UnLink" tooltip="@REMOVE| |@LINK" imagename="unlink" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertAnchor" tooltip="@INSERTANCHOR" imagename="anchor" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertImageMap" tooltip="@INSERTIMAGEMAP" imagename="imagemap" />
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="InsertDate" tooltip="@INSERTDATE" imagename="insertdate" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="insertchars" tooltip="@INSERTCHARS" imagename="specialchar" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="virtualkeyboard" tooltip="@VIRTUALKEYBOARD" imagename="keyboard" />
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel top="55" overflow="visible">
|
|
|
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}">
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertGallery" tooltip="@INSERTGALLERY" imagename="gallery" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertImage" tooltip="@INSERTIMAGE" imagename="image" />
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
<panel jsml-base="tbgroup_{skin}_{color}" flow_clear="follow">
|
|
|
<panel jsml-base="splitbtn_{skin}_{color}" command="InsertTemplate" tooltip="@INSERTTEMPLATE" imagename="template" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertDocument" tooltip="@INSERTDOCUMENT" imagename="document" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="InsertVideo" tooltip="@INSERTVIDEO" imagename="media" />
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="syntaxhighlighter" tooltip="@SYNTAXHIGHLIGHTER" imagename="code" />
|
|
|
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="insertyoutube" tooltip="@INSERTYOUTUBE" imagename="youtube"/>
|
|
|
<image jsml-base="image_{skin}_{color}" imagename="html5" tooltip="@INSERTHTML5">
|
|
|
<attach name="click">
|
|
|
inserthtml5menu.show({control:self,stopDispose:true});
|
|
|
</attach>
|
|
|
<attach name="editor_ready" arguments="jevent,editor">
|
|
|
inserthtml5menu.invoke_recursive("editor_ready",editor);
|
|
|
</attach>
|
|
|
<attach name="disposing">
|
|
|
inserthtml5menu.dispose();
|
|
|
</attach>
|
|
|
<panel jsml-base="floatmenu" jsml-local="inserthtml5menu" jsml-append="false">
|
|
|
<panel jsml-base="rtemenuitem" command="InsertWbr" text="@INSERT| <wbr>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="Mark" text="@INSERT| <mark>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertDetails" text="@INSERT| <details>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertSection" text="@INSERT| <section>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertArticle" text="@INSERT| <article>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertHeader" text="@INSERT| <header>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertFooter" text="@INSERT| <footer>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertHGroup" text="@INSERT| <hgroup>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertAside" text="@INSERT| <aside>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertAudio" text="@INSERT| <audio>" imagename="newtag" />
|
|
|
<panel jsml-base="rtemenuitem" command="InsertVideo" text="@INSERT| <video>" imagename="newtag" />
|
|
|
</panel>
|
|
|
</image>
|
|
|
<image jsml-base="image_{skin}_{color}" command="ExecPlugin" arguments="googlemap" tooltip="@GOOGLEMAP" imagename="map"/>
|
|
|
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
</panel>
|
|
|
|
|
|
|
|
|
|
|
|
</jsml-def>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</jsml>
|
|
|
|
|
|
|
|
|
|