fix caption display and pasting
[roojs1] / examples / form / htmledit.html
index b6fa5a6..71598b9 100644 (file)
@@ -1,57 +1,90 @@
-<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
 <html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<title>Forms</title>
-   <link rel="stylesheet" type="text/css" href="../../css/roojs.css"/>
-    <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+        <title>Forms</title>
+        
+        <link rel="stylesheet" type="text/css" href="../../css/roojs-debug.css"/>
+        <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
+         <link rel="stylesheet" type="text/css" href="../../css/inline-editor.css"/>
+       
+        <style>
+         
+        .roodocs-formblock
+        {
+            border:4px solid #CCCCCC;
+            padding:5px 0pt 5px 10px;
+        }
+        
+        
+        /** used in the example for pulldown styles **/
+        
+        TD.underline
+        {
+            border-bottom: 1px solid #222;
+        }
+        TD.double-underline
+        {
+            border-bottom: 3px double #222;
+        }
+        .headline
+        {
+            color: red;
+        }
+        
+        
+        </style>
+    </head>
+    <body>
+            
+        <h1>HTML Editor example</h1>
+        <p>
+            These forms do not do anything and have very little validation. They solely demonstrate
+            how you can use Roo HtmlEditor
+        </p>
 
-     
-  
-    <link rel="stylesheet" type="text/css" href="forms.css" />
+        <p>The js is not minified so it is readable. See 
+        <button type="button" onclick="RooDocs.viewSource.show('/htmledit.js')">htmledit.js</button> and 
+        <button type="button" onclick="RooDocs.viewSource.show('/htmledit.html')">htmledit.html</button>
+        .</p>
 
-<!-- Common Styles for the examples -->
-<link rel="stylesheet" type="text/css" href="../examples.css" />
 
 
 
-<style>
-.roodocs-formblock
-{
-    border:4px solid #CCCCCC;
-    padding:5px 0pt 5px 10px;
-} 
-</style>
-</head>
-<body>
-<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
-<h1>HTML Editor example</h1>
-<p>
-    These forms do not do anything and have very little validation. They solely demonstrate
-    how you can use Roo HtmlEditor
-</p>
+        <div style="width:900px;"  class="roodocs-formblock">
+            <h3>Display Form</h3>
+            <div id="form-ct5"></div>
+        </div>
 
-<p>The js is not minified so it is readable. See 
-<button type="button" onclick="RooDocs.viewSource.show('/htmledit.js')">dynamic.js</button> and 
-<button type="button" onclick="RooDocs.viewSource.show('/htmledit.html')">dynamic.html</button>
-.</p>
+         
 
+        <div class="x-form-clear"></div>
 
 
+        <script type="text/javascript" src="../../roojs-debug.js"></script>   
+        <!-- testing new code.. -->
+        <script type="text/javascript" src="../../Roo/DomHelper.js"></script>
+        <script type="text/javascript" src="../../Roo/lib/UndoManager.js"></script>
+        <script type="text/javascript" src="../../Roo/lib/Range.js"></script>
+        <script type="text/javascript" src="../../Roo/lib/Selection.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/KeyEnter.js"></script>        
+          <script type="text/javascript" src="../../Roo/HtmlEditorCore.js"></script>        
+        <script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>        
+        <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarStandard.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/Block.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/BlockTable.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/BlockFigure.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/BlockTd.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/FilterBlock.js"></script>
+         <script type="text/javascript" src="../../Roo/htmleditor/TidyEntities.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/TidySerializer.js"></script>
+        <script type="text/javascript" src="../../Roo/htmleditor/TidyWriter.js"></script>
 
-<div style="width:345px;"  class="roodocs-formblock">
-    <h3>Display Form</h3>
-    <div id="form-ct5"></div>
-</div>
-
-
-<div class="x-form-clear"></div>
-
-
-<script type="text/javascript" src="../../roojs-all.js"></script>   
-<script type="text/javascript" src="../../Roo/form/HtmlEditor.js"></script>        
-    
-</body>
+        <script type="text/javascript" src="../../Roo/form/HtmlEditor/ToolbarContext.js"></script>
+        <script type="text/javascript" src="../../Roo/menu/Item.js"></script>        
+        
+        <script type="text/javascript" src="../examples.js"></script>        
+        <script type="text/javascript" src="htmledit.js"></script>        
+    </body>
 </html>