JSFiddle - React, Tailwind, and code Playground
by sirtet
HTML
<script src="https://rawgithub.com/sirtet/ckeditor-dev/master/ckeditor.js"></script>
<body>
<h1 class="samples">
<a href="https://github.com/sirtet/ckeditor-dev/tree/master/plugins/textselection/samples" target="_blank">sirtet's CKEditor Fork Samples</a> » Using textselection Plugin
</h1><h2>Mark some text in the editor and switch to Source view (patience, the editor takes some seconds to load).</h2>
<form action="../../../samples/sample_posteddata.php" method="post">
<label for="editor1">
CKEditor using the <code>textselection</code> plugin <strong>(mark some text and switch to Source View)</strong>: </label>
<textarea cols="80" id="editor1" name="editor1" rows="10"><p> <p></p>
<h1><img alt="Saturn V carrying Apollo 11" class="right" src="http://b.cksource.com/a/1/img/sample.jpg" /> Apollo 11</h1>
<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.<p></p>
<p>Armstrong spent about <s>three and a half</s> two and a half hours outside the spacecraft, Aldrin slightly less; and together they collected 47.5 pounds (21.5 kg) of lunar material for return to Earth. A third member of the mission, <a href="http://en.wikipedia.org/wiki/Michael_Collins_(astronaut)">Michael Collins</a>, piloted the <a href="http://en.wikipedia.org/wiki/Apollo_Command/Service_Module">command</a> spacecraft alone in lunar orbit until Armstrong and Aldrin returned to it for the trip back to Earth.<p></p>
<h2>Broadcasting and <em>quotes</em> <a id="quotes" name="quotes"></a></h2>
<p>Broadcast on live TV to a world-wide audience, Armstrong stepped onto...
JavaScript
/*
to add the code on github as external resource, i needed to do this trick:
https://rawgithub.com/sirtet/ckeditor-dev/master/ckeditor.js
instead of
https://raw.github.com/sirtet/ckeditor-dev/master/ckeditor.js
described here:
http://geekdave.com/2013/06/19/linking-raw-github-files-from-jsfiddle/
*/