editor.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <link rel="stylesheet" href="editor.css">
  6. <meta name="viewport" content="width=device-width,initial-scale=1">
  7. <meta name="color-scheme" content="light dark">
  8. <title>&nbsp;</title>
  9. </head>
  10. <body>
  11. <div class="toolbar">
  12. <div class="buttons">
  13. <img type="button" class="add-note-yellow-button" src="/extension/ui/resources/button_note_yellow.png"
  14. draggable="false">
  15. <img type="button" class="add-note-pink-button" src="/extension/ui/resources/button_note_pink.png"
  16. draggable="false">
  17. <img type="button" class="add-note-blue-button" src="/extension/ui/resources/button_note_blue.png"
  18. draggable="false">
  19. <img type="button" class="add-note-green-button" src="/extension/ui/resources/button_note_green.png"
  20. draggable="false">
  21. <img type="button" class="toggle-notes-button" src="/extension/ui/resources/button_note_visible.png"
  22. draggable="false">
  23. <div class="separator"></div>
  24. </div>
  25. <div class="buttons">
  26. <img type="button" class="highlight-button highlight-yellow-button highlight-disabled" data-color="yellow"
  27. src="/extension/ui/resources/button_highlighter_yellow.png" draggable="false">
  28. <img type="button" class="highlight-button highlight-pink-button highlight-disabled" data-color="pink"
  29. src="/extension/ui/resources/button_highlighter_pink.png" draggable="false">
  30. <img type="button" class="highlight-button highlight-blue-button highlight-disabled" data-color="blue"
  31. src="/extension/ui/resources/button_highlighter_blue.png" draggable="false">
  32. <img type="button" class="highlight-button highlight-green-button highlight-disabled" data-color="green"
  33. src="/extension/ui/resources/button_highlighter_green.png" draggable="false">
  34. <img type="button" class="toggle-highlights-button"
  35. src="/extension/ui/resources/button_highlighter_visible.png" draggable="false">
  36. <img type="button" class="remove-highlight-button remove-highlight-disabled"
  37. src="/extension/ui/resources/button_highlighter_delete.png" draggable="false">
  38. <div class="separator"></div>
  39. </div>
  40. <div class="buttons">
  41. <img type="button" class="edit-page-button edit-disabled" src="/extension/ui/resources/button_note_edit.png"
  42. draggable="false">
  43. <img type="button" class="format-page-button format-disabled"
  44. src="/extension/ui/resources/button_note_format.png" draggable="false">
  45. <div class="separator"></div>
  46. </div>
  47. <div class="buttons">
  48. <img type="button" class="cut-inner-page-button cut-disabled"
  49. src="/extension/ui/resources/button_cut_inner.png" draggable="false">
  50. <img type="button" class="cut-outer-page-button cut-disabled"
  51. src="/extension/ui/resources/button_cut_outer.png" draggable="false">
  52. <img type="button" class="undo-cut-page-button" src="/extension/ui/resources/button_undo_cut.png"
  53. draggable="false">
  54. <img type="button" class="undo-all-cut-page-button" src="/extension/ui/resources/button_undo_all_cut.png"
  55. draggable="false">
  56. <img type="button" class="redo-cut-page-button" src="/extension/ui/resources/button_redo_cut.png"
  57. draggable="false">
  58. <div class="separator"></div>
  59. </div>
  60. <div class="buttons">
  61. <img type="button" class="print-page-button" src="/extension/ui/resources/button_print.png"
  62. draggable="false">
  63. <img type="button" class="save-page-button" src="/extension/ui/resources/button_download.png"
  64. draggable="false">
  65. </div>
  66. </div>
  67. <iframe class="editor"
  68. srcdoc="&lt;!DOCTYPE html&gt;&lt;body&gt;&lt;script src=/dist/web/editor/editor-helper-web.js&gt;&lt;/script&gt;&lt;script src=/dist/web/editor/editor-web.js&gt;&lt;/script&gt;&lt;script src=/extension/lib/readability/Readability.js&gt;&lt;/script&gt;&lt;/script&gt;&lt;script src=/extension/lib/readability/Readability-readerable.js&gt;&lt;/script&gt;&lt;/body&gt;"
  69. sandbox="allow-scripts allow-modals"></iframe>
  70. <script src="/dist/chrome-browser-polyfill.js"></script>
  71. <script src="/dist/single-file.js"></script>
  72. <script src="/dist/infobar.js"></script>
  73. <script type="module" src="/extension/ui/bg/ui-editor.js"></script>
  74. </body>
  75. </html>