aboutsummaryrefslogtreecommitdiffstats
path: root/library/tinymce/examples
diff options
context:
space:
mode:
Diffstat (limited to 'library/tinymce/examples')
-rw-r--r--library/tinymce/examples/accessibility.html101
-rw-r--r--library/tinymce/examples/css/content.css105
-rw-r--r--library/tinymce/examples/css/word.css53
-rw-r--r--library/tinymce/examples/custom_formats.html111
-rw-r--r--library/tinymce/examples/full.html101
-rw-r--r--library/tinymce/examples/index.html10
-rw-r--r--library/tinymce/examples/lists/image_list.js9
-rw-r--r--library/tinymce/examples/lists/link_list.js10
-rw-r--r--library/tinymce/examples/lists/media_list.js14
-rw-r--r--library/tinymce/examples/lists/template_list.js9
-rw-r--r--library/tinymce/examples/media/logo.jpgbin2729 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/logo_over.jpgbin6473 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/sample.avibin82944 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/sample.dcrbin6774 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/sample.flvbin88722 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/sample.movbin55622 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/sample.ram1
-rw-r--r--library/tinymce/examples/media/sample.rmbin17846 -> 0 bytes
-rw-r--r--library/tinymce/examples/media/sample.swfbin6118 -> 0 bytes
-rw-r--r--library/tinymce/examples/menu.html18
-rw-r--r--library/tinymce/examples/simple.html47
-rw-r--r--library/tinymce/examples/skins.html216
-rw-r--r--library/tinymce/examples/templates/layout1.htm15
-rw-r--r--library/tinymce/examples/templates/snippet1.htm1
-rw-r--r--library/tinymce/examples/word.html72
25 files changed, 0 insertions, 893 deletions
diff --git a/library/tinymce/examples/accessibility.html b/library/tinymce/examples/accessibility.html
deleted file mode 100644
index 69059403c..000000000
--- a/library/tinymce/examples/accessibility.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Full featured example</title>
-
-<!-- TinyMCE -->
-<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript">
- tinyMCE.init({
- // General options
- mode : "textareas",
- theme : "advanced",
- plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- // using false to ensure that the default browser settings are used for best Accessibility
- // ACCESSIBILITY SETTINGS
- content_css : false,
- // Use browser preferred colors for dialogs.
- browser_preferred_colors : true,
- detect_highcontrast : true,
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Style formats
- style_formats : [
- {title : 'Bold text', inline : 'b'},
- {title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
- {title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
- {title : 'Example 1', inline : 'span', classes : 'example1'},
- {title : 'Example 2', inline : 'span', classes : 'example2'},
- {title : 'Table styles'},
- {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
- ],
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-</script>
-<!-- /TinyMCE -->
-
-</head>
-<body>
-
-<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
- <div>
- <h3>Full featured example, with Accessibility settings enabled</h3>
-
- <p>
- This page has got the TinyMCE set up to work with configurations related to accessiblity enabled.
- In particular
- <ul>
- <li>the <strong>content_css</strong> is set to false, to ensure that all default browser styles are used, </li>
- <li>the <strong>browser_preferred_colors</strong> dialog option is used to ensure that default css is used for dialogs, </li>
- <li>and the <strong>detect_highcontrast</strong> option has been set to ensure that highcontrast mode in Windows browsers
- is detected and the toolbars are displayed in a high contrast mode.</li>
- </ul>
- </p>
-
- <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
- <div>
- <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
- </div>
-
- <br />
- <input type="submit" name="save" value="Submit" />
- <input type="reset" name="reset" value="Reset" />
- </div>
-</form>
-
-<script type="text/javascript">
-if (document.location.protocol == 'file:') {
- alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
-}
-</script>
-</body>
-</html>
diff --git a/library/tinymce/examples/css/content.css b/library/tinymce/examples/css/content.css
deleted file mode 100644
index a76c38a2f..000000000
--- a/library/tinymce/examples/css/content.css
+++ /dev/null
@@ -1,105 +0,0 @@
-body {
- background-color: #FFFFFF;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
- scrollbar-3dlight-color: #F0F0EE;
- scrollbar-arrow-color: #676662;
- scrollbar-base-color: #F0F0EE;
- scrollbar-darkshadow-color: #DDDDDD;
- scrollbar-face-color: #E0E0DD;
- scrollbar-highlight-color: #F0F0EE;
- scrollbar-shadow-color: #F0F0EE;
- scrollbar-track-color: #F5F5F5;
-}
-
-td {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
-}
-
-pre {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
-}
-
-.example1 {
- font-weight: bold;
- font-size: 14px
-}
-
-.example2 {
- font-weight: bold;
- font-size: 12px;
- color: #FF0000
-}
-
-.tablerow1 {
- background-color: #BBBBBB;
-}
-
-thead {
- background-color: #FFBBBB;
-}
-
-tfoot {
- background-color: #BBBBFF;
-}
-
-th {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 13px;
-}
-
-/* Basic formats */
-
-.bold {
- font-weight: bold;
-}
-
-.italic {
- font-style: italic;
-}
-
-.underline {
- text-decoration: underline;
-}
-
-/* Global align classes */
-
-.left {
- text-align: inherit;
-}
-
-.center {
- text-align: center;
-}
-
-.right {
- text-align: right;
-}
-
-.full {
- text-align: justify
-}
-
-/* Image and table specific aligns */
-
-img.left, table.left {
- float: left;
- text-align: inherit;
-}
-
-img.center, table.center {
- margin-left: auto;
- margin-right: auto;
- text-align: inherit;
-}
-
-img.center {
- display: block;
-}
-
-img.right, table.right {
- float: right;
- text-align: inherit;
-}
diff --git a/library/tinymce/examples/css/word.css b/library/tinymce/examples/css/word.css
deleted file mode 100644
index 049a39fbd..000000000
--- a/library/tinymce/examples/css/word.css
+++ /dev/null
@@ -1,53 +0,0 @@
-body {
- background-color: #FFFFFF;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
- scrollbar-3dlight-color: #F0F0EE;
- scrollbar-arrow-color: #676662;
- scrollbar-base-color: #F0F0EE;
- scrollbar-darkshadow-color: #DDDDDD;
- scrollbar-face-color: #E0E0DD;
- scrollbar-highlight-color: #F0F0EE;
- scrollbar-shadow-color: #F0F0EE;
- scrollbar-track-color: #F5F5F5;
-}
-
-p {margin:0; padding:0;}
-
-td {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
-}
-
-pre {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
-}
-
-.example1 {
- font-weight: bold;
- font-size: 14px
-}
-
-.example2 {
- font-weight: bold;
- font-size: 12px;
- color: #FF0000
-}
-
-.tablerow1 {
- background-color: #BBBBBB;
-}
-
-thead {
- background-color: #FFBBBB;
-}
-
-tfoot {
- background-color: #BBBBFF;
-}
-
-th {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 13px;
-}
diff --git a/library/tinymce/examples/custom_formats.html b/library/tinymce/examples/custom_formats.html
deleted file mode 100644
index ba9d1eb0c..000000000
--- a/library/tinymce/examples/custom_formats.html
+++ /dev/null
@@ -1,111 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Custom formats example</title>
-
-<!-- TinyMCE -->
-<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript">
- tinyMCE.init({
- // General options
- mode : "textareas",
- theme : "advanced",
- plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- content_css : "css/content.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Style formats
- style_formats : [
- {title : 'Bold text', inline : 'b'},
- {title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
- {title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
- {title : 'Example 1', inline : 'span', classes : 'example1'},
- {title : 'Example 2', inline : 'span', classes : 'example2'},
- {title : 'Table styles'},
- {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
- ],
-
- formats : {
- alignleft : {selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes : 'left'},
- aligncenter : {selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes : 'center'},
- alignright : {selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes : 'right'},
- alignfull : {selector : 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img', classes : 'full'},
- bold : {inline : 'span', 'classes' : 'bold'},
- italic : {inline : 'span', 'classes' : 'italic'},
- underline : {inline : 'span', 'classes' : 'underline', exact : true},
- strikethrough : {inline : 'del'}
- },
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-</script>
-<!-- /TinyMCE -->
-
-</head>
-<body>
-
-<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
- <div>
- <h3>Custom formats example</h3>
-
- <p>
- This example shows you how to override the default formats for bold, italic, underline, strikethough and alignment to use classes instead of inline styles.
- There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
- </p>
-
- <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
- <div>
- <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
- </div>
-
- <!-- Some integration calls -->
- <a href="javascript:;" onmousedown="tinyMCE.get('elm1').show();">[Show]</a>
- <a href="javascript:;" onmousedown="tinyMCE.get('elm1').hide();">[Hide]</a>
- <a href="javascript:;" onmousedown="tinyMCE.get('elm1').execCommand('Bold');">[Bold]</a>
- <a href="javascript:;" onmousedown="alert(tinyMCE.get('elm1').getContent());">[Get contents]</a>
- <a href="javascript:;" onmousedown="alert(tinyMCE.get('elm1').selection.getContent());">[Get selected HTML]</a>
- <a href="javascript:;" onmousedown="alert(tinyMCE.get('elm1').selection.getContent({format : 'text'}));">[Get selected text]</a>
- <a href="javascript:;" onmousedown="alert(tinyMCE.get('elm1').selection.getNode().nodeName);">[Get selected element]</a>
- <a href="javascript:;" onmousedown="tinyMCE.execCommand('mceInsertContent',false,'<b>Hello world!!</b>');">[Insert HTML]</a>
- <a href="javascript:;" onmousedown="tinyMCE.execCommand('mceReplaceContent',false,'<b>{$selection}</b>');">[Replace selection]</a>
-
- <br />
- <input type="submit" name="save" value="Submit" />
- <input type="reset" name="reset" value="Reset" />
- </div>
-</form>
-<script type="text/javascript">
-if (document.location.protocol == 'file:') {
- alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
-}
-</script>
-</body>
-</html>
diff --git a/library/tinymce/examples/full.html b/library/tinymce/examples/full.html
deleted file mode 100644
index 84b76ca7a..000000000
--- a/library/tinymce/examples/full.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Full featured example</title>
-<meta http-equiv="X-UA-Compatible" content="IE=edge" />
-<!-- TinyMCE -->
-<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript">
- tinyMCE.init({
- // General options
- mode : "textareas",
- theme : "advanced",
- plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave,visualblocks",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- content_css : "css/content.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Style formats
- style_formats : [
- {title : 'Bold text', inline : 'b'},
- {title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
- {title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
- {title : 'Example 1', inline : 'span', classes : 'example1'},
- {title : 'Example 2', inline : 'span', classes : 'example2'},
- {title : 'Table styles'},
- {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
- ],
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-</script>
-<!-- /TinyMCE -->
-
-</head>
-<body role="application">
-
-<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
- <div>
- <h3>Full featured example</h3>
-
- <p>
- This page shows all available buttons and plugins that are included in the TinyMCE core package.
- There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
- </p>
-
- <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
- <div>
- <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
- </div>
-
- <!-- Some integration calls -->
- <a href="javascript:;" onclick="tinyMCE.get('elm1').show();return false;">[Show]</a>
- <a href="javascript:;" onclick="tinyMCE.get('elm1').hide();return false;">[Hide]</a>
- <a href="javascript:;" onclick="tinyMCE.get('elm1').execCommand('Bold');return false;">[Bold]</a>
- <a href="javascript:;" onclick="alert(tinyMCE.get('elm1').getContent());return false;">[Get contents]</a>
- <a href="javascript:;" onclick="alert(tinyMCE.get('elm1').selection.getContent());return false;">[Get selected HTML]</a>
- <a href="javascript:;" onclick="alert(tinyMCE.get('elm1').selection.getContent({format : 'text'}));return false;">[Get selected text]</a>
- <a href="javascript:;" onclick="alert(tinyMCE.get('elm1').selection.getNode().nodeName);return false;">[Get selected element]</a>
- <a href="javascript:;" onclick="tinyMCE.execCommand('mceInsertContent',false,'<b>Hello world!!</b>');return false;">[Insert HTML]</a>
- <a href="javascript:;" onclick="tinyMCE.execCommand('mceReplaceContent',false,'<b>{$selection}</b>');return false;">[Replace selection]</a>
-
- <br />
- <input type="submit" name="save" value="Submit" />
- <input type="reset" name="reset" value="Reset" />
- </div>
-</form>
-
-<script type="text/javascript">
-if (document.location.protocol == 'file:') {
- alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
-}
-</script>
-</body>
-</html>
diff --git a/library/tinymce/examples/index.html b/library/tinymce/examples/index.html
deleted file mode 100644
index 6ebfbea57..000000000
--- a/library/tinymce/examples/index.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
-<html>
-<head>
- <title>TinyMCE examples</title>
-</head>
-<frameset cols="180,80%">
- <frame src="menu.html" name="menu" />
- <frame src="full.html" name="main" />
-</frameset>
-</html>
diff --git a/library/tinymce/examples/lists/image_list.js b/library/tinymce/examples/lists/image_list.js
deleted file mode 100644
index 7ba049a24..000000000
--- a/library/tinymce/examples/lists/image_list.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
-// There images will be displayed as a dropdown in all image dialogs if the "external_link_image_url"
-// option is defined in TinyMCE init.
-
-var tinyMCEImageList = new Array(
- // Name, URL
- ["Logo 1", "media/logo.jpg"],
- ["Logo 2 Over", "media/logo_over.jpg"]
-);
diff --git a/library/tinymce/examples/lists/link_list.js b/library/tinymce/examples/lists/link_list.js
deleted file mode 100644
index 0d464331f..000000000
--- a/library/tinymce/examples/lists/link_list.js
+++ /dev/null
@@ -1,10 +0,0 @@
-// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
-// There links will be displayed as a dropdown in all link dialogs if the "external_link_list_url"
-// option is defined in TinyMCE init.
-
-var tinyMCELinkList = new Array(
- // Name, URL
- ["Moxiecode", "http://www.moxiecode.com"],
- ["Freshmeat", "http://www.freshmeat.com"],
- ["Sourceforge", "http://www.sourceforge.com"]
-);
diff --git a/library/tinymce/examples/lists/media_list.js b/library/tinymce/examples/lists/media_list.js
deleted file mode 100644
index 2e049587c..000000000
--- a/library/tinymce/examples/lists/media_list.js
+++ /dev/null
@@ -1,14 +0,0 @@
-// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
-// There flash movies will be displayed as a dropdown in all media dialog if the "media_external_list_url"
-// option is defined in TinyMCE init.
-
-var tinyMCEMediaList = [
- // Name, URL
- ["Some Flash", "media/sample.swf"],
- ["Some Quicktime", "media/sample.mov"],
- ["Some AVI", "media/sample.avi"],
- ["Some RealMedia", "media/sample.rm"],
- ["Some Shockwave", "media/sample.dcr"],
- ["Some Video", "media/sample.mp4"],
- ["Some FLV", "media/sample.flv"]
-]; \ No newline at end of file
diff --git a/library/tinymce/examples/lists/template_list.js b/library/tinymce/examples/lists/template_list.js
deleted file mode 100644
index e06d35788..000000000
--- a/library/tinymce/examples/lists/template_list.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
-// There templates will be displayed as a dropdown in all media dialog if the "template_external_list_url"
-// option is defined in TinyMCE init.
-
-var tinyMCETemplateList = [
- // Name, URL, Description
- ["Simple snippet", "templates/snippet1.htm", "Simple HTML snippet."],
- ["Layout", "templates/layout1.htm", "HTML Layout."]
-]; \ No newline at end of file
diff --git a/library/tinymce/examples/media/logo.jpg b/library/tinymce/examples/media/logo.jpg
deleted file mode 100644
index ad535d671..000000000
--- a/library/tinymce/examples/media/logo.jpg
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/logo_over.jpg b/library/tinymce/examples/media/logo_over.jpg
deleted file mode 100644
index 79fcd884a..000000000
--- a/library/tinymce/examples/media/logo_over.jpg
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/sample.avi b/library/tinymce/examples/media/sample.avi
deleted file mode 100644
index 238bb688a..000000000
--- a/library/tinymce/examples/media/sample.avi
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/sample.dcr b/library/tinymce/examples/media/sample.dcr
deleted file mode 100644
index 353b3ce67..000000000
--- a/library/tinymce/examples/media/sample.dcr
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/sample.flv b/library/tinymce/examples/media/sample.flv
deleted file mode 100644
index 799d137e6..000000000
--- a/library/tinymce/examples/media/sample.flv
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/sample.mov b/library/tinymce/examples/media/sample.mov
deleted file mode 100644
index 9c0a0932c..000000000
--- a/library/tinymce/examples/media/sample.mov
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/sample.ram b/library/tinymce/examples/media/sample.ram
deleted file mode 100644
index e2ce04cf7..000000000
--- a/library/tinymce/examples/media/sample.ram
+++ /dev/null
@@ -1 +0,0 @@
-http://streaming.uga.edu/samples/ayp_lan.rm \ No newline at end of file
diff --git a/library/tinymce/examples/media/sample.rm b/library/tinymce/examples/media/sample.rm
deleted file mode 100644
index 8947706e0..000000000
--- a/library/tinymce/examples/media/sample.rm
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/media/sample.swf b/library/tinymce/examples/media/sample.swf
deleted file mode 100644
index 9f5fc4ac5..000000000
--- a/library/tinymce/examples/media/sample.swf
+++ /dev/null
Binary files differ
diff --git a/library/tinymce/examples/menu.html b/library/tinymce/examples/menu.html
deleted file mode 100644
index e48650abd..000000000
--- a/library/tinymce/examples/menu.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Menu</title>
-<style>
-a {display:block;}
-</style>
-</head>
-<body>
-<h3>Examples</h3>
-<a href="full.html" target="main">Full featured</a>
-<a href="simple.html" target="main">Simple theme</a>
-<a href="skins.html" target="main">Skin support</a>
-<a href="word.html" target="main">Word processor</a>
-<a href="custom_formats.html" target="main">Custom formats</a>
-<a href="accessibility.html" target="main">Accessibility Options</a>
-</body>
-</html>
diff --git a/library/tinymce/examples/simple.html b/library/tinymce/examples/simple.html
deleted file mode 100644
index 70720caa1..000000000
--- a/library/tinymce/examples/simple.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Simple theme example</title>
-
-<!-- TinyMCE -->
-<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript">
- tinyMCE.init({
- mode : "textareas",
- theme : "simple"
- });
-</script>
-<!-- /TinyMCE -->
-
-</head>
-<body>
-
-<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
- <h3>Simple theme example</h3>
-
- <p>
- This page shows you the simple theme and it's core functionality you can extend it by changing the code use the advanced theme if you need to configure/add more buttons etc.
- There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
- </p>
-
- <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
- <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
-
- <br />
- <input type="submit" name="save" value="Submit" />
- <input type="reset" name="reset" value="Reset" />
-</form>
-<script type="text/javascript">
-if (document.location.protocol == 'file:') {
- alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
-}
-</script>
-</body>
-</html>
diff --git a/library/tinymce/examples/skins.html b/library/tinymce/examples/skins.html
deleted file mode 100644
index c15085885..000000000
--- a/library/tinymce/examples/skins.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Skin support example</title>
-
-<!-- TinyMCE -->
-<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript">
- // Default skin
- tinyMCE.init({
- // General options
- mode : "exact",
- elements : "elm1",
- theme : "advanced",
- plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- content_css : "css/content.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-
- // O2k7 skin
- tinyMCE.init({
- // General options
- mode : "exact",
- elements : "elm2",
- theme : "advanced",
- skin : "o2k7",
- plugins : "lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- content_css : "css/content.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-
- // O2k7 skin (silver)
- tinyMCE.init({
- // General options
- mode : "exact",
- elements : "elm3",
- theme : "advanced",
- skin : "o2k7",
- skin_variant : "silver",
- plugins : "lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- content_css : "css/content.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-
- // O2k7 skin (silver)
- tinyMCE.init({
- // General options
- mode : "exact",
- elements : "elm4",
- theme : "advanced",
- skin : "o2k7",
- skin_variant : "black",
- plugins : "lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example content CSS (should be your site CSS)
- content_css : "css/content.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-</script>
-<!-- /TinyMCE -->
-
-</head>
-<body>
-
-<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
- <h3>Skin support example</h3>
-
- <p>
- This page displays the two skins that TinyMCE comes with. You can make your own by creating a CSS file in themes/advanced/skins/<yout skin>/ui.css
- There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
- </p>
-
- <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
- <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
-
- <br />
-
- <textarea id="elm2" name="elm2" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
-
- <br />
-
- <textarea id="elm3" name="elm3" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
-
- <br />
-
- <textarea id="elm4" name="elm4" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;
- This is some example text that you can edit inside the &lt;strong&gt;TinyMCE editor&lt;/strong&gt;.
- &lt;/p&gt;
- &lt;p&gt;
- Nam nisi elit, cursus in rhoncus sit amet, pulvinar laoreet leo. Nam sed lectus quam, ut sagittis tellus. Quisque dignissim mauris a augue rutrum tempor. Donec vitae purus nec massa vestibulum ornare sit amet id tellus. Nunc quam mauris, fermentum nec lacinia eget, sollicitudin nec ante. Aliquam molestie volutpat dapibus. Nunc interdum viverra sodales. Morbi laoreet pulvinar gravida. Quisque ut turpis sagittis nunc accumsan vehicula. Duis elementum congue ultrices. Cras faucibus feugiat arcu quis lacinia. In hac habitasse platea dictumst. Pellentesque fermentum magna sit amet tellus varius ullamcorper. Vestibulum at urna augue, eget varius neque. Fusce facilisis venenatis dapibus. Integer non sem at arcu euismod tempor nec sed nisl. Morbi ultricies, mauris ut ultricies adipiscing, felis odio condimentum massa, et luctus est nunc nec eros.
- &lt;/p&gt;
- </textarea>
-
- <br />
- <input type="submit" name="save" value="Submit" />
- <input type="reset" name="reset" value="Reset" />
-</form>
-<script type="text/javascript">
-if (document.location.protocol == 'file:') {
- alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
-}
-</script>
-</body>
-</html>
diff --git a/library/tinymce/examples/templates/layout1.htm b/library/tinymce/examples/templates/layout1.htm
deleted file mode 100644
index a38df3e68..000000000
--- a/library/tinymce/examples/templates/layout1.htm
+++ /dev/null
@@ -1,15 +0,0 @@
-<table border="1">
- <thead>
- <tr>
- <td>Column 1</td>
- <td>Column 2</td>
- </tr>
- </thead>
-
- <tbody>
- <tr>
- <td>Username: {$username}</td>
- <td>Staffid: {$staffid}</td>
- </tr>
- </tbody>
-</table>
diff --git a/library/tinymce/examples/templates/snippet1.htm b/library/tinymce/examples/templates/snippet1.htm
deleted file mode 100644
index b2520beaf..000000000
--- a/library/tinymce/examples/templates/snippet1.htm
+++ /dev/null
@@ -1 +0,0 @@
-This is just some <strong>code</strong>.
diff --git a/library/tinymce/examples/word.html b/library/tinymce/examples/word.html
deleted file mode 100644
index d827b6fed..000000000
--- a/library/tinymce/examples/word.html
+++ /dev/null
@@ -1,72 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Word processor example</title>
-<meta http-equiv="X-UA-Compatible" content="IE=edge" />
-<!-- TinyMCE -->
-<script type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript">
- tinyMCE.init({
- // General options
- mode : "textareas",
- theme : "advanced",
- skin : "o2k7",
- plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,inlinepopups,autosave",
-
- // Theme options
- theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
- theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
- theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
- theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
- theme_advanced_toolbar_location : "top",
- theme_advanced_toolbar_align : "left",
- theme_advanced_statusbar_location : "bottom",
- theme_advanced_resizing : true,
-
- // Example word content CSS (should be your site CSS) this one removes paragraph margins
- content_css : "css/word.css",
-
- // Drop lists for link/image/media/template dialogs
- template_external_list_url : "lists/template_list.js",
- external_link_list_url : "lists/link_list.js",
- external_image_list_url : "lists/image_list.js",
- media_external_list_url : "lists/media_list.js",
-
- // Replace values for the template plugin
- template_replace_values : {
- username : "Some User",
- staffid : "991234"
- }
- });
-</script>
-<!-- /TinyMCE -->
-
-</head>
-<body>
-
-<form method="post" action="http://tinymce.moxiecode.com/dump.php?example=true">
- <h3>Word processor example</h3>
-
- <p>
- This page shows you how to configure TinyMCE to work more like common word processors.
- There are more examples on how to use TinyMCE in the <a href="http://tinymce.moxiecode.com/examples/">Wiki</a>.
- </p>
-
- <!-- Gets replaced with TinyMCE, remember HTML in a textarea should be encoded -->
- <textarea id="elm1" name="elm1" rows="15" cols="80" style="width: 80%">
- &lt;p&gt;This is the first paragraph.&lt;/p&gt;
- &lt;p&gt;This is the second paragraph.&lt;/p&gt;
- &lt;p&gt;This is the third paragraph.&lt;/p&gt;
- </textarea>
-
- <br />
- <input type="submit" name="save" value="Submit" />
- <input type="reset" name="reset" value="Reset" />
-</form>
-<script type="text/javascript">
-if (document.location.protocol == 'file:') {
- alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
-}
-</script>
-</body>
-</html>