Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bump wymeditor version to 1.0.0b1

  • Loading branch information...
commit 9c9824b8ed3ff90a6938acf9e7b72c1cbac1821c 1 parent 8faaca4
Eric Hayes authored
149 vendor/assets/wymeditor/iframe/pretty/development.html
... ... @@ -0,0 +1,149 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2 +<!--
  3 + * WYMeditor : what you see is What You Mean web-based editor
  4 + * Copyright (c) 2012 Gyuris Gellért http://bubu.ujevangelizacio.hu/bubu
  5 + * Dual licensed under the MIT (MIT-license.txt)
  6 + * and GPL (GPL-license.txt) licenses.
  7 + *
  8 + * For further information visit:
  9 + * http://www.wymeditor.org/
  10 + *
  11 + * File Name:
  12 + * development.html
  13 + * Help file to develop CSS.
  14 + *
  15 + * File Authors:
  16 + * Gyuris Gellért (bubu a-t ujevangelizacio dothu)
  17 +-->
  18 +<html>
  19 +<head>
  20 +<title>WYMeditor: Pretty development</title>
  21 +<meta http-equiv="content-type" content="text/html;charset=utf-8" />
  22 +<link rel="stylesheet" type="text/css" media="screen" href="wymiframe.css" />
  23 +<!--[if IE]><link rel="stylesheet" type="text/css" media="screen" href="wymiframe.ie.css" /><![endif]-->
  24 +</head>
  25 +<body class="wym_iframe" contenteditable="true">
  26 +<p>Paragraph &lt;p&gt; • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum metus tellus, ultrices ac tristique vitae, laoreet et ante. Aliquam elit velit, porta sed volutpat vitae, sodales in dolor. Vestibulum eros odio, gravida et bibendum et, accumsan imperdiet eros. In at mauris nibh. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent ultrices interdum velit, sit amet lacinia massa varius in. Sed vulputate dapibus nulla, et tincidunt urna faucibus eu. </p>
  27 +<p class="some">Paragraph &lt;p&gt; with class "some" • Nullam bibendum rhoncus ullamcorper. Aliquam vitae ullamcorper metus. Phasellus vitae ipsum tortor, accumsan cursus nunc.</p>
  28 +<h1>Heading 1 &lt;h1&gt;</h1>
  29 +<h1 class="first">Heading 1 &lt;h1&gt; with class "first"</h1>
  30 +<h2>Heading 2 &lt;h2&gt;</h2>
  31 +<h2 class="other">Heading 2 &lt;h2&gt; with class "other"</h2>
  32 +<h2><a href="#">Linked Heading 2 </a>&lt;h2&gt;</h2>
  33 +<h3>Heading 3 &lt;h3&gt;</h3>
  34 +<h4>Heading 4 &lt;h4&gt;</h4>
  35 +<h5>Heading 5 &lt;h5&gt;</h5>
  36 +<h6>Heading 6 &lt;h6&gt;</h6>
  37 +<div>Division, section &lt;div&gt; • Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
  38 +<div class="messages error">Division, section &lt;div&gt; with class "messages error" • Vivamus metus orci, consectetur a consectetur sed, malesuada sed ligula. Nunc nibh quam, tempor sagittis rhoncus quis, placerat a elit.</div>
  39 +<address>Address &lt;address&gt; • Suspendisse laoreet pellentesque nibh id gravida. </address>
  40 +<blockquote cite="#">Quoted section &lt;blockquote&gt; • Donec vulputate pretium egestas. Vivamus faucibus ultrices elit, sit amet dignissim mauris semper at. Mauris laoreet nisi sed dolor volutpat sagittis. Proin euismod varius nisl ut interdum. Maecenas tempor, ipsum placerat suscipit malesuada, sem ipsum ullamcorper purus, eu eleifend tortor ante ac arcu. </blockquote>
  41 +<blockquote><p>Nested paragraph in quoted section • Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</blockquote>
  42 +<pre>Preformatted text &lt;pre&gt; •
  43 + Proin hendrerit felis
  44 + vitae urna bibendum commodo.
  45 + Cras non augue vitae metus ullamcorper porttitor at et nisl.
  46 + Quisque dui lacus, vestibulum at placerat vitae, dignissim ac erat.</pre>
  47 +
  48 +<p>Inline elements: strong, em, a href, span, abbr, acronym, q, cite, kbd, samp, var, dfn, code, del, ins, sup, sub • Lorem ipsum
  49 + <strong>important text &lt;strong&gt; and &lt;b&gt; • dolor sit amet</strong>, consectetur
  50 + <em>emphasized text &lt;em&gt and &lt;i&gt; • adipiscing elit</em>. Vestibulum
  51 + <a href="#">hyperlink &lta href&gt; • metus</a> tellus, ultrices ac
  52 + <span>generic inline container &lt;span&gt; • tristique vitae</span>, laoreet et ante. Sodales
  53 + <abbr title="abbr">abbreviation &lt;abbr&gt; • ALIQUAM</abbr> elit velit,
  54 + <acronym title="acronym">acronym &lt;acronym&gt; • PORTA</acronym> sed volutpat,
  55 + <q>short quotation &lt;q&gt; • Vestibulum eros odio</q>, gravida et bibendum et,
  56 + <cite>title of a work &lt;cite&gt; • accumsan imperdiet</cite> eros. In at mauris
  57 + <kbd>keyboard input &lt;kbd&gt; • vitae</kbd> sodales in dolor. Cum sociis
  58 + <samp>sample output from a computer program &lt;samp&gt; • natoque penatibus</samp> et magnis dis
  59 + <var>variable &lt;var&gt; • parturient</var> montes, nascetur
  60 + <dfn>definition term &lt;dfn&gt; • ridiculus</dfn> mus. Praesent
  61 + <code>computer code &lt;code&gt; • torqueo jumentum dolus esca</code> suscipit,
  62 + <del>deleted text &lt;del&gt; • ultrices</del> velit, sit amet
  63 + <ins>inserted text &lt;ins&gt; • acinia massa varius</ins> in. Sed vulputate dapibus nulla, et
  64 + <sup>supscript text &lt;sup&gt; • tincidunt</sup> urna faucibus eu. Neo damnum aliquam
  65 + <sub>subscript text &lt;sub&gt; • consequat</sub>. Abdo genitus luptatum virtus singularis distineo validus ea. Gravis
  66 + <strong class="myinlineclass">important text &lt;strong&gt; with class "myinlineclass" • oppeto huic incassum. Vulputate hos singularis veniam zelus singularis utinam vulputate sino quidne. Nutus neque quidem. Natu interdico melior.Oppeto vulpes meus jugis ut iriure valde consectetuer</strong> abigo. Aptent bene ideo commoveo quadrum abbas. Vereor macto neo probo ille. Esse vulpes sino virtus rusticus brevitas mos. Cui ad vulputate et vero zelus feugiat os olim obruo. Facilisi quadrum proprius gravis velit humo nunc wisi imputo antehabeo.Valde dolore tation facilisi ullamcorper gemino gemino cui qui paratus. Camur in capto euismod. Brevitas vero iriure letalis valde oppeto plaga ullamcorper adipiscing inhibeo.
  67 +</p>
  68 +
  69 +<h2>Ordered List</h2>
  70 +<ol>
  71 + <li>Nullam ullamcorper porta sem quis aliquet. Integer sed metus justo.</li>
  72 + <li>Lorem ipsum dolor sit amet consectetuer.</li>
  73 + <li>Neo damnum aliquam consequat. Abdo genitus luptatum virtus singularis distineo validus ea. Gravis oppeto huic incassum torqueo jumentum dolus esca suscipit. Vulputate hos singularis veniam zelus singularis utinam vulputate sino quidne. Nutus neque quidem. Natu interdico melior.Oppeto vulpes meus jugis ut iriure valde consectetuer abigo. Aptent bene ideo commoveo quadrum abbas. Vereor macto neo probo ille.</li>
  74 + <li><p>Pellentesque dui mauris, mattis id lobortis porttitor, laoreet eu dui. Vestibulum eget ligula mauris, iaculis euismod sapien.</p><p>Donec quis justo lorem.</p></li>
  75 + <li>Condimentum quis.</li>
  76 + <li>Congue Quisque augue elit dolor.
  77 + <ol>
  78 + <li>Sed at tempus enim.</li>
  79 + <li>Aliquam accumsan lorem eu dui tempus vel pellentesque magna hendrerit.</li>
  80 + <li>Donec eleifend sodales lorem at varius. Pellentesque condimentum dui scelerisque eros consectetur blandit. Etiam posuere placerat arcu ut cursus. Mauris dui ligula, porta ut tincidunt quis, ornare ut dolor. Sed sed mollis felis. Suspendisse laoreet pellentesque nibh id gravida. Pellentesque dui mauris, mattis id lobortis porttitor, laoreet eu dui. Vestibulum eget ligula mauris, iaculis euismod sapien. Donec quis justo lorem.</li>
  81 + </ol>
  82 + </li>
  83 + <li>Congue Quisque augue elit dolor nibh.</li>
  84 + <li>Vestibulum feugiat tempor gravida.</li>
  85 + <li>Donec vulputate pretium egestas.</li>
  86 + <li>Vivamus faucibus ultrices elit, sit amet dignissim mauris semper at.</li>
  87 + <li>Mauris laoreet nisi sed dolor volutpat sagittis.</li>
  88 +</ol>
  89 +
  90 +<h2>Unordered List</h2>
  91 +<ul>
  92 + <li>Donec quis justo lorem.</li>
  93 + <li>Condimentum quis.</li>
  94 + <li>Congue Quisque augue elit dolor.
  95 + <ul class="special">
  96 + <li>Mauris laoreet nisi sed dolor volutpat sagittis. </li>
  97 + <li>Proin euismod varius nisl ut interdum.
  98 + <ul>
  99 + <li>Maecenas tempor, ipsum placerat suscipit malesuada, sem ipsum ullamcorper purus, eu eleifend tortor ante ac arcu.</li>
  100 + <li>Donec eleifend sodales lorem at varius.</li>
  101 + <li>Nullam ullamcorper porta sem quis aliquet. Integer sed metus justo.</li>
  102 + </ul>
  103 + </li>
  104 + <li>Suspendisse non lorem eget lacus tincidunt mattis.</li>
  105 + </ul>
  106 + </li>
  107 + <li>Nunc cursus sem et pretium sapien eget.</li>
  108 +</ul>
  109 +<ul></ul>
  110 +
  111 +<h2>Definition List</h2>
  112 +<dl class="something">
  113 + <dt>Cras</dt>
  114 + <dd>Phasellus convallis interdum dictum. </dd>
  115 + <dd>Suspendisse lectus eros, vestibulum et sagittis eu, fringilla ac urna. Phasellus ullamcorper faucibus sapien, nec rhoncus orci gravida id. Quisque elementum leo at leo facilisis euismod. Nunc sit amet elit vitae arcu fermentum adipiscing eu at mauris.</dd>
  116 + <dt>Aenean volutpat urna a risus congue fermentum.</dt>
  117 + <dd>Curabitur id nunc ante, nec tincidunt odio. Nulla facilisi. In hac habitasse platea dictumst. Curabitur suscipit luctus aliquet. Pellentesque quis risus dolor.</dd>
  118 +</dl>
  119 +
  120 +<table width="50%" border="1">
  121 + <caption>Caption • Table with border 1.</caption>
  122 + <thead>
  123 + <tr>
  124 + <th>thead th • Aliquam</th>
  125 + <th>thead th • Quisque</th>
  126 + <th>thead th • Nunc</th>
  127 + </tr>
  128 + </thead>
  129 + <tbody>
  130 + <tr>
  131 + <td>tbody tr td • Curabitur suscipit luctus aliquet.</td>
  132 + <td>tbody tr td • Nunc orci lorem, rhoncus eu elementum id, lacinia eget lorem. Nulla in neque viverra metus iaculis posuere. </td>
  133 + <td>tbody tr td • Proin id leo condimentum ipsum commodo consequat.</td>
  134 + </tr>
  135 + <tr>
  136 + <td>Neo damnum aliquam consequat.</td>
  137 + <td>Neo damnum aliquam consequat.</td>
  138 + <td>Neo damnum aliquam consequat. </td>
  139 + </tr>
  140 + <tr>
  141 + <td>Neo damnum aliquam consequat.</td>
  142 + <td>Neo damnum aliquam consequat. Neo damnum aliquam consequat.</td>
  143 + <td>Neo damnum aliquam consequat. Neo damnum aliquam consequat. Neo damnum aliquam consequat</td>
  144 + </tr>
  145 + </tbody>
  146 +</table>
  147 +
  148 +</body>
  149 +</html>
