ckeditor.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <h2>The toolbar</h2>
  2. <div class="toolbar-container"></div>
  3. <h2>The editable</h2>
  4. <div class="editable-container">
  5. <div id="editor">
  6. <h2>About CKEditor&nbsp;5</h2>
  7. <p>This is <a href="https://ckeditor.com">CKEditor&nbsp;5</a>.</p>
  8. <figure class="image">
  9. <img src="./sample.jpg" alt="Autumn fields" />
  10. </figure>
  11. <p>After more than 2 years of building the next generation editor from scratch and closing over 980 tickets,
  12. we created a highly <strong>extensible and flexible architecture</strong> which consists of an <strong>amazing
  13. editing framework</strong> and <strong>editing solutions</strong> that will be built on top of it.</p>
  14. <p>We explained this design choice in
  15. <a href="https://medium.com/content-uneditable/ckeditor-5-the-future-of-rich-text-editing-2b9300f9df2c">&ldquo;CKEditor 5:
  16. The future of rich text editing&ldquo;</a>:</p>
  17. <blockquote><p>(…) we are changing our approach with CKEditor 5. We will no longer have only two solutions
  18. available, instead CKEditor will be seen as a framework for editing solutions. At the same time, we will be
  19. developing several out-of-the-box solutions based on it, which will be available to use in many different contexts.
  20. It will be a real “one size fits all” approach, from little requirements, to super advanced full featured
  21. applications.</p></blockquote>
  22. <h3>Notes</h3>
  23. <p><a href="https://ckeditor.com">CKEditor&nbsp;5</a> is <i>under heavy development</i> and this demo
  24. is not production-ready software. For example:</p>
  25. <ul>
  26. <li><strong>Only Chrome, Opera and Safari are supported</strong>.</li>
  27. <li>Firefox requires enabling the
  28. <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange">
  29. &ldquo;dom.select_events.enabled&rdquo;</a> option.</li>
  30. <li><a href="https://github.com/ckeditor/ckeditor5/issues/342">Support for pasting</a>
  31. is under development (content filtering is unstable).</li>
  32. </ul>
  33. <p>It has <em>bugs</em> that we are aware of &mdash; and that we will be working on in the next few
  34. iterations of the project. Stay tuned for some updates soon!</p>
  35. <table>
  36. <thead>
  37. <tr>
  38. <th>Version</th>
  39. <th>Release date</th>
  40. </tr>
  41. </thead>
  42. <tbody>
  43. <tr>
  44. <td>10.0.1</td>
  45. <td>May 22, 2018</td>
  46. </tr>
  47. <tr>
  48. <td>10.0.0</td>
  49. <td>April 25, 2018</td>
  50. </tr>
  51. <tr>
  52. <td>10.0.0-beta.2</td>
  53. <td>April 10, 2018</td>
  54. </tr>
  55. </tbody>
  56. </table>
  57. </div>
  58. </div>
  59. <style>
  60. .editable-container,
  61. .toolbar-container {
  62. position: relative;
  63. border: 1px solid #ddd;
  64. background: #eee;
  65. }
  66. .toolbar-container {
  67. padding: 1em;
  68. }
  69. .editable-container {
  70. padding: 3em;
  71. overflow-y: scroll;
  72. max-height: 500px;
  73. }
  74. .editable-container > .ck-editor__editable {
  75. min-height: 21cm;
  76. padding: 2em;
  77. border: 1px #D3D3D3 solid;
  78. border-radius: var(--ck-border-radius);
  79. background: white;
  80. box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  81. }
  82. </style>