You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
736 B

<?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">
<execute>
if(!dialog.get_title())dialog.set_title(editor.GetLangText("preview"));
</execute>
<panel jsml-class="htmlpreview_dialog" dock="fill" overflow="visible" vertical_align="middle" horizontal_align="center">
<htmlcontrol overflow="visible">
<initialize>
self._content.innerHTML=option.htmlcode;
self.invoke_notify_content();
</initialize>
</htmlcontrol>
<attach name="keydown" arguments="je,e">
if(e.keyCode==27)dialog.close();
</attach>
</panel>
<panel jsml-base="htmlpreview_dialog" />
</jsml>