BIN  vendor/assets/wymeditor/iframe/pretty/icon.png
BIN  vendor/assets/wymeditor/iframe/pretty/visitor1.eot
Binary file not shown
BIN  vendor/assets/wymeditor/iframe/pretty/visitor1.ttf
Binary file not shown
BIN  vendor/assets/wymeditor/iframe/pretty/visitor1.woff
Binary file not shown
396 vendor/assets/wymeditor/iframe/pretty/wymiframe.css
... ... @@ -0,0 +1,396 @@
  1 +/*
  2 + * WYMeditor : what you see is What You Mean web-based editor
  3 + * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
  4 + * Dual licensed under the MIT (MIT-license.txt)
  5 + * and GPL (GPL-license.txt) licenses.
  6 + *
  7 + * For further information visit:
  8 + * http://www.wymeditor.org/
  9 + *
  10 + * File Name:
  11 + * wymeditor.css
  12 + * Main editor css file.
  13 + * See the documentation for more info.
  14 + *
  15 + * File Authors:
  16 + * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg)
  17 + * Daniel Reszka (d.reszka a-t wymeditor dotorg)
  18 + * Gyuris Gellért (bubu a-t ujevangelizacio dothu)
  19 +*/
  20 +
  21 +/* VISUAL FEEDBACK */
  22 +@font-face {
  23 + font-family: "Visitor";
  24 + src: url("visitor1.woff") format("woff"),
  25 + url("visitor1.ttf") format("truetype");
  26 + font-weight: normal;
  27 + font-style: normal;
  28 +}
  29 +
  30 +/* basic */
  31 + body { background: #e1e8f1;}
  32 +
  33 +/* make HTML blocs visible */
  34 + div,
  35 + p,
  36 + h1,
  37 + h2,
  38 + h3,
  39 + h4,
  40 + h5,
  41 + h6,
  42 + ul,
  43 + ol,
  44 + table,
  45 + address,
  46 + blockquote,
  47 + pre { background: #FFFFFF;
  48 + padding:8px 5px 5px;
  49 + margin:10px; }
  50 + ul,
  51 + ol,
  52 + dl { background: #B9C4D0;
  53 + margin: 10px;
  54 + padding: 0 0 0 10px;
  55 + list-style-position: outside;
  56 + min-height: 1.6em; }
  57 + ul ul,
  58 + ul ol,
  59 + ol ol,
  60 + ol ul { margin: 5px 0 0 -5px }
  61 + ul > li ul,
  62 + ul > li ol,
  63 + ol > li ul,
  64 + ol > li ol { border-top: 4px solid #B9C4D0 }
  65 + li > p:first-child,
  66 + li > div:first-child { margin-top: 0 }
  67 + li > p:last-child,
  68 + li > div:last-child { margin-bottom: 0 }
  69 + li,
  70 + dd,
  71 + dt { background: white;
  72 + margin: 0px 0 4px 20px;
  73 + padding: 8px 0 0 5px; }
  74 + dt { margin-bottom: 0 }
  75 + dd + dt { margin-top: 4px; }
  76 + dd { margin: 2px 0 0 4em }
  77 + td { background: #F0F4F8; width: 25%; }
  78 + th { background: #ffffcc; }
  79 + caption { background: #E4E4B0; padding: 5px; font-weight: bold; }
  80 + table { font-size: 12px; width: 500px; }
  81 + blockquote { margin-left: 30px; }
  82 + pre { background-color:transparent; border: 1px solid white; }
  83 +
  84 +/* Gecko min height fix */
  85 + td { height: 1.6em; }
  86 +
  87 +/* specific HTML elements */
  88 + caption { text-align: left; }
  89 + img { margin-right: 5px;
  90 + border-style: solid;
  91 + border-color: gray;
  92 + border-width: 0; }
  93 + a img { border-width: 1px; border-color: blue; }
  94 + acronym { border: 1px solid gray; }
  95 + span { /*background-color: #eef;*/ }
  96 +
  97 +/* visual feedback for non-valid nesting of elements*/
  98 + h1 h1, h1 h2, h1 h3, h1 h4, h1 h5, h1 h6, h1 p, h1 pre, h1 address,
  99 + h2 h1, h2 h2, h2 h3, h2 h4, h2 h5, h2 h6, h2 p, h2 pre, h2 address,
  100 + h3 h1, h3 h2, h3 h3, h3 h4, h3 h5, h3 h6, h3 p, h3 pre, h3 address,
  101 + h4 h1, h4 h2, h4 h3, h4 h4, h4 h5, h4 h6, h4 p, h4 pre, h4 address,
  102 + h5 h1, h5 h2, h5 h3, h5 h4, h5 h5, h5 h6, h5 p, h5 pre, h5 address,
  103 + h6 h1, h6 h2, h6 h3, h6 h4, h6 h4, h6 h6, h6 p, h6 pre, h6 address,
  104 + p h1, p h2, p h3, p h4, p h5, p h6, p pre, p address,
  105 + pre h1, pre h2, pre h3, pre h4, pre h5, pre h6, pre p, pre pre, pre address,
  106 + address h1, address h2, address h3, address h4, address h5, address h6,
  107 + address p, address pre, address address
  108 + { background-color: #ff9999 !important;
  109 + border: 1px solid red !important;
  110 + font-size: 12px !important;
  111 + font-weight: normal; }
  112 +
  113 +/* Spacer BRs shouldn't add much whitespace */
  114 +br { height: 5px; line-height: 5px; }
  115 +
  116 +/* labels: block elements; IE9 support ::before: http://stackoverflow.com/questions/7157405/are-css3-after-and-before-pseudo-elements-rendered-by-ie9 */
  117 +div, p, ol, ul, dl, li, dt, dd, h1, h2, h3, h4, h5, h6, blockquote,
  118 +pre, address {
  119 + position: relative;
  120 +}
  121 +div::before,
  122 +p::before,
  123 +ol::before,
  124 +ul::before,
  125 +dl::before,
  126 +li::before,
  127 +dt::before,
  128 +dd::before,
  129 +h1::before,
  130 +h2::before,
  131 +h3::before,
  132 +h4::before,
  133 +h5::before,
  134 +h6::before,
  135 +blockquote::before,
  136 +pre::before,
  137 +address::before {
  138 + position: absolute;
  139 + left: -1px;
  140 + top: -1px;
  141 + padding: 0px 3px;
  142 + font: 10px/10px "Visitor", monospace;
  143 + color: silver;
  144 + background: rgba(255,255,255,0.5);
  145 + -webkit-user-select: none;
  146 + -khtml-user-select: none;
  147 + -moz-user-select: none;
  148 + -o-user-select: none;
  149 + -ms-user-select: none;
  150 + user-select: none;
  151 + cursor: default;
  152 + white-space: nowrap;
  153 +}
  154 +div:hover::before,
  155 +p:hover::before,
  156 +ol:hover::before,
  157 +ul:hover::before,
  158 +dl:hover::before,
  159 +li:hover::before,
  160 +dt:hover::before,
  161 +dd:hover::before,
  162 +h1:hover::before,
  163 +h2:hover::before,
  164 +h3:hover::before,
  165 +h4:hover::before,
  166 +h5:hover::before,
  167 +h6:hover::before,
  168 +blockquote:hover::before,
  169 +pre:hover::before,
  170 +address:hover::before {
  171 + color: rgb(65,105,225);
  172 + background: rgba(255,255,255,0.);
  173 + outline: 1px solid rgba(65,105,225,0.9);
  174 +}
  175 +div::before { content: "document division" } /* official names: https://developer.mozilla.org/en/HTML/Element */
  176 +div[class]::before { content: "document division type \"" attr(class) "\"" }
  177 +body.short div::before { content: "div" }
  178 +body.short div[class]::before { content: "div." attr(class) }
  179 +p::before { content: "paragraph" }
  180 +p[class]::before { content: "paragraph type \"" attr(class) "\"" }
  181 +body.short p::before { content: "p" }
  182 +body.short p[class]::before { content: "p." attr(class) }
  183 +ol::before { content: "ordered list" }
  184 +ol[class]::before { content: "ordered list type \"" attr(class) "\"" }
  185 +body.short ol::before { content: "ol" }
  186 +body.short ol[class]::before { content: "ol." attr(class) }
  187 +ul::before { content: "unordered list" }
  188 +ul[class]::before { content: "unordered list type \"" attr(class) "\"" }
  189 +body.short ul::before { content: "ul" }
  190 +body.short ul[class]::before { content: "ul." attr(class) }
  191 +dl::before { content: "definition list" }
  192 +dl[class]::before { content: "definition list type \"" attr(class) "\"" }
  193 +body.short dl::before { content: "dl" }
  194 +body.short dl[class]::before { content: "dl." attr(class) }
  195 +li::before { content: "list item" }
  196 +li[class]::before { content: "list item type \"" attr(class) "\"" }
  197 +body.short li::before { content: "li" }
  198 +body.short li[class]::before { content: "li." attr(class) }
  199 +dt::before { content: "definition term" }
  200 +dt[class]::before { content: "definition term type \"" attr(class) "\"" }
  201 +body.short dt::before { content: "dt" }
  202 +body.short dt[class]::before { content: "dt." attr(class) }
  203 +dd::before { content: "definition description" }
  204 +dd[class]::before { content: "definition description type \"" attr(class) "\"" }
  205 +body.short dd::before { content: "dd" }
  206 +body.short dd[class]::before { content: "dd." attr(class) }
  207 +h1::before { content: "heading 1" }
  208 +h1[class]::before { content: "heading 1 type \"" attr(class) "\"" }
  209 +body.short h1::before { content: "h1" }
  210 +body.short h1[class]::before { content: "h1." attr(class) }
  211 +h2::before { content: "heading 2" }
  212 +h2[class]::before { content: "heading 2 type \"" attr(class) "\"" }
  213 +body.short h2::before { content: "h2" }
  214 +body.short h2[class]::before { content: "h2." attr(class) }
  215 +h3::before { content: "heading 3" }
  216 +h3[class]::before { content: "heading 3 type \"" attr(class) "\"" }
  217 +body.short h3::before { content: "h3" }
  218 +body.short h3[class]::before { content: "h3." attr(class) }
  219 +h4::before { content: "heading 4" }
  220 +h4[class]::before { content: "heading 4 type \"" attr(class) "\"" }
  221 +body.short h4::before { content: "h4" }
  222 +body.short h4[class]::before { content: "h4." attr(class) }
  223 +h5::before { content: "heading 5" }
  224 +h5[class]::before { content: "heading 5 type \"" attr(class) "\"" }
  225 +body.short h5::before { content: "h5" }
  226 +body.short h5[class]::before { content: "h5." attr(class) }
  227 +h6::before { content: "heading 6" }
  228 +h6[class]::before { content: "heading 6 type \"" attr(class) "\"" }
  229 +body.short h6::before { content: "h6" }
  230 +body.short h6[class]::before { content: "h6." attr(class) }
  231 +blockquote::before { content: "block quotation" }
  232 +blockquote[class]::before { content: "block quotation type \"" attr(class) "\"" }
  233 +body.short blockquote::before { content: "blockquote" }
  234 +body.short blockquote[class]::before { content: "blockquote." attr(class) }
  235 +pre::before { content: "preformatted text" }
  236 +pre[class]::before { content: "preformatted text type \"" attr(class) "\"" }
  237 +body.short pre::before { content: "pre" }
  238 +body.short pre[class]::before { content: "pre." attr(class) }
  239 +address::before { content: "address or contact information" }
  240 +address[class]::before { content: "address or contact information type \"" attr(class) "\"" }
  241 +body.short address::before { content: "address" }
  242 +body.short ddress[class]::before { content: "address." attr(class) }
  243 +
  244 +ul[class]:not(:empty)::before, body:not(.short) ul:not(:empty)::before,
  245 +ol[class]:not(:empty)::before, body:not(.short) ol:not(:empty)::before,
  246 +dl[class]:not(:empty)::before, body:not(.short) dl:not(:empty)::before {
  247 + transform: rotate(90deg);
  248 + -ms-transform: rotate(90deg); /* IE 9 */
  249 + -webkit-transform: rotate(90deg); /* Safari and Chrome */
  250 + -o-transform: rotate(90deg); /* Opera 11+ */
  251 + -moz-transform: rotate(90deg); /* Firefox */
  252 + transform-origin: bottom left;
  253 + -ms-transform-origin: bottom left;
  254 + -webkit-transform-origin: bottom left;
  255 + -o-transform-origin: bottom left;
  256 + -moz-transform-origin: bottom left;
  257 + top: -11px;
  258 +}
  259 +
  260 +/* labels: inline elements */
  261 +span, strong, b, em, i, a, abbr, acronym, kbd, q, cite, samp, var, del,
  262 +ins, dfn, code, sup, sub {
  263 + position: relative;
  264 +}
  265 +span:hover::before,
  266 +strong:hover::before,
  267 +b:hover::before,
  268 +em:hover::before,
  269 +i:hover::before,
  270 +a:hover::before,
  271 +abbr:hover::before,
  272 +acronym:hover::before,
  273 +kbd:hover::before,
  274 +/*q:hover::before(2), now is not working http://www.w3.org/TR/css3-content/#inserting0 */
  275 +cite:hover::before,
  276 +samp:hover::before,
  277 +var:hover::before,
  278 +del:hover::before,
  279 +ins:hover::before,
  280 +dfn:hover::before,
  281 +code:hover::before,
  282 +sup:hover::before,
  283 +sub:hover::before {
  284 + position: absolute;
  285 + top: -8px;
  286 + left: -2px;
  287 + padding: 0px 3px;
  288 + font: 10px/10px "Visitor", monospace;
  289 + hyphens: none; /* chrome: a-href */
  290 + color: rgb(65,105,225);
  291 + background: rgba(255,255,255,0.9);
  292 + outline: 1px solid rgba(65,105,225,0.9);
  293 + -webkit-user-select: none;
  294 + -khtml-user-select: none;
  295 + -moz-user-select: none;
  296 + -o-user-select: none;
  297 + -ms-user-select: none;
  298 + user-select: none;
  299 + cursor: default;
  300 + white-space: nowrap;
  301 +}
  302 +span:hover::before { content: "text span" }
  303 +span[class]:hover::before { content: "text span type \"" attr(class) "\"" }
  304 +body.short span:hover::before { content: "span" }
  305 +body.short span[class]:hover::before { content: "span." attr(class) }
  306 +strong:hover::before,
  307 +b:hover::before { content: "strong emphasis" }
  308 +strong[class]:hover::before,
  309 +b[class]:hover::before { content: "strong emphasis type \"" attr(class) "\"" }
  310 +body.short strong:hover::before,
  311 +body.short b:hover::before { content: "strong" }
  312 +body.short strong[class]:hover::before,
  313 +body.short b[class]:hover::before { content: "strong." attr(class) }
  314 +em:hover::before,
  315 +i:hover::before { content: "emphasis" }
  316 +em[class]:hover::before,
  317 +i[class]:hover::before { content: "emphasis type \"" attr(class) "\"" }
  318 +body.short em:hover::before,
  319 +body.short i:hover::before { content: "em" }
  320 +body.short em[class]:hover::before,
  321 +body.short i[class]:hover::before { content: "em." attr(class) }
  322 +a[href]:hover::before { content: "hyperlink" }
  323 +a[href][class]:hover::before { content: "hyperlink type \"" attr(class) "\"" }
  324 +body.short a[href]:hover::before { content: "a-href" }
  325 +body.short a[href][class]:hover::before { content: "a-href." attr(class) }
  326 +abbr:hover::before { content: "abbreviation" }
  327 +abbr[class]:hover::before { content: "abbreviation type \"" attr(class) "\"" }
  328 +body.short abbr:hover::before { content: "abbr" }
  329 +body.short abbr[class]:hover::before { content: "abbr." attr(class) }
  330 +acronym:hover::before { content: "acronym" }
  331 +acronym[class]:hover::before { content: "acronym type \"" attr(class) "\"" }
  332 +body.short acronym:hover::before { content: "acronym" }
  333 +body.short acronym[class]:hover::before { content: "acronym." attr(class) }
  334 +kbd:hover::before { content: "keyboard input" }
  335 +kbd[class]:hover::before { content: "keyboard input type \"" attr(class) "\"" }
  336 +body.short kbd:hover::before { content: "kbd" }
  337 +body.short kbd[class]:hover::before { content: "kbd." attr(class)}
  338 +/* q:hover::before(2) { content: "quotation" }
  339 +q[class]:hover::before(2) { content: "quotation type \"" attr(class) "\"" }
  340 +body.short q:hover::before(2) { content: "q" }
  341 +body.short q[class]:hover::before(2) { content: "q." attr(class) } */
  342 +cite:hover::before { content: "work title" }
  343 +cite[class]:hover::before { content: "work title type \"" attr(class) "\""}
  344 +body.short cite:hover::before { content: "cite" }
  345 +body.short cite[class]:hover::before { content: "cite." attr(class) }
  346 +samp:hover::before { content: "sample text" }
  347 +samp[class]:hover::before { content: "sample text type \"" attr(class) "\"" }
  348 +body.short samp:hover::before { content: "samp" }
  349 +body.short samp[class]:hover::before { content: "samp." attr(class) }
  350 +var:hover::before { content: "variable" }
  351 +var[class]:hover::before { content: "variable type \"" attr(class) "\"" }
  352 +body.short var:hover::before { content: "var" }
  353 +body.short var[class]:hover::before { content: "var." attr(class) }
  354 +del:hover::before { content: "deleted text" }
  355 +del[class]:hover::before { content: "deleted text type \"" attr(class) "\"" }
  356 +body.short del:hover::before { content: "del" }
  357 +body.short del[class]:hover::before { content: "del." attr(class) }
  358 +ins:hover::before { content: "inserted text" }
  359 +ins[class]:hover::before { content: "inserted text type \"" attr(class) "\"" }
  360 +body.short ins:hover::before { content: "ins" }
  361 +body.short ins[class]:hover::before { content: "ins." attr(class) }
  362 +dfn:hover::before { content: "definition" }
  363 +dfn[class]:hover::before { content: "definition type \"" attr(class) "\"" }
  364 +body.short dfn:hover::before { content: "dfn" }
  365 +body.short dfn[class]:hover::before { content: "dfn." attr(class) }
  366 +code:hover::before { content: "code fragment" }
  367 +code[class]:hover::before { content: "code fragment type \"" attr(class) "\"" }
  368 +body.short code:hover::before { content: "code" }
  369 +body.short code[class]:hover::before { content: "code." attr(class) }
  370 +sup:hover::before { content: "superscript" }
  371 +sup[class]:hover::before { content: "superscript type \"" attr(class) "\"" }
  372 +body.short sup:hover::before { content: "sup" }
  373 +body.short sup[class]:hover::before { content: "sup." attr(class) }
  374 +sub:hover::before { content: "subscript" }
  375 +sub[class]:hover::before { content: "subscript type \"" attr(class) "\""}
  376 +body.short sub:hover::before { content: "sub" }
  377 +body.short sub[class]:hover::before { content: "sub." attr(class) }
  378 +
  379 +span:hover,
  380 +strong:hover, b:hover,
  381 +em:hover, i:hover,
  382 +a[href]:hover,
  383 +abbr:hover,
  384 +acronym:hover,
  385 +kbd:hover,
  386 +q:hover,
  387 +cite:hover,
  388 +samp:hover,
  389 +var:hover,
  390 +del:hover,
  391 +ins:hover,
  392 +dfn:hover,
  393 +code:hover,
  394 +sup:hover,
  395 +sub:hover { background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAgSURBVAiZY3DMfPj/////DDDMxIAGMAQYHTMf/kcWAADRgQ4R3lkO7wAAAABJRU5ErkJggg==) bottom left no-repeat,
  396 + url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAgSURBVAiZY/z//z8DDDhlPfrPxIAGMAQYHTMf/kcWAABxJAgb2YLYKgAAAABJRU5ErkJggg==) bottom right no-repeat }
26 vendor/assets/wymeditor/iframe/pretty/wymiframe.html
... ... @@ -0,0 +1,26 @@
  1 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2 +<!--
  3 + * WYMeditor : what you see is What You Mean web-based editor
  4 + * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
  5 + * Dual licensed under the MIT (MIT-license.txt)
  6 + * and GPL (GPL-license.txt) licenses.
  7 + *
  8 + * For further information visit:
  9 + * http://www.wymeditor.org/
  10 + *
  11 + * File Name:
  12 + * wymiframe.html
  13 + * Iframe used by designMode.
  14 + * See the documentation for more info.
  15 + *
  16 + * File Authors:
  17 + * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg)
  18 +-->
  19 +<html>
  20 +<head>
  21 +<title>WYMeditor iframe</title>
  22 +<link rel="stylesheet" type="text/css" media="screen" href="wymiframe.css" />
  23 +<!--[if IE]><link rel="stylesheet" type="text/css" media="screen" href="wymiframe.ie.css" /><![endif]-->
  24 +</head>
  25 +<body class="wym_iframe"></body>
  26 +</html>
21 vendor/assets/wymeditor/iframe/pretty/wymiframe.ie.css
... ... @@ -0,0 +1,21 @@
  1 +/*
  2 + * WYMeditor : what you see is What You Mean web-based editor
  3 + * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
  4 + * Dual licensed under the MIT (MIT-license.txt)
  5 + * and GPL (GPL-license.txt) licenses.
  6 + *
  7 + * For further information visit:
  8 + * http://www.wymeditor.org/
  9 + *
  10 + * File Name:
  11 + * wymeditor.ie.css
  12 + * Main editor css file, IE support.
  13 + * See the documentation for more info.
  14 + *
  15 + * File Authors:
  16 + * Gyuris Gellért (bubu a-t ujevangelizacio dothu)
  17 +*/
  18 +
  19 +/* VISUAL FEEDBACK */
  20 +ul, ol, dl { min-height: auto; line-height: 0px }
  21 +li, dt, dd { line-height: 20px; }
5,262 vendor/assets/wymeditor/jquery.wymeditor.js
4,740 additions, 522 deletions not shown
11 vendor/assets/wymeditor/jquery.wymeditor.min.js
6 additions, 5 deletions not shown
BIN  vendor/assets/wymeditor/lang/.en.js.swp
Binary file not shown
82 vendor/assets/wymeditor/lang/tr.js
... ... @@ -1,45 +1,45 @@
1 1 WYMeditor.STRINGS.tr = {
2   - Strong: 'Kalın',
3   - Emphasis: 'Vurgu',
4   - Superscript: 'Superscript',
5   - Subscript: 'Subscript',
6   - Ordered_List: 'Sıralı List',
7   - Unordered_List: 'Sırasız List',
8   - Indent: 'İçerlek',
9   - Outdent: 'Çıkıntılı',
10   - Undo: 'Geri Al',
11   - Redo: 'Yinele',
12   - Link: 'Bağlantı',
13   - Unlink: 'Bağlantıyı Kaldır',
14   - Image: 'İmaj',
15   - Table: 'Tablo',
16   - HTML: 'HTML',
17   - Paragraph: 'Parağraf',
18   - Heading_1: 'Başlık 1',
19   - Heading_2: 'Başlık 2',
20   - Heading_3: 'Başlık 3',
21   - Heading_4: 'Başlık 4',
22   - Heading_5: 'Başlık 5',
23   - Heading_6: 'Başlık 6',
24   - Preformatted: 'Önceden Formatlı',
25   - Blockquote: 'Alıntı',
26   - Table_Header: 'Tablo Başlığı',
27   - URL: 'URL',
28   - Title: 'Başlık',
  2 + Strong: 'Kalın',
  3 + Emphasis: 'Vurgu',
  4 + Superscript: 'Üstsimge',
  5 + Subscript: 'Altsimge',
  6 + Ordered_List: 'Sıralı List',
  7 + Unordered_List: 'Sırasız List',
  8 + Indent: 'Girintile',
  9 + Outdent: 'Çıkıntıla',
  10 + Undo: 'Geri Al',
  11 + Redo: 'Yinele',
  12 + Link: 'Bağlantı',
  13 + Unlink: 'Bağlantıyı Kaldır',
  14 + Image: 'Resim',
  15 + Table: 'Tablo',
  16 + HTML: 'HTML',
  17 + Paragraph: 'Parağraf',
  18 + Heading_1: 'Başlık 1',
  19 + Heading_2: 'Başlık 2',
  20 + Heading_3: 'Başlık 3',
  21 + Heading_4: 'Başlık 4',
  22 + Heading_5: 'Başlık 5',
  23 + Heading_6: 'Başlık 6',
  24 + Preformatted: 'Önceden Formatlı',
  25 + Blockquote: 'Alıntı',
  26 + Table_Header: 'Tablo Başlığı',
  27 + URL: 'URL',
  28 + Title: 'Başlık',
29 29 Alternative_Text: 'Alternatif Metin',
30   - Caption: 'Etiket',
31   - Summary: 'Summary',
32   - Number_Of_Rows: 'Satır sayısı',
33   - Number_Of_Cols: 'Sütun sayısı',
34   - Submit: 'Gönder',
35   - Cancel: 'İptal',
36   - Choose: 'Seç',
37   - Preview: 'Önizleme',
38   - Paste_From_Word: 'Wordden yapıştır',
39   - Tools: 'Araçlar',
40   - Containers: 'Kapsayıcılar',
41   - Classes: 'Sınıflar',
42   - Status: 'Durum',
43   - Source_Code: 'Kaynak Kodu'
  30 + Caption: 'Etiket',
  31 + Summary: 'Özet',
  32 + Number_Of_Rows: 'Satır sayısı',
  33 + Number_Of_Cols: 'Sütun sayısı',
  34 + Submit: 'Gönder',
  35 + Cancel: 'İptal',
  36 + Choose: 'Seç',
  37 + Preview: 'Önizleme',
  38 + Paste_From_Word: 'Word\'den yapıştır',
  39 + Tools: 'Araçlar',
  40 + Containers: 'Kapsayıcılar',
  41 + Classes: 'Sınıflar',
  42 + Status: 'Durum',
  43 + Source_Code: 'Kaynak Kodu'
44 44 };
45 45
74 vendor/assets/wymeditor/plugins/rdfa/jquery.wymeditor.rdfa.js
@@ -16,13 +16,13 @@
16 16 */
17 17
18 18 //Extend WYMeditor
19   -WYMeditor.editor.prototype.rdfa = function(options) {
  19 +WYMeditor.editor.prototype.rdfa = function (options) {
20 20 var rdfa = new WYMeditor.RDFa(options, this);
21   - return(rdfa);
  21 + return rdfa;
22 22 };
23 23
24 24 //RDFa constructor
25   -WYMeditor.RDFa = function(options, wym) {
  25 +WYMeditor.RDFa = function (options, wym) {
26 26 options = jQuery.extend({
27 27 setStdNameSpaces: true,
28 28 extendXHTMLParser: true,
@@ -35,7 +35,7 @@ WYMeditor.RDFa = function(options, wym) {
35 35 };
36 36
37 37 //RDFa plugin init
38   -WYMeditor.RDFa.prototype.init = function() {
  38 +WYMeditor.RDFa.prototype.init = function () {
39 39 if (this._options.setStdNameSpaces) {
40 40 this.setStdNameSpaces();
41 41 }
@@ -46,23 +46,23 @@ WYMeditor.RDFa.prototype.init = function() {
46 46 };
47 47
48 48 //Adding the namespaces to the document
49   -WYMeditor.RDFa.prototype.setStdNameSpaces = function() {
  49 +WYMeditor.RDFa.prototype.setStdNameSpaces = function () {
50 50 this.addNameSpace('xmlns', 'http://www.w3.org/1999/xhtml');
51 51 this.addNameSpace('version', 'XHTML+RDFa 1.0');
52 52 };
53 53
54   -WYMeditor.RDFa.prototype.addNameSpace = function(attr, value) {
  54 +WYMeditor.RDFa.prototype.addNameSpace = function (attr, value) {
55 55 jQuery('html', this._wym._doc)
56 56 .attr(attr, value);
57 57 };
58 58
59   -WYMeditor.RDFa.prototype.extendXHTMLParser = function() {
  59 +WYMeditor.RDFa.prototype.extendXHTMLParser = function () {
60 60 this.extendAttributes();
61 61 this.setStdVocabularies();
62 62 this.extendLinkAttributes();
63 63 };
64 64
65   -WYMeditor.RDFa.prototype.extendAttributes = function() {
  65 +WYMeditor.RDFa.prototype.extendAttributes = function () {
66 66 //Add the RDFa attributes
67 67 WYMeditor.XhtmlValidator._attributes.core.attributes.push(
68 68 'rel',
@@ -74,10 +74,11 @@ WYMeditor.RDFa.prototype.extendAttributes = function() {
74 74 'property',
75 75 'resource',
76 76 'datatype',
77   - 'typeof');
  77 + 'typeof'
  78 + );
78 79 };
79 80
80   -WYMeditor.RDFa.prototype.setStdVocabularies = function() {
  81 +WYMeditor.RDFa.prototype.setStdVocabularies = function () {
81 82 var _this = this;
82 83 //Add the 'standard' vocabularies
83 84 vocabularies = [
@@ -94,36 +95,36 @@ WYMeditor.RDFa.prototype.setStdVocabularies = function() {
94 95 'xmlns:xhv',
95 96 'xmlns:xsd'
96 97 ];
97   - jQuery.each(vocabularies, function(index, vocabulary) {
  98 + jQuery.each(vocabularies, function (index, vocabulary) {
98 99 _this.addVocabulary(vocabulary);
99 100 });
100 101 };
101 102
102   -WYMeditor.RDFa.prototype.addVocabulary = function(vocabulary) {
  103 +WYMeditor.RDFa.prototype.addVocabulary = function (vocabulary) {
103 104 WYMeditor.XhtmlValidator._attributes.core.attributes.push(vocabulary);
104 105 };
105 106
106   -WYMeditor.RDFa.prototype.extendLinkAttributes = function() {
  107 +WYMeditor.RDFa.prototype.extendLinkAttributes = function () {
107 108 //Overwrite the <a> attributes 'rel' and 'rev'
108 109 WYMeditor.XhtmlValidator._tags.a = {
109 110 "attributes": {
110   - "0":"charset",
111   - "1":"coords",
112   - "2":"href",
113   - "3":"hreflang",
114   - "4":"name",
115   - "5":"rel",
116   - "6":"rev",
117   - "shape":/^(rect|rectangle|circ|circle|poly|polygon)$/,
118   - "7":"type"
  111 + "0": "charset",
  112 + "1": "coords",
  113 + "2": "href",
  114 + "3": "hreflang",
  115 + "4": "name",
  116 + "5": "rel",
  117 + "6": "rev",
  118 + "shape": /^(rect|rectangle|circ|circle|poly|polygon)$/,
  119 + "7": "type"
119 120 }
120 121 };
121 122 };
122 123
123   -WYMeditor.RDFa.prototype.setButtons = function() {
124   - var _this = this;
125   - var list = jQuery(this._wym._box).find('div.wym_classes ul');
126   - jQuery.each(this._options.buttons, function(index, button) {
  124 +WYMeditor.RDFa.prototype.setButtons = function () {
  125 + var _this = this,
  126 + list = jQuery(this._wym._box).find('div.wym_classes ul');
  127 + jQuery.each(this._options.buttons, function (index, button) {
127 128 list
128 129 .append('<li></li>')
129 130 .children(':last')
@@ -132,26 +133,29 @@ WYMeditor.RDFa.prototype.setButtons = function() {
132 133 .attr('href', '#')
133 134 .text(button.title)
134 135 .bind('click',
135   - {instance: _this._wym,
136   - button: button,
137   - ns: button.ns,
138   - attr: button.attr,
139   - value: button.value},
  136 + {
  137 + instance: _this._wym,
  138 + button: button,
  139 + ns: button.ns,
  140 + attr: button.attr,
  141 + value: button.value
  142 + },
140 143 _this.clickButtonHandler);
141 144 });
142 145 };
143 146
144   -WYMeditor.RDFa.prototype.clickButtonHandler = function(evt) {
  147 +WYMeditor.RDFa.prototype.clickButtonHandler = function (evt) {
145 148 var wym = evt.data.instance,
146 149 selected = wym.selected();
147 150
148 151 //the attribute already exists, remove it
149   - if (typeof(jQuery(selected).attr(evt.data.attr)) !== 'undefined' &&
150   - jQuery(selected).attr(evt.data.attr) != '') {
  152 + if (typeof jQuery(selected).attr(evt.data.attr) !== 'undefined' &&
  153 + jQuery(selected).attr(evt.data.attr) !== '') {
151 154 WYMeditor.console.log(
152 155 'attribute already exists, remove it:',
153 156 evt.data.attr,
154   - jQuery(selected).attr(evt.data.attr));
  157 + jQuery(selected).attr(evt.data.attr)
  158 + );
155 159 jQuery(selected)
156 160 .removeAttr(evt.data.attr)
157 161 .removeClass(evt.data.ns)

0 comments on commit 9c9824b

Please sign in to comment.
Something went wrong with that request. Please try again.