From ceab24db2a7bf459684a650c287770b4ff090f54 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 7 Jun 2011 22:46:47 +0000 Subject: Refs #3510, #9113. Updated tinyMCE version in trunk. git-svn-id: http://code.elgg.org/elgg/trunk@9140 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../vendor/tinymce/examples/accessibility.html | 101 ++++++++++ .../vendor/tinymce/examples/css/content.css | 105 ++++++++++ mod/tinymce/vendor/tinymce/examples/css/word.css | 53 +++++ .../vendor/tinymce/examples/custom_formats.html | 111 +++++++++++ mod/tinymce/vendor/tinymce/examples/full.html | 101 ++++++++++ mod/tinymce/vendor/tinymce/examples/index.html | 10 + .../vendor/tinymce/examples/lists/image_list.js | 9 + .../vendor/tinymce/examples/lists/link_list.js | 10 + .../vendor/tinymce/examples/lists/media_list.js | 14 ++ .../vendor/tinymce/examples/lists/template_list.js | 9 + mod/tinymce/vendor/tinymce/examples/media/logo.jpg | Bin 0 -> 2729 bytes .../vendor/tinymce/examples/media/logo_over.jpg | Bin 0 -> 6473 bytes .../vendor/tinymce/examples/media/sample.avi | Bin 0 -> 82944 bytes .../vendor/tinymce/examples/media/sample.dcr | Bin 0 -> 6774 bytes .../vendor/tinymce/examples/media/sample.flv | Bin 0 -> 88722 bytes .../vendor/tinymce/examples/media/sample.mov | Bin 0 -> 55622 bytes .../vendor/tinymce/examples/media/sample.ram | 1 + .../vendor/tinymce/examples/media/sample.rm | Bin 0 -> 17846 bytes .../vendor/tinymce/examples/media/sample.swf | Bin 0 -> 6118 bytes mod/tinymce/vendor/tinymce/examples/menu.html | 18 ++ mod/tinymce/vendor/tinymce/examples/simple.html | 47 +++++ mod/tinymce/vendor/tinymce/examples/skins.html | 216 +++++++++++++++++++++ .../vendor/tinymce/examples/templates/layout1.htm | 15 ++ .../vendor/tinymce/examples/templates/snippet1.htm | 1 + mod/tinymce/vendor/tinymce/examples/word.html | 72 +++++++ 25 files changed, 893 insertions(+) create mode 100644 mod/tinymce/vendor/tinymce/examples/accessibility.html create mode 100644 mod/tinymce/vendor/tinymce/examples/css/content.css create mode 100644 mod/tinymce/vendor/tinymce/examples/css/word.css create mode 100644 mod/tinymce/vendor/tinymce/examples/custom_formats.html create mode 100644 mod/tinymce/vendor/tinymce/examples/full.html create mode 100644 mod/tinymce/vendor/tinymce/examples/index.html create mode 100644 mod/tinymce/vendor/tinymce/examples/lists/image_list.js create mode 100644 mod/tinymce/vendor/tinymce/examples/lists/link_list.js create mode 100644 mod/tinymce/vendor/tinymce/examples/lists/media_list.js create mode 100644 mod/tinymce/vendor/tinymce/examples/lists/template_list.js create mode 100644 mod/tinymce/vendor/tinymce/examples/media/logo.jpg create mode 100644 mod/tinymce/vendor/tinymce/examples/media/logo_over.jpg create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.avi create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.dcr create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.flv create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.mov create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.ram create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.rm create mode 100644 mod/tinymce/vendor/tinymce/examples/media/sample.swf create mode 100644 mod/tinymce/vendor/tinymce/examples/menu.html create mode 100644 mod/tinymce/vendor/tinymce/examples/simple.html create mode 100644 mod/tinymce/vendor/tinymce/examples/skins.html create mode 100644 mod/tinymce/vendor/tinymce/examples/templates/layout1.htm create mode 100644 mod/tinymce/vendor/tinymce/examples/templates/snippet1.htm create mode 100644 mod/tinymce/vendor/tinymce/examples/word.html (limited to 'mod/tinymce/vendor/tinymce/examples') diff --git a/mod/tinymce/vendor/tinymce/examples/accessibility.html b/mod/tinymce/vendor/tinymce/examples/accessibility.html new file mode 100644 index 000000000..69059403c --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/accessibility.html @@ -0,0 +1,101 @@ + + + +Full featured example + + + + + + + + + +
+
+

