full_screen.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  5. <link rel="stylesheet"
  6. href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.0.2/css/material-design-iconic-font.min.css">
  7. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../../css/froala_editor.css">
  9. <link rel="stylesheet" href="../../css/froala_style.css">
  10. <link rel="stylesheet" href="../../css/plugins/fullscreen.css">
  11. <style>
  12. body {
  13. text-align: center;
  14. }
  15. section {
  16. width: 81%;
  17. margin: auto;
  18. text-align: left;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <section id="editor">
  24. <div id='edit' style="margin-top: 30px;">
  25. <h1>Full Screen</h1>
  26. <p>Using the <code>fullscreen.min.js</code> plugin it is possible to use the WYSIWYG HTML editor in fullscreen
  27. mode.</p>
  28. <p>Make sure that the <code>fullscreen</code> button is included in the <a
  29. href="https://www.froala.com/wysiwyg-editor/docs/options#toolbarButtons"
  30. title="toolbarButtons">toolbarButtons</a> list. By default the fullscreen button is already in the list, but
  31. if you changed the buttons list just make sure you don't omit the fullscreen button.</p>
  32. </div>
  33. </section>
  34. <script type="text/javascript" src="../../js/froala_editor.min.js"></script>
  35. <script type="text/javascript" src="../../js/plugins/fullscreen.min.js"></script>
  36. <script>
  37. (function () {
  38. new FroalaEditor("#edit")
  39. })()
  40. </script>
  41. </body>
  42. </html>