contextualballoon.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <div id="editor">
  2. <p>Line of text, line of text, line of text, line of text.</p>
  3. <p>Line of text, line of text, line of text, line of text.</p>
  4. <p>Line of text, line of text, line of text, line of text.</p>
  5. <p>Line of text, line of text, line of text, line of text.</p>
  6. <p>Line of text, line of text, line of text, line of text.</p>
  7. <p>Line of text, line of [select] text, line of text, line of text.</p>
  8. <p>Line of text, line of text, line of text, line of text.</p>
  9. <p>Line of text, line of text, line of text, line of text.</p>
  10. <p>Line of text, line of text, line of text, line of text.</p>
  11. <p>Line of text, line of text, line of text, line of text.</p>
  12. <p>Line of text, line of text, line of text, line of text.</p>
  13. <p>Line of text, line of text, line of text, line of text.</p>
  14. <p>Line of text, line of text, line of text, line of text.</p>
  15. <p>Line of text, line of text, line of text, line of text.</p>
  16. </div>
  17. <style>
  18. .ck-editor {
  19. margin: 5em auto;
  20. max-width: 70%;
  21. }
  22. .highlight.yellow {
  23. background: hsla(55, 100%, 50%, 0.75);
  24. }
  25. .highlight.blue {
  26. background: hsla(249, 100%, 50%, 0.75);
  27. }
  28. .highlight.pink {
  29. background: hsla(313, 100%, 50%, 0.75);
  30. }
  31. .highlight.green {
  32. background: hsla(114, 100%, 50%, 0.75);
  33. }
  34. .ck p.custom-view {
  35. width: 300px;
  36. text-align: center;
  37. font-size: 14px;
  38. padding: 10px 10px 9px;
  39. }
  40. </style>