Full featured example, with Accessibility settings enabled

+ +

+ This page has got the TinyMCE set up to work with configurations related to accessiblity enabled. + In particular +

    +
  • the content_css is set to false, to ensure that all default browser styles are used,
  • +
  • the browser_preferred_colors dialog option is used to ensure that default css is used for dialogs,
  • +
  • and the detect_highcontrast option has been set to ensure that highcontrast mode in Windows browsers + is detected and the toolbars are displayed in a high contrast mode.
  • +
+

+ + +
+ +
+ +
+ + +
+
+ + + + diff --git a/mod/tinymce/vendor/tinymce/examples/css/content.css b/mod/tinymce/vendor/tinymce/examples/css/content.css new file mode 100644 index 000000000..a76c38a2f --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/css/content.css @@ -0,0 +1,105 @@ +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/mod/tinymce/vendor/tinymce/examples/css/word.css b/mod/tinymce/vendor/tinymce/examples/css/word.css new file mode 100644 index 000000000..049a39fbd --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/css/word.css @@ -0,0 +1,53 @@ +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/mod/tinymce/vendor/tinymce/examples/custom_formats.html b/mod/tinymce/vendor/tinymce/examples/custom_formats.html new file mode 100644 index 000000000..ba9d1eb0c --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/custom_formats.html @@ -0,0 +1,111 @@ + + + +Custom formats example + + + + + + + + + +
+
+

Custom formats example

+ +

+ 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 Wiki. +

+ + +
+ +
+ + + [Show] + [Hide] + [Bold] + [Get contents] + [Get selected HTML] + [Get selected text] + [Get selected element] + [Insert HTML] + [Replace selection] + +
+ + +
+
+ + + diff --git a/mod/tinymce/vendor/tinymce/examples/full.html b/mod/tinymce/vendor/tinymce/examples/full.html new file mode 100644 index 000000000..e4d187e88 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/full.html @@ -0,0 +1,101 @@ + + + +Full featured example + + + + + + + + + +
+
+

Full featured example

+ +

+ 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 Wiki. +

