annotate WebContent/jscripts/tiny_mce/plugins/preview/example.html @ 14:0f64de5fff5a

try to use javax.xml.bind.DatatypeConverter
author casties
date Wed, 21 Mar 2012 16:38:50 +0100
parents 0be9d53a6967
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
1 <html xmlns="http://www.w3.org/1999/xhtml">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
2 <head>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
3 <script language="javascript" src="../../tiny_mce_popup.js"></script>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
4 <script type="text/javascript" src="jscripts/embed.js"></script>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
5 <script type="text/javascript">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
6 tinyMCEPopup.onInit.add(function(ed) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
7 var dom = tinyMCEPopup.dom;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
8
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
9 // Load editor content_css
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
10 tinymce.each(ed.settings.content_css.split(','), function(u) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
11 dom.loadCSS(ed.documentBaseURI.toAbsolute(u));
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
12 });
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
13
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
14 // Place contents inside div container
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
15 dom.setHTML('content', ed.getContent());
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
16 });
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
17 </script>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
18 <title>Example of a custom preview page</title>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
19 </head>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
20 <body>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
21
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
22 Editor contents: <br />
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
23 <div id="content">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
24 <!-- Gets filled with editor contents -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
25 </div>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
26
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
27 </body>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
28 </html>