ckfinder.html 706 B

1234567891011121314151617181920212223
  1. <head>
  2. <meta http-equiv="Content-Security-Policy" content="script-src 'self' https://ckeditor.com 'unsafe-inline' 'unsafe-eval'">
  3. </head>
  4. <script src="https://ckeditor.com/apps/ckfinder/3.5.0/ckfinder.js"></script>
  5. <style>
  6. /* Override default test sidebar z-index because CKFinder's modal base z-index is 9000.
  7. */
  8. .manual-test-sidebar {
  9. z-index: 8999 !important;
  10. }
  11. </style>
  12. <div id="editor">
  13. <h2>CKFinder sample</h2>
  14. <p>Use the toolbar icon to insert an image or link to a file to the content.</p>
  15. </div>
  16. <div style="margin-top:1em;">
  17. CKFinder opener method: <span id="opener-method-label" style="font-weight:bold;">modal</span> -
  18. <button id="opener-method">Switch to popup</button>
  19. </div>