+ + +
+ +
+ + + [Show] + [Hide] + [Bold] + [Get contents] + [Get selected HTML] + [Get selected text] + [Get selected element] + [Insert HTML] + [Replace selection] + +
+ + +
+
+ + + + diff --git a/mod/tinymce/vendor/tinymce/examples/index.html b/mod/tinymce/vendor/tinymce/examples/index.html new file mode 100644 index 000000000..6ebfbea57 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/index.html @@ -0,0 +1,10 @@ + + + + TinyMCE examples + + + + + + diff --git a/mod/tinymce/vendor/tinymce/examples/lists/image_list.js b/mod/tinymce/vendor/tinymce/examples/lists/image_list.js new file mode 100644 index 000000000..7ba049a24 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/lists/image_list.js @@ -0,0 +1,9 @@ +// 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/mod/tinymce/vendor/tinymce/examples/lists/link_list.js b/mod/tinymce/vendor/tinymce/examples/lists/link_list.js new file mode 100644 index 000000000..0d464331f --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/lists/link_list.js @@ -0,0 +1,10 @@ +// 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/mod/tinymce/vendor/tinymce/examples/lists/media_list.js b/mod/tinymce/vendor/tinymce/examples/lists/media_list.js new file mode 100644 index 000000000..79b3f1bfe --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/lists/media_list.js @@ -0,0 +1,14 @@ +// 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/mod/tinymce/vendor/tinymce/examples/lists/template_list.js b/mod/tinymce/vendor/tinymce/examples/lists/template_list.js new file mode 100644 index 000000000..e06d35788 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/lists/template_list.js @@ -0,0 +1,9 @@ +// 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/mod/tinymce/vendor/tinymce/examples/media/logo.jpg b/mod/tinymce/vendor/tinymce/examples/media/logo.jpg new file mode 100644 index 000000000..ad535d671 Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/logo.jpg differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/logo_over.jpg b/mod/tinymce/vendor/tinymce/examples/media/logo_over.jpg new file mode 100644 index 000000000..79fcd884a Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/logo_over.jpg differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.avi b/mod/tinymce/vendor/tinymce/examples/media/sample.avi new file mode 100644 index 000000000..238bb688a Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/sample.avi differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.dcr b/mod/tinymce/vendor/tinymce/examples/media/sample.dcr new file mode 100644 index 000000000..353b3ce67 Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/sample.dcr differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.flv b/mod/tinymce/vendor/tinymce/examples/media/sample.flv new file mode 100644 index 000000000..799d137e6 Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/sample.flv differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.mov b/mod/tinymce/vendor/tinymce/examples/media/sample.mov new file mode 100644 index 000000000..9c0a0932c Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/sample.mov differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.ram b/mod/tinymce/vendor/tinymce/examples/media/sample.ram new file mode 100644 index 000000000..e2ce04cf7 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/media/sample.ram @@ -0,0 +1 @@ +http://streaming.uga.edu/samples/ayp_lan.rm \ No newline at end of file diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.rm b/mod/tinymce/vendor/tinymce/examples/media/sample.rm new file mode 100644 index 000000000..8947706e0 Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/sample.rm differ diff --git a/mod/tinymce/vendor/tinymce/examples/media/sample.swf b/mod/tinymce/vendor/tinymce/examples/media/sample.swf new file mode 100644 index 000000000..9f5fc4ac5 Binary files /dev/null and b/mod/tinymce/vendor/tinymce/examples/media/sample.swf differ diff --git a/mod/tinymce/vendor/tinymce/examples/menu.html b/mod/tinymce/vendor/tinymce/examples/menu.html new file mode 100644 index 000000000..e48650abd --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/menu.html @@ -0,0 +1,18 @@ + + + +Menu + + + +

Examples

+Full featured +Simple theme +Skin support +Word processor +Custom formats +Accessibility Options + + diff --git a/mod/tinymce/vendor/tinymce/examples/simple.html b/mod/tinymce/vendor/tinymce/examples/simple.html new file mode 100644 index 000000000..70720caa1 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/simple.html @@ -0,0 +1,47 @@ + + + +Simple theme example + + + + + + + + + +
+

Simple theme example

+ +

+ 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 Wiki. +

+ + + + +
+ + +
+ + + diff --git a/mod/tinymce/vendor/tinymce/examples/skins.html b/mod/tinymce/vendor/tinymce/examples/skins.html new file mode 100644 index 000000000..c15085885 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/skins.html @@ -0,0 +1,216 @@ + + + +Skin support example + + + + + + + + + +
+

Skin support example

+ +

+ This page displays the two skins that TinyMCE comes with. You can make your own by creating a CSS file in themes/advanced/skins//ui.css + There are more examples on how to use TinyMCE in the Wiki. +

+ + + + +
+ + + +
+ + + +
+ + + +
+ + +
+ + + diff --git a/mod/tinymce/vendor/tinymce/examples/templates/layout1.htm b/mod/tinymce/vendor/tinymce/examples/templates/layout1.htm new file mode 100644 index 000000000..a38df3e68 --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/templates/layout1.htm @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + +
Column 1Column 2
Username: {$username}Staffid: {$staffid}
diff --git a/mod/tinymce/vendor/tinymce/examples/templates/snippet1.htm b/mod/tinymce/vendor/tinymce/examples/templates/snippet1.htm new file mode 100644 index 000000000..b2520beaf --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/templates/snippet1.htm @@ -0,0 +1 @@ +This is just some code. diff --git a/mod/tinymce/vendor/tinymce/examples/word.html b/mod/tinymce/vendor/tinymce/examples/word.html new file mode 100644 index 000000000..d827b6fed --- /dev/null +++ b/mod/tinymce/vendor/tinymce/examples/word.html @@ -0,0 +1,72 @@ + + + +Word processor example + + + + + + + + + +
+

Word processor example

+ +

+ 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 Wiki. +

+ + + + +
+ + +
+ + + -- cgit v1.2.3