@ibiz-template-plugin/ibiz-file-previewer 0.0.23 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/dist/index.es.js +172 -118
  2. package/dist/index.legacy.js +1 -1
  3. package/dist/polyfills.legacy.js +1 -1
  4. package/dist/types/src/controller/file-preview-item/file-preview-image-controller.d.ts +1 -1
  5. package/dist/types/src/controller/file-preview-item/file-preview-image-group-controller.d.ts +9 -2
  6. package/dist/types/src/controller/file-preview-item/file-preview-item-controller.d.ts +10 -1
  7. package/dist/types/src/controller/file-preview-shell-controller.d.ts +12 -0
  8. package/dist/types/src/interface/i-file-preview-item-controller.d.ts +9 -0
  9. package/dist/types/src/interface/i-file-preview-item-events.d.ts +9 -0
  10. package/dist/types/src/interface/i-file-preview-shell-controller.d.ts +5 -0
  11. package/dist/types/src/interface/i-file-previewer-option.d.ts +7 -0
  12. package/dist/types/src/interface/index.d.ts +1 -0
  13. package/dist/types/src/util/event-emitter.d.ts +31 -0
  14. package/dist/types/src/util/index.d.ts +1 -0
  15. package/package.json +1 -1
  16. package/dist/vditor/dist/css/content-theme/ant-design.css +0 -210
  17. package/dist/vditor/dist/css/content-theme/dark.css +0 -123
  18. package/dist/vditor/dist/css/content-theme/light.css +0 -101
  19. package/dist/vditor/dist/css/content-theme/wechat.css +0 -94
  20. package/dist/vditor/dist/images/emoji/b3log.png +0 -0
  21. package/dist/vditor/dist/images/emoji/chainbook.png +0 -0
  22. package/dist/vditor/dist/images/emoji/doge.png +0 -0
  23. package/dist/vditor/dist/images/emoji/hacpai.png +0 -0
  24. package/dist/vditor/dist/images/emoji/huaji.gif +0 -0
  25. package/dist/vditor/dist/images/emoji/latke.png +0 -0
  26. package/dist/vditor/dist/images/emoji/liandi.png +0 -0
  27. package/dist/vditor/dist/images/emoji/lute.png +0 -0
  28. package/dist/vditor/dist/images/emoji/octocat.png +0 -0
  29. package/dist/vditor/dist/images/emoji/pipe.png +0 -0
  30. package/dist/vditor/dist/images/emoji/siyuan.png +0 -0
  31. package/dist/vditor/dist/images/emoji/solo.png +0 -0
  32. package/dist/vditor/dist/images/emoji/sym.png +0 -0
  33. package/dist/vditor/dist/images/emoji/trollface.png +0 -0
  34. package/dist/vditor/dist/images/emoji/vditor.png +0 -0
  35. package/dist/vditor/dist/images/emoji/wide.png +0 -0
  36. package/dist/vditor/dist/images/emoji/wulian.png +0 -0
  37. package/dist/vditor/dist/images/img-loading.svg +0 -1
  38. package/dist/vditor/dist/images/logo.png +0 -0
  39. package/dist/vditor/dist/index.css +0 -1823
  40. package/dist/vditor/dist/index.d.ts +0 -82
  41. package/dist/vditor/dist/index.js +0 -15995
  42. package/dist/vditor/dist/index.min.js +0 -1
  43. package/dist/vditor/dist/js/abcjs/abcjs_basic.min.js +0 -3
  44. package/dist/vditor/dist/js/echarts/echarts.min.js +0 -45
  45. package/dist/vditor/dist/js/flowchart.js/flowchart.min.js +0 -8
  46. package/dist/vditor/dist/js/graphviz/full.render.js +0 -90
  47. package/dist/vditor/dist/js/graphviz/viz.js +0 -333
  48. package/dist/vditor/dist/js/highlight.js/LICENSE +0 -29
  49. package/dist/vditor/dist/js/highlight.js/highlight.min.js +0 -3835
  50. package/dist/vditor/dist/js/highlight.js/styles/a11y-dark.min.css +0 -7
  51. package/dist/vditor/dist/js/highlight.js/styles/a11y-light.min.css +0 -7
  52. package/dist/vditor/dist/js/highlight.js/styles/agate.min.css +0 -20
  53. package/dist/vditor/dist/js/highlight.js/styles/an-old-hope.min.css +0 -9
  54. package/dist/vditor/dist/js/highlight.js/styles/androidstudio.min.css +0 -1
  55. package/dist/vditor/dist/js/highlight.js/styles/ant-design.min.css +0 -84
  56. package/dist/vditor/dist/js/highlight.js/styles/arduino-light.min.css +0 -1
  57. package/dist/vditor/dist/js/highlight.js/styles/arta.min.css +0 -1
  58. package/dist/vditor/dist/js/highlight.js/styles/ascetic.min.css +0 -1
  59. package/dist/vditor/dist/js/highlight.js/styles/atom-one-dark-reasonable.min.css +0 -1
  60. package/dist/vditor/dist/js/highlight.js/styles/atom-one-dark.min.css +0 -1
  61. package/dist/vditor/dist/js/highlight.js/styles/atom-one-light.min.css +0 -1
  62. package/dist/vditor/dist/js/highlight.js/styles/base16/3024.min.css +0 -7
  63. package/dist/vditor/dist/js/highlight.js/styles/base16/apathy.min.css +0 -7
  64. package/dist/vditor/dist/js/highlight.js/styles/base16/apprentice.min.css +0 -7
  65. package/dist/vditor/dist/js/highlight.js/styles/base16/ashes.min.css +0 -7
  66. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-cave-light.min.css +0 -7
  67. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-cave.min.css +0 -7
  68. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-dune-light.min.css +0 -7
  69. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-dune.min.css +0 -7
  70. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-estuary-light.min.css +0 -7
  71. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-estuary.min.css +0 -7
  72. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-forest-light.min.css +0 -7
  73. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-forest.min.css +0 -7
  74. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-heath-light.min.css +0 -7
  75. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-heath.min.css +0 -7
  76. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-lakeside-light.min.css +0 -7
  77. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-lakeside.min.css +0 -7
  78. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-plateau-light.min.css +0 -7
  79. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-plateau.min.css +0 -7
  80. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-savanna-light.min.css +0 -7
  81. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-savanna.min.css +0 -7
  82. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-seaside-light.min.css +0 -7
  83. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-seaside.min.css +0 -7
  84. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-sulphurpool-light.min.css +0 -7
  85. package/dist/vditor/dist/js/highlight.js/styles/base16/atelier-sulphurpool.min.css +0 -7
  86. package/dist/vditor/dist/js/highlight.js/styles/base16/atlas.min.css +0 -7
  87. package/dist/vditor/dist/js/highlight.js/styles/base16/bespin.min.css +0 -7
  88. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-bathory.min.css +0 -7
  89. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-burzum.min.css +0 -7
  90. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-dark-funeral.min.css +0 -7
  91. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-gorgoroth.min.css +0 -7
  92. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-immortal.min.css +0 -7
  93. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-khold.min.css +0 -7
  94. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-marduk.min.css +0 -7
  95. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-mayhem.min.css +0 -7
  96. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-nile.min.css +0 -7
  97. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal-venom.min.css +0 -7
  98. package/dist/vditor/dist/js/highlight.js/styles/base16/black-metal.min.css +0 -7
  99. package/dist/vditor/dist/js/highlight.js/styles/base16/brewer.min.css +0 -7
  100. package/dist/vditor/dist/js/highlight.js/styles/base16/bright.min.css +0 -7
  101. package/dist/vditor/dist/js/highlight.js/styles/base16/brogrammer.min.css +0 -7
  102. package/dist/vditor/dist/js/highlight.js/styles/base16/brush-trees-dark.min.css +0 -7
  103. package/dist/vditor/dist/js/highlight.js/styles/base16/brush-trees.min.css +0 -7
  104. package/dist/vditor/dist/js/highlight.js/styles/base16/chalk.min.css +0 -7
  105. package/dist/vditor/dist/js/highlight.js/styles/base16/circus.min.css +0 -7
  106. package/dist/vditor/dist/js/highlight.js/styles/base16/classic-dark.min.css +0 -7
  107. package/dist/vditor/dist/js/highlight.js/styles/base16/classic-light.min.css +0 -7
  108. package/dist/vditor/dist/js/highlight.js/styles/base16/codeschool.min.css +0 -7
  109. package/dist/vditor/dist/js/highlight.js/styles/base16/colors.min.css +0 -7
  110. package/dist/vditor/dist/js/highlight.js/styles/base16/cupcake.min.css +0 -7
  111. package/dist/vditor/dist/js/highlight.js/styles/base16/cupertino.min.css +0 -7
  112. package/dist/vditor/dist/js/highlight.js/styles/base16/danqing.min.css +0 -7
  113. package/dist/vditor/dist/js/highlight.js/styles/base16/darcula.min.css +0 -7
  114. package/dist/vditor/dist/js/highlight.js/styles/base16/dark-violet.min.css +0 -7
  115. package/dist/vditor/dist/js/highlight.js/styles/base16/darkmoss.min.css +0 -7
  116. package/dist/vditor/dist/js/highlight.js/styles/base16/darktooth.min.css +0 -7
  117. package/dist/vditor/dist/js/highlight.js/styles/base16/decaf.min.css +0 -7
  118. package/dist/vditor/dist/js/highlight.js/styles/base16/default-dark.min.css +0 -7
  119. package/dist/vditor/dist/js/highlight.js/styles/base16/default-light.min.css +0 -7
  120. package/dist/vditor/dist/js/highlight.js/styles/base16/dirtysea.min.css +0 -7
  121. package/dist/vditor/dist/js/highlight.js/styles/base16/dracula.min.css +0 -7
  122. package/dist/vditor/dist/js/highlight.js/styles/base16/edge-dark.min.css +0 -7
  123. package/dist/vditor/dist/js/highlight.js/styles/base16/edge-light.min.css +0 -7
  124. package/dist/vditor/dist/js/highlight.js/styles/base16/eighties.min.css +0 -7
  125. package/dist/vditor/dist/js/highlight.js/styles/base16/embers.min.css +0 -7
  126. package/dist/vditor/dist/js/highlight.js/styles/base16/equilibrium-dark.min.css +0 -7
  127. package/dist/vditor/dist/js/highlight.js/styles/base16/equilibrium-gray-dark.min.css +0 -7
  128. package/dist/vditor/dist/js/highlight.js/styles/base16/equilibrium-gray-light.min.css +0 -7
  129. package/dist/vditor/dist/js/highlight.js/styles/base16/equilibrium-light.min.css +0 -7
  130. package/dist/vditor/dist/js/highlight.js/styles/base16/espresso.min.css +0 -7
  131. package/dist/vditor/dist/js/highlight.js/styles/base16/eva-dim.min.css +0 -7
  132. package/dist/vditor/dist/js/highlight.js/styles/base16/eva.min.css +0 -7
  133. package/dist/vditor/dist/js/highlight.js/styles/base16/flat.min.css +0 -7
  134. package/dist/vditor/dist/js/highlight.js/styles/base16/framer.min.css +0 -7
  135. package/dist/vditor/dist/js/highlight.js/styles/base16/fruit-soda.min.css +0 -7
  136. package/dist/vditor/dist/js/highlight.js/styles/base16/gigavolt.min.css +0 -7
  137. package/dist/vditor/dist/js/highlight.js/styles/base16/github.min.css +0 -7
  138. package/dist/vditor/dist/js/highlight.js/styles/base16/google-dark.min.css +0 -7
  139. package/dist/vditor/dist/js/highlight.js/styles/base16/google-light.min.css +0 -7
  140. package/dist/vditor/dist/js/highlight.js/styles/base16/grayscale-dark.min.css +0 -7
  141. package/dist/vditor/dist/js/highlight.js/styles/base16/grayscale-light.min.css +0 -7
  142. package/dist/vditor/dist/js/highlight.js/styles/base16/green-screen.min.css +0 -7
  143. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-dark-hard.min.css +0 -7
  144. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-dark-medium.min.css +0 -7
  145. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-dark-pale.min.css +0 -7
  146. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-dark-soft.min.css +0 -7
  147. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-light-hard.min.css +0 -7
  148. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-light-medium.min.css +0 -7
  149. package/dist/vditor/dist/js/highlight.js/styles/base16/gruvbox-light-soft.min.css +0 -7
  150. package/dist/vditor/dist/js/highlight.js/styles/base16/hardcore.min.css +0 -7
  151. package/dist/vditor/dist/js/highlight.js/styles/base16/harmonic16-dark.min.css +0 -7
  152. package/dist/vditor/dist/js/highlight.js/styles/base16/harmonic16-light.min.css +0 -7
  153. package/dist/vditor/dist/js/highlight.js/styles/base16/heetch-dark.min.css +0 -7
  154. package/dist/vditor/dist/js/highlight.js/styles/base16/heetch-light.min.css +0 -7
  155. package/dist/vditor/dist/js/highlight.js/styles/base16/helios.min.css +0 -7
  156. package/dist/vditor/dist/js/highlight.js/styles/base16/hopscotch.min.css +0 -7
  157. package/dist/vditor/dist/js/highlight.js/styles/base16/horizon-dark.min.css +0 -7
  158. package/dist/vditor/dist/js/highlight.js/styles/base16/horizon-light.min.css +0 -7
  159. package/dist/vditor/dist/js/highlight.js/styles/base16/humanoid-dark.min.css +0 -7
  160. package/dist/vditor/dist/js/highlight.js/styles/base16/humanoid-light.min.css +0 -7
  161. package/dist/vditor/dist/js/highlight.js/styles/base16/ia-dark.min.css +0 -7
  162. package/dist/vditor/dist/js/highlight.js/styles/base16/ia-light.min.css +0 -7
  163. package/dist/vditor/dist/js/highlight.js/styles/base16/icy-dark.min.css +0 -7
  164. package/dist/vditor/dist/js/highlight.js/styles/base16/ir-black.min.css +0 -7
  165. package/dist/vditor/dist/js/highlight.js/styles/base16/isotope.min.css +0 -7
  166. package/dist/vditor/dist/js/highlight.js/styles/base16/kimber.min.css +0 -7
  167. package/dist/vditor/dist/js/highlight.js/styles/base16/london-tube.min.css +0 -7
  168. package/dist/vditor/dist/js/highlight.js/styles/base16/macintosh.min.css +0 -7
  169. package/dist/vditor/dist/js/highlight.js/styles/base16/marrakesh.min.css +0 -7
  170. package/dist/vditor/dist/js/highlight.js/styles/base16/materia.min.css +0 -7
  171. package/dist/vditor/dist/js/highlight.js/styles/base16/material-darker.min.css +0 -7
  172. package/dist/vditor/dist/js/highlight.js/styles/base16/material-lighter.min.css +0 -7
  173. package/dist/vditor/dist/js/highlight.js/styles/base16/material-palenight.min.css +0 -7
  174. package/dist/vditor/dist/js/highlight.js/styles/base16/material-vivid.min.css +0 -7
  175. package/dist/vditor/dist/js/highlight.js/styles/base16/material.min.css +0 -7
  176. package/dist/vditor/dist/js/highlight.js/styles/base16/mellow-purple.min.css +0 -7
  177. package/dist/vditor/dist/js/highlight.js/styles/base16/mexico-light.min.css +0 -7
  178. package/dist/vditor/dist/js/highlight.js/styles/base16/mocha.min.css +0 -7
  179. package/dist/vditor/dist/js/highlight.js/styles/base16/monokai.min.css +0 -7
  180. package/dist/vditor/dist/js/highlight.js/styles/base16/nebula.min.css +0 -7
  181. package/dist/vditor/dist/js/highlight.js/styles/base16/nord.min.css +0 -7
  182. package/dist/vditor/dist/js/highlight.js/styles/base16/nova.min.css +0 -7
  183. package/dist/vditor/dist/js/highlight.js/styles/base16/ocean.min.css +0 -7
  184. package/dist/vditor/dist/js/highlight.js/styles/base16/oceanicnext.min.css +0 -7
  185. package/dist/vditor/dist/js/highlight.js/styles/base16/one-light.min.css +0 -7
  186. package/dist/vditor/dist/js/highlight.js/styles/base16/onedark.min.css +0 -7
  187. package/dist/vditor/dist/js/highlight.js/styles/base16/outrun-dark.min.css +0 -7
  188. package/dist/vditor/dist/js/highlight.js/styles/base16/papercolor-dark.min.css +0 -7
  189. package/dist/vditor/dist/js/highlight.js/styles/base16/papercolor-light.min.css +0 -7
  190. package/dist/vditor/dist/js/highlight.js/styles/base16/paraiso.min.css +0 -7
  191. package/dist/vditor/dist/js/highlight.js/styles/base16/pasque.min.css +0 -7
  192. package/dist/vditor/dist/js/highlight.js/styles/base16/phd.min.css +0 -7
  193. package/dist/vditor/dist/js/highlight.js/styles/base16/pico.min.css +0 -7
  194. package/dist/vditor/dist/js/highlight.js/styles/base16/pop.min.css +0 -7
  195. package/dist/vditor/dist/js/highlight.js/styles/base16/porple.min.css +0 -7
  196. package/dist/vditor/dist/js/highlight.js/styles/base16/qualia.min.css +0 -7
  197. package/dist/vditor/dist/js/highlight.js/styles/base16/railscasts.min.css +0 -7
  198. package/dist/vditor/dist/js/highlight.js/styles/base16/rebecca.min.css +0 -7
  199. package/dist/vditor/dist/js/highlight.js/styles/base16/ros-pine-dawn.min.css +0 -7
  200. package/dist/vditor/dist/js/highlight.js/styles/base16/ros-pine-moon.min.css +0 -7
  201. package/dist/vditor/dist/js/highlight.js/styles/base16/ros-pine.min.css +0 -7
  202. package/dist/vditor/dist/js/highlight.js/styles/base16/sagelight.min.css +0 -7
  203. package/dist/vditor/dist/js/highlight.js/styles/base16/sandcastle.min.css +0 -7
  204. package/dist/vditor/dist/js/highlight.js/styles/base16/seti-ui.min.css +0 -7
  205. package/dist/vditor/dist/js/highlight.js/styles/base16/shapeshifter.min.css +0 -7
  206. package/dist/vditor/dist/js/highlight.js/styles/base16/silk-dark.min.css +0 -7
  207. package/dist/vditor/dist/js/highlight.js/styles/base16/silk-light.min.css +0 -7
  208. package/dist/vditor/dist/js/highlight.js/styles/base16/snazzy.min.css +0 -7
  209. package/dist/vditor/dist/js/highlight.js/styles/base16/solar-flare-light.min.css +0 -7
  210. package/dist/vditor/dist/js/highlight.js/styles/base16/solar-flare.min.css +0 -7
  211. package/dist/vditor/dist/js/highlight.js/styles/base16/solarized-dark.min.css +0 -7
  212. package/dist/vditor/dist/js/highlight.js/styles/base16/solarized-light.min.css +0 -7
  213. package/dist/vditor/dist/js/highlight.js/styles/base16/spacemacs.min.css +0 -7
  214. package/dist/vditor/dist/js/highlight.js/styles/base16/summercamp.min.css +0 -7
  215. package/dist/vditor/dist/js/highlight.js/styles/base16/summerfruit-dark.min.css +0 -7
  216. package/dist/vditor/dist/js/highlight.js/styles/base16/summerfruit-light.min.css +0 -7
  217. package/dist/vditor/dist/js/highlight.js/styles/base16/synth-midnight-terminal-dark.min.css +0 -7
  218. package/dist/vditor/dist/js/highlight.js/styles/base16/synth-midnight-terminal-light.min.css +0 -7
  219. package/dist/vditor/dist/js/highlight.js/styles/base16/tango.min.css +0 -7
  220. package/dist/vditor/dist/js/highlight.js/styles/base16/tender.min.css +0 -7
  221. package/dist/vditor/dist/js/highlight.js/styles/base16/tomorrow-night.min.css +0 -7
  222. package/dist/vditor/dist/js/highlight.js/styles/base16/tomorrow.min.css +0 -7
  223. package/dist/vditor/dist/js/highlight.js/styles/base16/twilight.min.css +0 -7
  224. package/dist/vditor/dist/js/highlight.js/styles/base16/unikitty-dark.min.css +0 -7
  225. package/dist/vditor/dist/js/highlight.js/styles/base16/unikitty-light.min.css +0 -7
  226. package/dist/vditor/dist/js/highlight.js/styles/base16/vulcan.min.css +0 -7
  227. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-10-light.min.css +0 -7
  228. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-10.min.css +0 -7
  229. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-95-light.min.css +0 -7
  230. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-95.min.css +0 -7
  231. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-high-contrast-light.min.css +0 -7
  232. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-high-contrast.min.css +0 -7
  233. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-nt-light.min.css +0 -7
  234. package/dist/vditor/dist/js/highlight.js/styles/base16/windows-nt.min.css +0 -7
  235. package/dist/vditor/dist/js/highlight.js/styles/base16/woodland.min.css +0 -7
  236. package/dist/vditor/dist/js/highlight.js/styles/base16/xcode-dusk.min.css +0 -7
  237. package/dist/vditor/dist/js/highlight.js/styles/base16/zenburn.min.css +0 -7
  238. package/dist/vditor/dist/js/highlight.js/styles/brown-paper.min.css +0 -1
  239. package/dist/vditor/dist/js/highlight.js/styles/brown-papersq.png +0 -0
  240. package/dist/vditor/dist/js/highlight.js/styles/codepen-embed.min.css +0 -1
  241. package/dist/vditor/dist/js/highlight.js/styles/color-brewer.min.css +0 -1
  242. package/dist/vditor/dist/js/highlight.js/styles/dark.min.css +0 -1
  243. package/dist/vditor/dist/js/highlight.js/styles/default.min.css +0 -9
  244. package/dist/vditor/dist/js/highlight.js/styles/devibeans.min.css +0 -7
  245. package/dist/vditor/dist/js/highlight.js/styles/docco.min.css +0 -1
  246. package/dist/vditor/dist/js/highlight.js/styles/far.min.css +0 -1
  247. package/dist/vditor/dist/js/highlight.js/styles/felipec.min.css +0 -7
  248. package/dist/vditor/dist/js/highlight.js/styles/foundation.min.css +0 -1
  249. package/dist/vditor/dist/js/highlight.js/styles/github-dark-dimmed.min.css +0 -9
  250. package/dist/vditor/dist/js/highlight.js/styles/github-dark.min.css +0 -10
  251. package/dist/vditor/dist/js/highlight.js/styles/github.min.css +0 -10
  252. package/dist/vditor/dist/js/highlight.js/styles/gml.min.css +0 -1
  253. package/dist/vditor/dist/js/highlight.js/styles/googlecode.min.css +0 -1
  254. package/dist/vditor/dist/js/highlight.js/styles/gradient-dark.min.css +0 -1
  255. package/dist/vditor/dist/js/highlight.js/styles/gradient-light.min.css +0 -1
  256. package/dist/vditor/dist/js/highlight.js/styles/grayscale.min.css +0 -1
  257. package/dist/vditor/dist/js/highlight.js/styles/hybrid.min.css +0 -1
  258. package/dist/vditor/dist/js/highlight.js/styles/idea.min.css +0 -1
  259. package/dist/vditor/dist/js/highlight.js/styles/intellij-light.min.css +0 -1
  260. package/dist/vditor/dist/js/highlight.js/styles/ir-black.min.css +0 -1
  261. package/dist/vditor/dist/js/highlight.js/styles/isbl-editor-dark.min.css +0 -1
  262. package/dist/vditor/dist/js/highlight.js/styles/isbl-editor-light.min.css +0 -1
  263. package/dist/vditor/dist/js/highlight.js/styles/kimbie-dark.min.css +0 -1
  264. package/dist/vditor/dist/js/highlight.js/styles/kimbie-light.min.css +0 -1
  265. package/dist/vditor/dist/js/highlight.js/styles/lightfair.min.css +0 -1
  266. package/dist/vditor/dist/js/highlight.js/styles/lioshi.min.css +0 -1
  267. package/dist/vditor/dist/js/highlight.js/styles/magula.min.css +0 -1
  268. package/dist/vditor/dist/js/highlight.js/styles/mono-blue.min.css +0 -1
  269. package/dist/vditor/dist/js/highlight.js/styles/monokai-sublime.min.css +0 -1
  270. package/dist/vditor/dist/js/highlight.js/styles/monokai.min.css +0 -1
  271. package/dist/vditor/dist/js/highlight.js/styles/night-owl.min.css +0 -1
  272. package/dist/vditor/dist/js/highlight.js/styles/nnfx-dark.min.css +0 -10
  273. package/dist/vditor/dist/js/highlight.js/styles/nnfx-light.min.css +0 -10
  274. package/dist/vditor/dist/js/highlight.js/styles/nord.min.css +0 -1
  275. package/dist/vditor/dist/js/highlight.js/styles/obsidian.min.css +0 -1
  276. package/dist/vditor/dist/js/highlight.js/styles/panda-syntax-dark.min.css +0 -1
  277. package/dist/vditor/dist/js/highlight.js/styles/panda-syntax-light.min.css +0 -1
  278. package/dist/vditor/dist/js/highlight.js/styles/paraiso-dark.min.css +0 -1
  279. package/dist/vditor/dist/js/highlight.js/styles/paraiso-light.min.css +0 -1
  280. package/dist/vditor/dist/js/highlight.js/styles/pojoaque.jpg +0 -0
  281. package/dist/vditor/dist/js/highlight.js/styles/pojoaque.min.css +0 -1
  282. package/dist/vditor/dist/js/highlight.js/styles/purebasic.min.css +0 -1
  283. package/dist/vditor/dist/js/highlight.js/styles/qtcreator-dark.min.css +0 -1
  284. package/dist/vditor/dist/js/highlight.js/styles/qtcreator-light.min.css +0 -1
  285. package/dist/vditor/dist/js/highlight.js/styles/rainbow.min.css +0 -1
  286. package/dist/vditor/dist/js/highlight.js/styles/routeros.min.css +0 -1
  287. package/dist/vditor/dist/js/highlight.js/styles/school-book.min.css +0 -1
  288. package/dist/vditor/dist/js/highlight.js/styles/shades-of-purple.min.css +0 -1
  289. package/dist/vditor/dist/js/highlight.js/styles/srcery.min.css +0 -1
  290. package/dist/vditor/dist/js/highlight.js/styles/stackoverflow-dark.min.css +0 -13
  291. package/dist/vditor/dist/js/highlight.js/styles/stackoverflow-light.min.css +0 -13
  292. package/dist/vditor/dist/js/highlight.js/styles/sunburst.min.css +0 -1
  293. package/dist/vditor/dist/js/highlight.js/styles/tokyo-night-dark.min.css +0 -8
  294. package/dist/vditor/dist/js/highlight.js/styles/tokyo-night-light.min.css +0 -8
  295. package/dist/vditor/dist/js/highlight.js/styles/tomorrow-night-blue.min.css +0 -1
  296. package/dist/vditor/dist/js/highlight.js/styles/tomorrow-night-bright.min.css +0 -1
  297. package/dist/vditor/dist/js/highlight.js/styles/vs.min.css +0 -1
  298. package/dist/vditor/dist/js/highlight.js/styles/vs2015.min.css +0 -1
  299. package/dist/vditor/dist/js/highlight.js/styles/xcode.min.css +0 -1
  300. package/dist/vditor/dist/js/highlight.js/styles/xt256.min.css +0 -1
  301. package/dist/vditor/dist/js/highlight.js/third-languages.js +0 -135
  302. package/dist/vditor/dist/js/i18n/de_DE.js +0 -86
  303. package/dist/vditor/dist/js/i18n/en_US.js +0 -86
  304. package/dist/vditor/dist/js/i18n/es_ES.js +0 -86
  305. package/dist/vditor/dist/js/i18n/fr_FR.js +0 -86
  306. package/dist/vditor/dist/js/i18n/ja_JP.js +0 -86
  307. package/dist/vditor/dist/js/i18n/ko_KR.js +0 -86
  308. package/dist/vditor/dist/js/i18n/pt_BR.js +0 -86
  309. package/dist/vditor/dist/js/i18n/ru_RU.js +0 -86
  310. package/dist/vditor/dist/js/i18n/sv_SE.js +0 -86
  311. package/dist/vditor/dist/js/i18n/vi_VN.js +0 -86
  312. package/dist/vditor/dist/js/i18n/zh_CN.js +0 -86
  313. package/dist/vditor/dist/js/i18n/zh_TW.js +0 -86
  314. package/dist/vditor/dist/js/icons/ant.js +0 -174
  315. package/dist/vditor/dist/js/icons/material.js +0 -195
  316. package/dist/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
  317. package/dist/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
  318. package/dist/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  319. package/dist/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  320. package/dist/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  321. package/dist/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  322. package/dist/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  323. package/dist/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  324. package/dist/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  325. package/dist/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  326. package/dist/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  327. package/dist/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  328. package/dist/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  329. package/dist/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  330. package/dist/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  331. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
  332. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff +0 -0
  333. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
  334. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  335. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  336. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  337. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
  338. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff +0 -0
  339. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
  340. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
  341. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff +0 -0
  342. package/dist/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
  343. package/dist/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  344. package/dist/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  345. package/dist/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  346. package/dist/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
  347. package/dist/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff +0 -0
  348. package/dist/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
  349. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  350. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  351. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  352. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  353. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  354. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  355. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  356. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  357. package/dist/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  358. package/dist/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
  359. package/dist/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff +0 -0
  360. package/dist/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
  361. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
  362. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
  363. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  364. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
  365. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
  366. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  367. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
  368. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
  369. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  370. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
  371. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
  372. package/dist/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  373. package/dist/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  374. package/dist/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  375. package/dist/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  376. package/dist/vditor/dist/js/katex/katex.min.css +0 -1
  377. package/dist/vditor/dist/js/katex/katex.min.js +0 -1
  378. package/dist/vditor/dist/js/katex/mhchem.min.js +0 -1
  379. package/dist/vditor/dist/js/lute/lute.min.js +0 -72
  380. package/dist/vditor/dist/js/markmap/katex.min.css +0 -1
  381. package/dist/vditor/dist/js/markmap/markmap.min.js +0 -8251
  382. package/dist/vditor/dist/js/markmap/prism.css +0 -140
  383. package/dist/vditor/dist/js/mathjax/LICENSE +0 -202
  384. package/dist/vditor/dist/js/mathjax/a11y/assistive-mml.js +0 -1
  385. package/dist/vditor/dist/js/mathjax/a11y/complexity.js +0 -1
  386. package/dist/vditor/dist/js/mathjax/a11y/explorer.js +0 -1
  387. package/dist/vditor/dist/js/mathjax/a11y/semantic-enrich.js +0 -1
  388. package/dist/vditor/dist/js/mathjax/input/asciimath.js +0 -1
  389. package/dist/vditor/dist/js/mathjax/input/mml/entities.js +0 -1
  390. package/dist/vditor/dist/js/mathjax/input/mml.js +0 -1
  391. package/dist/vditor/dist/js/mathjax/input/tex/extensions/action.js +0 -1
  392. package/dist/vditor/dist/js/mathjax/input/tex/extensions/all-packages.js +0 -1
  393. package/dist/vditor/dist/js/mathjax/input/tex/extensions/ams.js +0 -1
  394. package/dist/vditor/dist/js/mathjax/input/tex/extensions/amscd.js +0 -1
  395. package/dist/vditor/dist/js/mathjax/input/tex/extensions/autoload.js +0 -1
  396. package/dist/vditor/dist/js/mathjax/input/tex/extensions/bbox.js +0 -1
  397. package/dist/vditor/dist/js/mathjax/input/tex/extensions/boldsymbol.js +0 -1
  398. package/dist/vditor/dist/js/mathjax/input/tex/extensions/braket.js +0 -1
  399. package/dist/vditor/dist/js/mathjax/input/tex/extensions/bussproofs.js +0 -1
  400. package/dist/vditor/dist/js/mathjax/input/tex/extensions/cancel.js +0 -1
  401. package/dist/vditor/dist/js/mathjax/input/tex/extensions/color.js +0 -1
  402. package/dist/vditor/dist/js/mathjax/input/tex/extensions/colorV2.js +0 -1
  403. package/dist/vditor/dist/js/mathjax/input/tex/extensions/configMacros.js +0 -1
  404. package/dist/vditor/dist/js/mathjax/input/tex/extensions/enclose.js +0 -1
  405. package/dist/vditor/dist/js/mathjax/input/tex/extensions/extpfeil.js +0 -1
  406. package/dist/vditor/dist/js/mathjax/input/tex/extensions/html.js +0 -1
  407. package/dist/vditor/dist/js/mathjax/input/tex/extensions/mhchem.js +0 -1
  408. package/dist/vditor/dist/js/mathjax/input/tex/extensions/newcommand.js +0 -1
  409. package/dist/vditor/dist/js/mathjax/input/tex/extensions/noerrors.js +0 -1
  410. package/dist/vditor/dist/js/mathjax/input/tex/extensions/noundefined.js +0 -1
  411. package/dist/vditor/dist/js/mathjax/input/tex/extensions/physics.js +0 -1
  412. package/dist/vditor/dist/js/mathjax/input/tex/extensions/require.js +0 -1
  413. package/dist/vditor/dist/js/mathjax/input/tex/extensions/tagFormat.js +0 -1
  414. package/dist/vditor/dist/js/mathjax/input/tex/extensions/textmacros.js +0 -1
  415. package/dist/vditor/dist/js/mathjax/input/tex/extensions/unicode.js +0 -1
  416. package/dist/vditor/dist/js/mathjax/input/tex/extensions/verb.js +0 -1
  417. package/dist/vditor/dist/js/mathjax/input/tex-base.js +0 -1
  418. package/dist/vditor/dist/js/mathjax/input/tex-full.js +0 -1
  419. package/dist/vditor/dist/js/mathjax/input/tex.js +0 -1
  420. package/dist/vditor/dist/js/mathjax/sre/mathmaps/de.js +0 -104
  421. package/dist/vditor/dist/js/mathjax/sre/mathmaps/en.js +0 -110
  422. package/dist/vditor/dist/js/mathjax/sre/mathmaps/es.js +0 -104
  423. package/dist/vditor/dist/js/mathjax/sre/mathmaps/fr.js +0 -104
  424. package/dist/vditor/dist/js/mathjax/sre/mathmaps/mathmaps_ie.js +0 -518
  425. package/dist/vditor/dist/js/mathjax/sre/mathmaps/nemeth.js +0 -104
  426. package/dist/vditor/dist/js/mathjax/sre/sre-node.js +0 -11
  427. package/dist/vditor/dist/js/mathjax/sre/sre_browser.js +0 -1633
  428. package/dist/vditor/dist/js/mathjax/tex-svg-full.js +0 -1
  429. package/dist/vditor/dist/js/mermaid/mermaid.min.js +0 -2607
  430. package/dist/vditor/dist/js/plantuml/plantuml-encoder.min.js +0 -1
  431. package/dist/vditor/dist/js/smiles-drawer/smiles-drawer.min.js +0 -71
  432. package/dist/vditor/dist/method.d.ts +0 -51
  433. package/dist/vditor/dist/method.js +0 -2673
  434. package/dist/vditor/dist/method.min.js +0 -1
  435. package/dist/vditor/dist/ts/constants.d.ts +0 -45
  436. package/dist/vditor/dist/ts/devtools/index.d.ts +0 -7
  437. package/dist/vditor/dist/ts/export/index.d.ts +0 -4
  438. package/dist/vditor/dist/ts/hint/index.d.ts +0 -14
  439. package/dist/vditor/dist/ts/ir/expandMarker.d.ts +0 -1
  440. package/dist/vditor/dist/ts/ir/highlightToolbarIR.d.ts +0 -1
  441. package/dist/vditor/dist/ts/ir/index.d.ts +0 -13
  442. package/dist/vditor/dist/ts/ir/input.d.ts +0 -1
  443. package/dist/vditor/dist/ts/ir/process.d.ts +0 -8
  444. package/dist/vditor/dist/ts/ir/processKeydown.d.ts +0 -1
  445. package/dist/vditor/dist/ts/markdown/SMILESRender.d.ts +0 -1
  446. package/dist/vditor/dist/ts/markdown/abcRender.d.ts +0 -1
  447. package/dist/vditor/dist/ts/markdown/adapterRender.d.ts +0 -41
  448. package/dist/vditor/dist/ts/markdown/anchorRender.d.ts +0 -1
  449. package/dist/vditor/dist/ts/markdown/chartRender.d.ts +0 -1
  450. package/dist/vditor/dist/ts/markdown/codeRender.d.ts +0 -1
  451. package/dist/vditor/dist/ts/markdown/flowchartRender.d.ts +0 -1
  452. package/dist/vditor/dist/ts/markdown/getHTML.d.ts +0 -1
  453. package/dist/vditor/dist/ts/markdown/getMarkdown.d.ts +0 -1
  454. package/dist/vditor/dist/ts/markdown/graphvizRender.d.ts +0 -1
  455. package/dist/vditor/dist/ts/markdown/highlightRender.d.ts +0 -1
  456. package/dist/vditor/dist/ts/markdown/lazyLoadImageRender.d.ts +0 -6
  457. package/dist/vditor/dist/ts/markdown/markmapRender.d.ts +0 -1
  458. package/dist/vditor/dist/ts/markdown/mathRender.d.ts +0 -9
  459. package/dist/vditor/dist/ts/markdown/mediaRender.d.ts +0 -1
  460. package/dist/vditor/dist/ts/markdown/mermaidRender.d.ts +0 -1
  461. package/dist/vditor/dist/ts/markdown/mindmapRender.d.ts +0 -1
  462. package/dist/vditor/dist/ts/markdown/outlineRender.d.ts +0 -1
  463. package/dist/vditor/dist/ts/markdown/plantumlRender.d.ts +0 -1
  464. package/dist/vditor/dist/ts/markdown/previewRender.d.ts +0 -2
  465. package/dist/vditor/dist/ts/markdown/setLute.d.ts +0 -1
  466. package/dist/vditor/dist/ts/markdown/speechRender.d.ts +0 -6
  467. package/dist/vditor/dist/ts/outline/index.d.ts +0 -7
  468. package/dist/vditor/dist/ts/preview/image.d.ts +0 -1
  469. package/dist/vditor/dist/ts/preview/index.d.ts +0 -10
  470. package/dist/vditor/dist/ts/resize/index.d.ts +0 -6
  471. package/dist/vditor/dist/ts/sv/combineFootnote.d.ts +0 -6
  472. package/dist/vditor/dist/ts/sv/index.d.ts +0 -13
  473. package/dist/vditor/dist/ts/sv/inputEvent.d.ts +0 -1
  474. package/dist/vditor/dist/ts/sv/process.d.ts +0 -11
  475. package/dist/vditor/dist/ts/sv/processKeydown.d.ts +0 -1
  476. package/dist/vditor/dist/ts/tip/index.d.ts +0 -6
  477. package/dist/vditor/dist/ts/toolbar/Both.d.ts +0 -5
  478. package/dist/vditor/dist/ts/toolbar/Br.d.ts +0 -4
  479. package/dist/vditor/dist/ts/toolbar/CodeTheme.d.ts +0 -6
  480. package/dist/vditor/dist/ts/toolbar/ContentTheme.d.ts +0 -6
  481. package/dist/vditor/dist/ts/toolbar/Counter.d.ts +0 -6
  482. package/dist/vditor/dist/ts/toolbar/Custom.d.ts +0 -5
  483. package/dist/vditor/dist/ts/toolbar/Devtools.d.ts +0 -5
  484. package/dist/vditor/dist/ts/toolbar/Divider.d.ts +0 -4
  485. package/dist/vditor/dist/ts/toolbar/EditMode.d.ts +0 -8
  486. package/dist/vditor/dist/ts/toolbar/Emoji.d.ts +0 -7
  487. package/dist/vditor/dist/ts/toolbar/Export.d.ts +0 -6
  488. package/dist/vditor/dist/ts/toolbar/Fullscreen.d.ts +0 -6
  489. package/dist/vditor/dist/ts/toolbar/Headings.d.ts +0 -7
  490. package/dist/vditor/dist/ts/toolbar/Help.d.ts +0 -5
  491. package/dist/vditor/dist/ts/toolbar/Indent.d.ts +0 -5
  492. package/dist/vditor/dist/ts/toolbar/Info.d.ts +0 -5
  493. package/dist/vditor/dist/ts/toolbar/InsertAfter.d.ts +0 -5
  494. package/dist/vditor/dist/ts/toolbar/InsertBefore.d.ts +0 -5
  495. package/dist/vditor/dist/ts/toolbar/MenuItem.d.ts +0 -5
  496. package/dist/vditor/dist/ts/toolbar/Outdent.d.ts +0 -5
  497. package/dist/vditor/dist/ts/toolbar/Outline.d.ts +0 -5
  498. package/dist/vditor/dist/ts/toolbar/Preview.d.ts +0 -6
  499. package/dist/vditor/dist/ts/toolbar/Record.d.ts +0 -6
  500. package/dist/vditor/dist/ts/toolbar/Redo.d.ts +0 -5
  501. package/dist/vditor/dist/ts/toolbar/Undo.d.ts +0 -5
  502. package/dist/vditor/dist/ts/toolbar/Upload.d.ts +0 -6
  503. package/dist/vditor/dist/ts/toolbar/index.d.ts +0 -10
  504. package/dist/vditor/dist/ts/toolbar/setToolbar.d.ts +0 -20
  505. package/dist/vditor/dist/ts/ui/initUI.d.ts +0 -4
  506. package/dist/vditor/dist/ts/ui/setCodeTheme.d.ts +0 -1
  507. package/dist/vditor/dist/ts/ui/setContentTheme.d.ts +0 -1
  508. package/dist/vditor/dist/ts/ui/setPreviewMode.d.ts +0 -1
  509. package/dist/vditor/dist/ts/ui/setTheme.d.ts +0 -1
  510. package/dist/vditor/dist/ts/undo/index.d.ts +0 -19
  511. package/dist/vditor/dist/ts/upload/getElement.d.ts +0 -1
  512. package/dist/vditor/dist/ts/upload/index.d.ts +0 -8
  513. package/dist/vditor/dist/ts/upload/setHeaders.d.ts +0 -1
  514. package/dist/vditor/dist/ts/util/Options.d.ts +0 -8
  515. package/dist/vditor/dist/ts/util/RecordMedia.d.ts +0 -18
  516. package/dist/vditor/dist/ts/util/addScript.d.ts +0 -2
  517. package/dist/vditor/dist/ts/util/addStyle.d.ts +0 -1
  518. package/dist/vditor/dist/ts/util/code160to32.d.ts +0 -1
  519. package/dist/vditor/dist/ts/util/compatibility.d.ts +0 -7
  520. package/dist/vditor/dist/ts/util/editorCommonEvent.d.ts +0 -9
  521. package/dist/vditor/dist/ts/util/fixBrowserBehavior.d.ts +0 -39
  522. package/dist/vditor/dist/ts/util/function.d.ts +0 -3
  523. package/dist/vditor/dist/ts/util/getSelectText.d.ts +0 -1
  524. package/dist/vditor/dist/ts/util/hasClosest.d.ts +0 -9
  525. package/dist/vditor/dist/ts/util/hasClosestByHeadings.d.ts +0 -2
  526. package/dist/vditor/dist/ts/util/highlightToolbar.d.ts +0 -1
  527. package/dist/vditor/dist/ts/util/hotKey.d.ts +0 -1
  528. package/dist/vditor/dist/ts/util/log.d.ts +0 -1
  529. package/dist/vditor/dist/ts/util/merge.d.ts +0 -1
  530. package/dist/vditor/dist/ts/util/processCode.d.ts +0 -2
  531. package/dist/vditor/dist/ts/util/selection.d.ts +0 -14
  532. package/dist/vditor/dist/ts/util/toc.d.ts +0 -5
  533. package/dist/vditor/dist/ts/wysiwyg/afterRenderEvent.d.ts +0 -5
  534. package/dist/vditor/dist/ts/wysiwyg/highlightToolbarWYSIWYG.d.ts +0 -4
  535. package/dist/vditor/dist/ts/wysiwyg/index.d.ts +0 -22
  536. package/dist/vditor/dist/ts/wysiwyg/inlineTag.d.ts +0 -10
  537. package/dist/vditor/dist/ts/wysiwyg/input.d.ts +0 -1
  538. package/dist/vditor/dist/ts/wysiwyg/processKeydown.d.ts +0 -2
  539. package/dist/vditor/dist/ts/wysiwyg/renderDomByMd.d.ts +0 -5
  540. package/dist/vditor/dist/ts/wysiwyg/setHeading.d.ts +0 -2
  541. package/dist/vditor/dist/ts/wysiwyg/showCode.d.ts +0 -1
  542. package/dist/vditor/dist/ts/wysiwyg/toolbarEvent.d.ts +0 -1
  543. package/dist/vditor/dist/types/index.d.ts +0 -921
@@ -1,1823 +0,0 @@
1
- /*!
2
- * Vditor v3.11.2 - A markdown editor written in TypeScript.
3
- *
4
- * MIT License
5
- *
6
- * Copyright (c) 2018-present B3log 开源, b3log.org
7
- *
8
- * Permission is hereby granted, free of charge, to any person obtaining a copy
9
- * of this software and associated documentation files (the "Software"), to deal
10
- * in the Software without restriction, including without limitation the rights
11
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
- * copies of the Software, and to permit persons to whom the Software is
13
- * furnished to do so, subject to the following conditions:
14
- *
15
- * The above copyright notice and this permission notice shall be included in all
16
- * copies or substantial portions of the Software.
17
- *
18
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
- * SOFTWARE.
25
- *
26
- */
27
- /*!
28
- * Vditor v3.11.2 - A markdown editor written in TypeScript.
29
- *
30
- * MIT License
31
- *
32
- * Copyright (c) 2018-present B3log 开源, b3log.org
33
- *
34
- * Permission is hereby granted, free of charge, to any person obtaining a copy
35
- * of this software and associated documentation files (the "Software"), to deal
36
- * in the Software without restriction, including without limitation the rights
37
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38
- * copies of the Software, and to permit persons to whom the Software is
39
- * furnished to do so, subject to the following conditions:
40
- *
41
- * The above copyright notice and this permission notice shall be included in all
42
- * copies or substantial portions of the Software.
43
- *
44
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
50
- * SOFTWARE.
51
- *
52
- */
53
- .vditor {
54
- --border-color: #d1d5da;
55
- --second-color: rgba(88, 96, 105, 0.36);
56
- --panel-background-color: #fff;
57
- --panel-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
58
- --toolbar-background-color: #f6f8fa;
59
- --toolbar-icon-color: #586069;
60
- --toolbar-icon-hover-color: #4285f4;
61
- --toolbar-height: 35px;
62
- --toolbar-divider-margin-top: 8px;
63
- --textarea-background-color: #fafbfc;
64
- --textarea-text-color: #24292e;
65
- --resize-icon-color: var(--toolbar-icon-color);
66
- --resize-background-color: var(--toolbar-background-color);
67
- --resize-hover-icon-color: var(--panel-background-color);
68
- --resize-hover-background-color: var(--toolbar-icon-hover-color);
69
- --count-background-color: rgba(27, 31, 35, 0.05);
70
- --heading-border-color: #eaecef;
71
- --blockquote-color: #6a737d;
72
- --ir-heading-color: #660e7a;
73
- --ir-title-color: #808080;
74
- --ir-bi-color: #0033b3;
75
- --ir-link-color: #008000;
76
- --ir-bracket-color: #0000ff;
77
- --ir-paren-color: #008000;
78
- }
79
- .vditor--dark {
80
- --border-color: #141414;
81
- --second-color: rgba(185, 185, 185, 0.36);
82
- --panel-background-color: #24292e;
83
- --panel-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
84
- --toolbar-background-color: #1d2125;
85
- --toolbar-icon-color: #b9b9b9;
86
- --toolbar-icon-hover-color: #fff;
87
- --textarea-background-color: #2f363d;
88
- --textarea-text-color: #d1d5da;
89
- --resize-icon-color: var(--border-color);
90
- --resize-background-color: var(--second-color);
91
- --resize-hover-icon-color: var(--toolbar-icon-hover-color);
92
- --resize-hover-background-color: rgba(185, 185, 185, 0.86);
93
- --count-background-color: rgba(66, 133, 244, 0.36);
94
- --heading-border-color: var(--textarea-text-color);
95
- --blockquote-color: var(--toolbar-icon-color);
96
- --ir-heading-color: #9876aa;
97
- --ir-title-color: #808080;
98
- --ir-bi-color: #cc7832;
99
- --ir-link-color: #ffc66d;
100
- --ir-bracket-color: #287bde;
101
- --ir-paren-color: #6a8759;
102
- }
103
- /**
104
- * tool tip.
105
- *
106
- * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
107
- * @version 0.1.0.0, Jan 25, 2019
108
- */
109
- @keyframes tooltip-appear {
110
- from {
111
- opacity: 0;
112
- }
113
- to {
114
- opacity: 1;
115
- }
116
- }
117
- .vditor-tooltipped {
118
- position: relative;
119
- cursor: pointer;
120
- }
121
- .vditor-tooltipped::after {
122
- position: absolute;
123
- z-index: 1000000;
124
- display: none;
125
- padding: 5px 8px;
126
- font-size: 11px;
127
- font-weight: normal;
128
- -webkit-font-smoothing: subpixel-antialiased;
129
- color: #fff;
130
- text-align: center;
131
- text-decoration: none;
132
- text-shadow: none;
133
- text-transform: none;
134
- letter-spacing: normal;
135
- word-wrap: break-word;
136
- white-space: pre;
137
- pointer-events: none;
138
- content: attr(aria-label);
139
- background: #3b3e43;
140
- border-radius: 3px;
141
- line-height: 16px;
142
- opacity: 0;
143
- }
144
- .vditor-tooltipped::before {
145
- position: absolute;
146
- z-index: 1000001;
147
- display: none;
148
- width: 0;
149
- height: 0;
150
- color: #3b3e43;
151
- pointer-events: none;
152
- content: "";
153
- border: 5px solid transparent;
154
- opacity: 0;
155
- }
156
- .vditor-tooltipped--hover::before,
157
- .vditor-tooltipped--hover::after,
158
- .vditor-tooltipped:hover::before,
159
- .vditor-tooltipped:hover::after,
160
- .vditor-tooltipped:active::before,
161
- .vditor-tooltipped:active::after,
162
- .vditor-tooltipped:focus::before,
163
- .vditor-tooltipped:focus::after {
164
- display: inline-block;
165
- text-decoration: none;
166
- animation-name: tooltip-appear;
167
- animation-duration: 0.15s;
168
- animation-fill-mode: forwards;
169
- animation-timing-function: ease-in;
170
- }
171
- .vditor-tooltipped__s::after,
172
- .vditor-tooltipped__se::after,
173
- .vditor-tooltipped__sw::after {
174
- top: 100%;
175
- right: 50%;
176
- margin-top: 5px;
177
- }
178
- .vditor-tooltipped__s::before,
179
- .vditor-tooltipped__se::before,
180
- .vditor-tooltipped__sw::before {
181
- top: auto;
182
- right: 50%;
183
- bottom: -5px;
184
- margin-right: -5px;
185
- border-bottom-color: #3b3e43;
186
- }
187
- .vditor-tooltipped__se::after {
188
- right: auto;
189
- left: 50%;
190
- margin-left: -15px;
191
- }
192
- .vditor-tooltipped__sw::after {
193
- margin-right: -15px;
194
- }
195
- .vditor-tooltipped__n::after,
196
- .vditor-tooltipped__ne::after,
197
- .vditor-tooltipped__nw::after {
198
- right: 50%;
199
- bottom: 100%;
200
- margin-bottom: 5px;
201
- }
202
- .vditor-tooltipped__n::before,
203
- .vditor-tooltipped__ne::before,
204
- .vditor-tooltipped__nw::before {
205
- top: -5px;
206
- right: 50%;
207
- bottom: auto;
208
- margin-right: -5px;
209
- border-top-color: #3b3e43;
210
- }
211
- .vditor-tooltipped__ne::after {
212
- right: auto;
213
- left: 50%;
214
- margin-left: -15px;
215
- }
216
- .vditor-tooltipped__nw::after {
217
- margin-right: -15px;
218
- }
219
- .vditor-tooltipped__s::after,
220
- .vditor-tooltipped__n::after {
221
- transform: translateX(50%);
222
- }
223
- .vditor-tooltipped__w::after {
224
- right: 100%;
225
- bottom: 50%;
226
- margin-right: 5px;
227
- transform: translateY(50%);
228
- }
229
- .vditor-tooltipped__w::before {
230
- top: 50%;
231
- bottom: 50%;
232
- left: -5px;
233
- margin-top: -5px;
234
- border-left-color: #3b3e43;
235
- }
236
- .vditor-tooltipped__e::after {
237
- bottom: 50%;
238
- left: 100%;
239
- margin-left: 5px;
240
- transform: translateY(50%);
241
- }
242
- .vditor-tooltipped__e::before {
243
- top: 50%;
244
- right: -5px;
245
- bottom: 50%;
246
- margin-top: -5px;
247
- border-right-color: #3b3e43;
248
- }
249
- @media screen and (max-width: 520px) {
250
- .vditor-tooltipped:before,
251
- .vditor-tooltipped:after {
252
- content: none;
253
- }
254
- }
255
- /**
256
- * panel.
257
- *
258
- * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
259
- * @version 1.0.0.0, Jan 22, 2020
260
- */
261
- @keyframes scale-in {
262
- 0% {
263
- opacity: 0;
264
- transform: scale(0.5);
265
- }
266
- 100% {
267
- opacity: 1;
268
- transform: scale(1);
269
- }
270
- }
271
- .vditor-panel {
272
- background-color: var(--panel-background-color);
273
- position: absolute;
274
- box-shadow: var(--panel-shadow);
275
- border-radius: 3px;
276
- padding: 5px;
277
- z-index: 3;
278
- font-size: 14px;
279
- display: none;
280
- -webkit-user-select: none;
281
- -moz-user-select: none;
282
- user-select: none;
283
- max-width: 320px;
284
- min-width: 80px;
285
- animation-duration: 0.15s;
286
- animation-name: scale-in;
287
- animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5);
288
- color: var(--toolbar-icon-color);
289
- }
290
- .vditor-panel--none {
291
- padding: 0;
292
- animation: none;
293
- min-width: auto;
294
- max-width: none;
295
- white-space: nowrap;
296
- opacity: 0.86;
297
- }
298
- .vditor-panel--arrow:before {
299
- position: absolute;
300
- width: 0;
301
- height: 0;
302
- pointer-events: none;
303
- content: " ";
304
- border: 7px solid transparent;
305
- top: -14px;
306
- left: 5px;
307
- border-bottom-color: var(--panel-background-color);
308
- }
309
- .vditor-panel--left {
310
- right: 0;
311
- }
312
- .vditor-panel--left.vditor-panel--arrow:before {
313
- right: 5px;
314
- left: auto;
315
- }
316
- .vditor-input {
317
- border: 0;
318
- padding: 3px 5px;
319
- background-color: var(--panel-background-color);
320
- font-size: 12px;
321
- color: var(--textarea-text-color);
322
- }
323
- .vditor-input:focus {
324
- background-color: var(--toolbar-background-color);
325
- outline: none;
326
- }
327
- .vditor-icon {
328
- color: var(--toolbar-icon-color);
329
- cursor: pointer;
330
- float: left;
331
- padding: 4px 5px;
332
- height: 21px;
333
- width: 23px;
334
- background-color: transparent;
335
- border: 0;
336
- box-sizing: border-box;
337
- }
338
- .vditor-icon:hover,
339
- .vditor-icon--current {
340
- color: var(--toolbar-icon-hover-color);
341
- background-color: transparent;
342
- }
343
- .vditor-icon:focus {
344
- outline: none;
345
- }
346
- .vditor-icon svg {
347
- height: 13px !important;
348
- width: 13px !important;
349
- float: left;
350
- fill: currentColor;
351
- pointer-events: none;
352
- }
353
- .vditor-toolbar {
354
- background-color: var(--toolbar-background-color);
355
- border-bottom: 1px solid var(--border-color);
356
- padding: 0 5px;
357
- line-height: 1;
358
- }
359
- .vditor-toolbar--pin {
360
- position: sticky;
361
- top: 0;
362
- z-index: 1;
363
- }
364
- .vditor-toolbar--hide {
365
- transition: all 0.15s ease-in-out;
366
- height: 5px;
367
- overflow: hidden;
368
- }
369
- .vditor-toolbar--hide:hover {
370
- background-color: var(--toolbar-background-color);
371
- height: auto;
372
- overflow: visible;
373
- }
374
- .vditor-toolbar__item {
375
- float: left;
376
- position: relative;
377
- }
378
- .vditor-toolbar__item .vditor-tooltipped {
379
- color: var(--toolbar-icon-color);
380
- border: 0;
381
- padding: 10px 5px;
382
- background-color: transparent;
383
- height: var(--toolbar-height);
384
- width: 25px;
385
- box-sizing: border-box;
386
- font-size: 0;
387
- }
388
- .vditor-toolbar__item .vditor-tooltipped:focus {
389
- outline: none;
390
- }
391
- .vditor-toolbar__item .vditor-tooltipped:focus {
392
- cursor: pointer;
393
- color: var(--toolbar-icon-hover-color);
394
- }
395
- .vditor-toolbar__item svg {
396
- fill: currentColor;
397
- display: inline-block;
398
- stroke-width: 0;
399
- stroke: currentColor;
400
- width: 15px;
401
- height: 15px;
402
- }
403
- .vditor-toolbar__item input {
404
- position: absolute;
405
- width: 25px;
406
- height: var(--toolbar-height);
407
- top: 0;
408
- left: 0;
409
- cursor: pointer;
410
- opacity: 0.001;
411
- overflow: hidden;
412
- }
413
- .vditor-toolbar__divider {
414
- float: left;
415
- height: calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));
416
- border-left: 1px solid var(--second-color);
417
- margin: var(--toolbar-divider-margin-top) 8px;
418
- }
419
- .vditor-toolbar__br {
420
- width: 100%;
421
- padding: 0 !important;
422
- height: 0 !important;
423
- }
424
- .vditor-menu--current {
425
- color: var(--toolbar-icon-hover-color) !important;
426
- }
427
- .vditor-menu--disabled {
428
- color: var(--second-color) !important;
429
- cursor: not-allowed !important;
430
- }
431
- .vditor-emojis {
432
- display: inline-block;
433
- overflow: auto;
434
- }
435
- .vditor-emojis::-webkit-scrollbar {
436
- display: none;
437
- }
438
- .vditor-emojis__tip {
439
- flex: 1;
440
- min-width: 1px;
441
- width: 200px;
442
- margin-right: 10px;
443
- color: var(--toolbar-icon-color);
444
- white-space: nowrap;
445
- text-overflow: ellipsis;
446
- overflow: hidden;
447
- }
448
- .vditor-emojis__tail {
449
- margin-top: 5px;
450
- font-size: 12px;
451
- color: var(--toolbar-icon-color);
452
- display: flex;
453
- }
454
- .vditor-emojis__tail a {
455
- text-decoration: none;
456
- color: var(--toolbar-icon-color);
457
- }
458
- .vditor-emojis__tail a:hover {
459
- color: var(--toolbar-icon-hover-color);
460
- }
461
- .vditor-emojis button {
462
- cursor: pointer;
463
- border-radius: 3px;
464
- float: left;
465
- height: 30px;
466
- width: 30px;
467
- text-align: center;
468
- line-height: 26px;
469
- padding: 3px;
470
- box-sizing: border-box;
471
- font-size: 16px;
472
- transition: all 0.15s ease-in-out;
473
- border: 0;
474
- margin: 0;
475
- background-color: transparent;
476
- overflow: hidden;
477
- }
478
- .vditor-emojis button:focus {
479
- outline: none;
480
- }
481
- .vditor-emojis button:hover .vditor-emojis__icon {
482
- display: inline-block;
483
- transform: scale(1.2);
484
- }
485
- .vditor-emojis img {
486
- height: 20px;
487
- width: 20px;
488
- float: left;
489
- margin: 3px 0 0 3px;
490
- }
491
- @media screen and (max-width: 520px) {
492
- .vditor-toolbar__item {
493
- padding: 0 12px;
494
- }
495
- .vditor-panel--left.vditor-panel--arrow:before {
496
- right: 17px;
497
- }
498
- }
499
- @media (hover: hover) and (pointer: fine) {
500
- .vditor-toolbar__item .vditor-tooltipped:hover {
501
- color: var(--toolbar-icon-hover-color);
502
- }
503
- }
504
- @keyframes slideInDown {
505
- from {
506
- transform: translate3d(0, -100%, 0);
507
- visibility: visible;
508
- }
509
- to {
510
- transform: translate3d(0, 0, 0);
511
- }
512
- }
513
- .vditor {
514
- display: flex;
515
- flex-direction: column;
516
- border: 1px solid var(--border-color);
517
- border-radius: 3px;
518
- box-sizing: border-box;
519
- font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
520
- }
521
- .vditor--fullscreen {
522
- position: fixed;
523
- top: 0;
524
- width: 100% !important;
525
- left: 0;
526
- height: 100vh !important;
527
- z-index: 90;
528
- border-radius: 0;
529
- }
530
- .vditor-content {
531
- display: flex;
532
- min-height: 60px;
533
- flex: 1;
534
- min-width: 1px;
535
- position: relative;
536
- }
537
- .vditor-preview {
538
- flex: 1;
539
- min-width: 1px;
540
- overflow: auto;
541
- margin-left: -1px;
542
- border-left: 1px solid var(--border-color);
543
- box-sizing: border-box;
544
- border-radius: 0 0 3px 0;
545
- background-color: var(--textarea-background-color);
546
- }
547
- .vditor-preview::-webkit-scrollbar {
548
- display: none;
549
- }
550
- .vditor-preview__action {
551
- text-align: center;
552
- padding: 10px;
553
- background-color: var(--toolbar-background-color);
554
- }
555
- .vditor-preview__action button {
556
- background-color: var(--toolbar-background-color);
557
- color: var(--toolbar-icon-color);
558
- line-height: 20px;
559
- border: 0;
560
- margin: 0 10px;
561
- cursor: pointer;
562
- padding: 0 7px;
563
- font-size: 12px;
564
- }
565
- .vditor-preview__action button.vditor-preview__action--current,
566
- .vditor-preview__action button:hover {
567
- color: var(--toolbar-icon-hover-color);
568
- background-color: var(--toolbar-background-color);
569
- }
570
- .vditor-preview__action button:focus {
571
- outline: none;
572
- }
573
- .vditor-preview__action button svg {
574
- fill: currentColor;
575
- height: 15px;
576
- width: 15px;
577
- vertical-align: middle;
578
- }
579
- .vditor-preview > .vditor-reset {
580
- padding: 10px;
581
- margin: 0 auto;
582
- }
583
- .vditor-preview img:not(.emoji) {
584
- cursor: pointer;
585
- }
586
- .vditor-devtools {
587
- display: none;
588
- background-color: var(--textarea-background-color);
589
- overflow: auto;
590
- flex: 1;
591
- min-width: 1px;
592
- box-shadow: inset 1px 0 var(--border-color);
593
- box-sizing: border-box;
594
- border-radius: 0 0 3px 0;
595
- padding: 10px;
596
- }
597
- .vditor-counter {
598
- padding: 3px;
599
- color: var(--toolbar-icon-color);
600
- background-color: var(--count-background-color);
601
- border-radius: 3px;
602
- font-size: 12px;
603
- -webkit-user-select: none;
604
- -moz-user-select: none;
605
- user-select: none;
606
- float: right;
607
- margin: 8px 3px 0 0;
608
- }
609
- .vditor-counter--error {
610
- color: #d23f31;
611
- background-color: rgba(210, 63, 49, 0.1);
612
- }
613
- .vditor-resize {
614
- padding: 3px 0;
615
- cursor: row-resize;
616
- -webkit-user-select: none;
617
- -moz-user-select: none;
618
- user-select: none;
619
- position: absolute;
620
- width: 100%;
621
- }
622
- .vditor-resize--top {
623
- top: -3px;
624
- }
625
- .vditor-resize--bottom {
626
- bottom: -3px;
627
- }
628
- .vditor-resize > div {
629
- height: 3px;
630
- background-color: var(--resize-background-color);
631
- transition: all 0.15s ease-in-out;
632
- }
633
- .vditor-resize:hover > div,
634
- .vditor-resize--selected > div {
635
- background-color: var(--resize-hover-background-color);
636
- }
637
- .vditor-resize:hover svg,
638
- .vditor-resize--selected svg {
639
- color: var(--resize-hover-icon-color);
640
- }
641
- .vditor-resize svg {
642
- fill: currentColor;
643
- stroke-width: 0;
644
- stroke: currentColor;
645
- width: 13px;
646
- height: 3px;
647
- display: block;
648
- margin: 0 auto;
649
- color: var(--resize-icon-color);
650
- }
651
- .vditor-upload {
652
- position: absolute;
653
- height: 3px;
654
- left: 0;
655
- top: -2px;
656
- transition: all 0.15s ease-in-out;
657
- background-color: #4285f4;
658
- }
659
- .vditor-tip {
660
- position: absolute;
661
- font-size: 12px;
662
- top: 10px;
663
- animation-duration: 0.15s;
664
- animation-fill-mode: both;
665
- left: 50%;
666
- z-index: 5;
667
- }
668
- .vditor-tip--show {
669
- display: block;
670
- animation-name: slideInDown;
671
- }
672
- .vditor-tip__content {
673
- text-align: left;
674
- display: inline-block;
675
- line-height: 16px;
676
- padding: 3px 10px;
677
- border-radius: 3px;
678
- background: var(--toolbar-background-color);
679
- position: relative;
680
- margin-left: -50%;
681
- color: var(--toolbar-icon-color);
682
- max-width: 100%;
683
- box-shadow: var(--panel-shadow);
684
- }
685
- .vditor-tip__content ul {
686
- margin: 2px 0;
687
- padding: 0 0 0 18px;
688
- }
689
- .vditor-tip__content a {
690
- color: #4285f4;
691
- }
692
- .vditor-tip__close {
693
- position: absolute;
694
- color: var(--toolbar-icon-color);
695
- top: -7px;
696
- right: -15px;
697
- font-weight: bold;
698
- cursor: pointer;
699
- }
700
- .vditor-tip__close:hover {
701
- color: var(--toolbar-icon-hover-color);
702
- }
703
- .vditor-img {
704
- position: fixed;
705
- top: 0;
706
- left: 0;
707
- right: 0;
708
- bottom: 0;
709
- display: flex;
710
- flex-direction: column;
711
- z-index: 100;
712
- }
713
- .vditor-img__bar {
714
- border-bottom: 1px solid var(--border-color);
715
- background-color: var(--toolbar-background-color);
716
- text-align: center;
717
- height: 36px;
718
- box-sizing: border-box;
719
- display: flex;
720
- align-items: center;
721
- justify-content: center;
722
- }
723
- .vditor-img__btn {
724
- display: flex;
725
- align-items: center;
726
- cursor: pointer;
727
- margin-left: 24px;
728
- -webkit-user-select: none;
729
- -moz-user-select: none;
730
- user-select: none;
731
- color: var(--toolbar-icon-color);
732
- }
733
- .vditor-img__btn:hover {
734
- color: var(--toolbar-icon-hover-color);
735
- }
736
- .vditor-img__btn svg {
737
- height: 14px;
738
- width: 14px;
739
- margin-right: 8px;
740
- fill: currentColor;
741
- }
742
- .vditor-img__img {
743
- flex: 1;
744
- background-color: var(--textarea-background-color);
745
- overflow: auto;
746
- cursor: zoom-out;
747
- }
748
- .vditor-img__img img {
749
- max-width: none;
750
- }
751
- .vditor-hint {
752
- background-color: var(--panel-background-color);
753
- position: absolute;
754
- box-shadow: var(--panel-shadow);
755
- border-radius: 3px;
756
- padding: 5px 0;
757
- z-index: 4;
758
- line-height: 20px;
759
- list-style: none;
760
- font-size: 12px;
761
- margin: 0;
762
- max-width: 250px;
763
- min-width: 80px;
764
- display: none;
765
- }
766
- .vditor-hint .vditor-hint {
767
- margin-top: -31px;
768
- left: 100%;
769
- right: auto;
770
- }
771
- .vditor-hint .vditor-hint.vditor-panel--left {
772
- right: 100%;
773
- left: auto;
774
- }
775
- .vditor-hint button {
776
- color: var(--toolbar-icon-color);
777
- display: block;
778
- padding: 3px 10px;
779
- border: 0;
780
- border-radius: 0;
781
- line-height: 20px;
782
- width: 100%;
783
- box-sizing: border-box;
784
- text-align: left;
785
- margin: 0;
786
- background-color: transparent;
787
- cursor: pointer;
788
- white-space: nowrap;
789
- text-overflow: ellipsis;
790
- overflow: hidden;
791
- }
792
- .vditor-hint button:focus {
793
- outline: none;
794
- }
795
- .vditor-hint--current,
796
- .vditor-hint button:not(.vditor-menu--disabled):hover {
797
- background-color: var(--toolbar-background-color) !important;
798
- color: var(--toolbar-icon-hover-color) !important;
799
- }
800
- .vditor-hint__emoji {
801
- font-size: 16px;
802
- float: left;
803
- margin-right: 3px;
804
- }
805
- .vditor-hint img {
806
- height: 20px;
807
- width: 20px;
808
- float: left;
809
- margin-right: 3px;
810
- }
811
- .vditor-reset {
812
- color: #24292e;
813
- font-variant-ligatures: no-common-ligatures;
814
- font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
815
- word-wrap: break-word;
816
- overflow: auto;
817
- line-height: 1.5;
818
- font-size: 16px;
819
- word-break: break-word;
820
- }
821
- .vditor-reset--anchor {
822
- padding-left: 20px;
823
- }
824
- .vditor-reset--error {
825
- color: #d23f31;
826
- font-size: 12px;
827
- display: block;
828
- line-height: 16px;
829
- }
830
- .vditor-reset ul ul ul {
831
- list-style-type: square;
832
- }
833
- .vditor-reset ul ul {
834
- list-style-type: circle;
835
- }
836
- .vditor-reset ul {
837
- list-style-type: disc;
838
- }
839
- .vditor-reset ul,
840
- .vditor-reset ol {
841
- padding-left: 2em;
842
- margin-top: 0;
843
- margin-bottom: 16px;
844
- }
845
- .vditor-reset li + li {
846
- margin-top: 0.25em;
847
- }
848
- .vditor-reset li p {
849
- margin-top: 16px;
850
- }
851
- .vditor-reset audio {
852
- max-width: 100%;
853
- }
854
- .vditor-reset audio:focus {
855
- outline: none;
856
- }
857
- .vditor-reset video {
858
- max-height: 90vh;
859
- max-width: 100%;
860
- }
861
- .vditor-reset img {
862
- max-width: 100%;
863
- }
864
- .vditor-reset img.emoji {
865
- cursor: auto;
866
- max-width: 20px;
867
- vertical-align: sub;
868
- }
869
- .vditor-reset h1,
870
- .vditor-reset h2,
871
- .vditor-reset h3,
872
- .vditor-reset h4,
873
- .vditor-reset h5,
874
- .vditor-reset h6 {
875
- margin-top: 24px;
876
- margin-bottom: 16px;
877
- font-weight: 600;
878
- line-height: 1.25;
879
- }
880
- .vditor-reset h1:hover .vditor-anchor svg,
881
- .vditor-reset h2:hover .vditor-anchor svg,
882
- .vditor-reset h3:hover .vditor-anchor svg,
883
- .vditor-reset h4:hover .vditor-anchor svg,
884
- .vditor-reset h5:hover .vditor-anchor svg,
885
- .vditor-reset h6:hover .vditor-anchor svg {
886
- visibility: visible;
887
- }
888
- .vditor-reset h1 {
889
- font-size: 1.75em;
890
- }
891
- .vditor-reset h2 {
892
- font-size: 1.55em;
893
- }
894
- .vditor-reset h3 {
895
- font-size: 1.38em;
896
- }
897
- .vditor-reset h4 {
898
- font-size: 1.25em;
899
- }
900
- .vditor-reset h5 {
901
- font-size: 1.13em;
902
- }
903
- .vditor-reset h6 {
904
- font-size: 1em;
905
- }
906
- .vditor-reset hr {
907
- height: 2px;
908
- padding: 0;
909
- margin: 24px 0;
910
- background-color: #eaecef;
911
- border: 0;
912
- }
913
- .vditor-reset p {
914
- margin-top: 0;
915
- margin-bottom: 16px;
916
- }
917
- .vditor-reset blockquote {
918
- padding: 0 1em;
919
- color: #6a737d;
920
- border-left: 0.25em solid #eaecef;
921
- margin: 0 0 16px 0;
922
- }
923
- .vditor-reset blockquote > :first-child {
924
- margin-top: 0;
925
- }
926
- .vditor-reset blockquote > :last-child {
927
- margin-bottom: 0;
928
- }
929
- .vditor-reset ins > iframe {
930
- border: 0;
931
- }
932
- .vditor-reset iframe {
933
- border: 1px solid #d1d5da;
934
- max-width: 100%;
935
- box-sizing: border-box;
936
- }
937
- .vditor-reset iframe.iframe__video {
938
- min-width: 80%;
939
- min-height: 36vh;
940
- }
941
- .vditor-reset table {
942
- border-collapse: collapse;
943
- empty-cells: show;
944
- margin-bottom: 16px;
945
- overflow: auto;
946
- border-spacing: 0;
947
- display: block;
948
- word-break: keep-all;
949
- width: 100%;
950
- }
951
- .vditor-reset table tr {
952
- background-color: #fafbfc;
953
- border-top: 1px solid #c6cbd1;
954
- }
955
- .vditor-reset table td,
956
- .vditor-reset table th {
957
- padding: 6px 13px;
958
- border: 1px solid #dfe2e5;
959
- word-break: normal;
960
- white-space: nowrap;
961
- }
962
- .vditor-reset table td:first-child::after,
963
- .vditor-reset table th:first-child::after {
964
- content: "";
965
- display: inline-block;
966
- vertical-align: top;
967
- min-height: 24px;
968
- }
969
- .vditor-reset table th {
970
- font-weight: 600;
971
- }
972
- .vditor-reset table tbody tr:nth-child(2n) {
973
- background-color: #fff;
974
- }
975
- .vditor-reset code:not(.hljs):not(.highlight-chroma) {
976
- padding: 0.2em 0.4em;
977
- margin: 0;
978
- font-size: 85%;
979
- border-radius: 3px;
980
- font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
981
- word-break: break-word;
982
- background-size: 20px 20px;
983
- white-space: pre-wrap;
984
- }
985
- .vditor-reset pre {
986
- margin: 1em 0;
987
- }
988
- .vditor-reset pre > code {
989
- margin: 0;
990
- font-size: 85%;
991
- padding: 0.5em;
992
- border-radius: 5px;
993
- display: block;
994
- overflow: auto;
995
- white-space: pre;
996
- font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
997
- background-size: 20px 20px;
998
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);
999
- word-break: initial;
1000
- word-wrap: normal;
1001
- }
1002
- .vditor-reset pre:hover div.vditor-copy {
1003
- display: block;
1004
- }
1005
- .vditor-reset .language-math,
1006
- .vditor-reset .language-echarts,
1007
- .vditor-reset .language-mindmap,
1008
- .vditor-reset .language-plantuml,
1009
- .vditor-reset .language-mermaid,
1010
- .vditor-reset .language-smiles,
1011
- .vditor-reset .language-markmap,
1012
- .vditor-reset .language-abc,
1013
- .vditor-reset .language-flowchart,
1014
- .vditor-reset .language-graphviz {
1015
- margin-bottom: 16px;
1016
- }
1017
- .vditor-reset .language-math mjx-container:focus {
1018
- outline: none;
1019
- cursor: context-menu;
1020
- }
1021
- .vditor-reset .language-math .katex-display > .katex > .katex-html > .tag {
1022
- display: inline-block;
1023
- font-size: 1.21rem;
1024
- right: 2px;
1025
- }
1026
- .vditor-reset .language-echarts,
1027
- .vditor-reset .language-mindmap {
1028
- overflow: hidden;
1029
- height: 420px;
1030
- }
1031
- .vditor-reset .language-mermaid,
1032
- .vditor-reset .language-markmap,
1033
- .vditor-reset .language-flowchart,
1034
- .vditor-reset .language-graphviz {
1035
- text-align: center;
1036
- }
1037
- .vditor-reset .language-graphviz parsererror {
1038
- overflow: auto;
1039
- }
1040
- .vditor-reset kbd {
1041
- display: inline-block;
1042
- padding: 3px 5px;
1043
- font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
1044
- line-height: 10px;
1045
- color: #24292e;
1046
- vertical-align: middle;
1047
- background-color: #fafbfc;
1048
- border: solid 1px #d1d5da;
1049
- border-radius: 3px;
1050
- box-shadow: inset 0 -1px 0 #d1d5da;
1051
- }
1052
- .vditor-reset summary {
1053
- cursor: pointer;
1054
- }
1055
- .vditor-reset summary:focus {
1056
- outline: none;
1057
- }
1058
- .vditor-reset svg {
1059
- height: auto;
1060
- width: auto;
1061
- stroke-width: initial;
1062
- }
1063
- .vditor-reset p:last-child,
1064
- .vditor-reset blockquote:last-child,
1065
- .vditor-reset pre:last-child,
1066
- .vditor-reset ul:last-child,
1067
- .vditor-reset ol:last-child,
1068
- .vditor-reset hr:last-child {
1069
- margin-bottom: 0;
1070
- }
1071
- .vditor-comment {
1072
- border-bottom: 2px solid #f8e6ab;
1073
- }
1074
- .vditor-comment--focus,
1075
- .vditor-comment--hover {
1076
- background-color: #faf1d1;
1077
- border-bottom: 2px solid #ffc60a;
1078
- }
1079
- .vditor-comment--focus .vditor-comment,
1080
- .vditor-comment--hover .vditor-comment {
1081
- border-bottom: 2px solid #ffc60a;
1082
- }
1083
- .vditor-task {
1084
- list-style: none !important;
1085
- word-break: break-all;
1086
- }
1087
- .vditor-task input {
1088
- margin: 0 0.2em 0.25em -1.6em;
1089
- font-size: 12px;
1090
- vertical-align: middle;
1091
- }
1092
- .vditor-copy {
1093
- position: relative;
1094
- display: none;
1095
- z-index: 1;
1096
- }
1097
- .vditor-copy textarea {
1098
- position: absolute;
1099
- left: -100000px;
1100
- height: 10px;
1101
- }
1102
- .vditor-copy span {
1103
- cursor: pointer;
1104
- position: absolute;
1105
- right: 15px;
1106
- top: 0.5em;
1107
- }
1108
- .vditor-copy svg {
1109
- color: #586069;
1110
- height: 14px;
1111
- width: 14px !important;
1112
- display: block;
1113
- fill: currentColor;
1114
- }
1115
- .vditor-linenumber {
1116
- padding-left: 4em !important;
1117
- position: relative;
1118
- }
1119
- .vditor-linenumber__rows {
1120
- position: absolute;
1121
- pointer-events: none;
1122
- top: 1em;
1123
- left: 0;
1124
- width: 3em;
1125
- /* works for line-numbers below 1000 lines */
1126
- -webkit-user-select: none;
1127
- -moz-user-select: none;
1128
- user-select: none;
1129
- counter-reset: linenumber;
1130
- }
1131
- .vditor-linenumber__rows > span {
1132
- pointer-events: none;
1133
- display: block;
1134
- }
1135
- .vditor-linenumber__rows > span::before {
1136
- counter-increment: linenumber;
1137
- content: counter(linenumber);
1138
- color: rgba(158, 150, 150, 0.38);
1139
- display: block;
1140
- padding-right: 1em;
1141
- text-align: right;
1142
- }
1143
- .vditor-speech {
1144
- position: absolute;
1145
- display: none;
1146
- background-color: #f6f8fa;
1147
- border: 1px solid #d1d5da;
1148
- border-radius: 3px;
1149
- padding: 3px;
1150
- cursor: pointer;
1151
- color: #586069;
1152
- }
1153
- .vditor-speech:hover,
1154
- .vditor-speech--current {
1155
- color: #4285f4;
1156
- }
1157
- .vditor-speech svg {
1158
- height: 14px;
1159
- width: 14px;
1160
- fill: currentColor;
1161
- display: block;
1162
- stroke-width: 0;
1163
- stroke: currentColor;
1164
- }
1165
- .vditor-anchor {
1166
- margin-left: 5px;
1167
- }
1168
- .vditor-anchor--left {
1169
- float: left;
1170
- padding-right: 4px;
1171
- margin-left: -20px;
1172
- }
1173
- .vditor-anchor svg {
1174
- visibility: hidden;
1175
- }
1176
- .vditor-anchor:hover svg {
1177
- visibility: visible;
1178
- }
1179
- .vditor-anchor:focus {
1180
- outline: none;
1181
- }
1182
- .vditor-linkcard {
1183
- margin: 31px auto 16px;
1184
- transition: all 0.15s ease-in-out;
1185
- cursor: pointer;
1186
- max-width: 768px;
1187
- padding: 0 10px;
1188
- }
1189
- .vditor-linkcard a {
1190
- border-radius: 3px;
1191
- background-color: #f6f8fa;
1192
- overflow: hidden;
1193
- max-height: 250px;
1194
- display: flex;
1195
- text-decoration: none;
1196
- flex-wrap: wrap-reverse;
1197
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
1198
- }
1199
- .vditor-linkcard a:hover {
1200
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.13), 0 3px 6px rgba(0, 0, 0, 0.26);
1201
- text-decoration: none;
1202
- }
1203
- .vditor-linkcard a:visited .vditor-linkcard__abstract {
1204
- color: rgba(88, 96, 105, 0.36);
1205
- }
1206
- .vditor-linkcard__info {
1207
- padding: 10px;
1208
- min-width: 200px;
1209
- box-sizing: border-box;
1210
- flex: 1;
1211
- }
1212
- .vditor-linkcard__title {
1213
- font-size: 14px;
1214
- font-weight: 400;
1215
- color: #24292e;
1216
- display: flex;
1217
- align-items: center;
1218
- }
1219
- .vditor-linkcard__title img {
1220
- cursor: pointer;
1221
- height: 20px;
1222
- width: 20px;
1223
- border-radius: 3px;
1224
- flex-shrink: 0;
1225
- margin-right: 5px;
1226
- }
1227
- .vditor-linkcard__abstract {
1228
- word-wrap: break-word;
1229
- word-break: break-all;
1230
- -webkit-line-clamp: 2;
1231
- overflow: hidden;
1232
- text-overflow: ellipsis;
1233
- -webkit-box-orient: vertical;
1234
- display: -webkit-box;
1235
- font-size: 13px;
1236
- color: #586069;
1237
- margin: 5px 0;
1238
- }
1239
- .vditor-linkcard__site {
1240
- font-size: 12px;
1241
- color: #4285f4;
1242
- }
1243
- .vditor-linkcard__image {
1244
- background-size: cover;
1245
- background-repeat: no-repeat;
1246
- background-position: center center;
1247
- max-width: 250px;
1248
- min-width: 126px;
1249
- cursor: pointer;
1250
- background-color: rgba(88, 96, 105, 0.36);
1251
- }
1252
- .vditor-footnotes__goto-ref {
1253
- text-decoration: none;
1254
- }
1255
- .vditor-toc {
1256
- margin-bottom: 16px;
1257
- -webkit-user-select: text;
1258
- -moz-user-select: text;
1259
- user-select: text;
1260
- color: #4285f4;
1261
- }
1262
- .vditor-toc .vditor-outline__action {
1263
- display: none;
1264
- }
1265
- .vditor-toc ul {
1266
- list-style: none !important;
1267
- padding-left: 1em;
1268
- }
1269
- .vditor-toc > ul {
1270
- padding-left: 0;
1271
- }
1272
- .vditor-toc span {
1273
- cursor: pointer;
1274
- }
1275
- .vditor-toc li > span > svg {
1276
- width: 0;
1277
- height: 0;
1278
- }
1279
- .vditor-outline {
1280
- width: 250px;
1281
- border-right: 1px solid var(--border-color);
1282
- background-color: var(--panel-background-color);
1283
- display: none;
1284
- overflow: auto;
1285
- }
1286
- .vditor-outline--right {
1287
- border-right: 0;
1288
- border-left: 1px solid var(--border-color);
1289
- }
1290
- .vditor-outline::-webkit-scrollbar {
1291
- display: none;
1292
- }
1293
- .vditor-outline ul {
1294
- list-style: none !important;
1295
- padding-left: 1em;
1296
- margin: 0;
1297
- }
1298
- .vditor-outline__content > ul {
1299
- padding-left: 0;
1300
- }
1301
- .vditor-outline li > span {
1302
- display: flex;
1303
- align-items: center;
1304
- padding: 5px 10px;
1305
- cursor: pointer;
1306
- color: var(--textarea-text-color);
1307
- }
1308
- .vditor-outline li > span > svg {
1309
- height: 10px;
1310
- width: 10px;
1311
- flex-shrink: 0;
1312
- }
1313
- .vditor-outline li > span:hover {
1314
- color: var(--toolbar-icon-hover-color);
1315
- }
1316
- .vditor-outline li > span > span {
1317
- white-space: nowrap;
1318
- overflow: hidden;
1319
- text-overflow: ellipsis;
1320
- }
1321
- .vditor-outline__title {
1322
- border-bottom: 1px dashed var(--border-color);
1323
- padding: 5px 10px;
1324
- color: var(--toolbar-icon-color);
1325
- font-size: 12px;
1326
- }
1327
- .vditor-outline__action {
1328
- transition: all 0.15s ease-in-out;
1329
- fill: currentColor;
1330
- margin-right: 5px;
1331
- flex-shrink: 0;
1332
- }
1333
- .vditor-outline__action--close {
1334
- transform: rotate(-90deg);
1335
- }
1336
- .vditor-wysiwyg {
1337
- box-sizing: border-box;
1338
- flex: 1;
1339
- position: relative;
1340
- width: 100%;
1341
- min-width: 1px;
1342
- }
1343
- .vditor-wysiwyg pre.vditor-reset {
1344
- background-color: var(--panel-background-color);
1345
- margin: 0;
1346
- white-space: pre-wrap;
1347
- height: 100%;
1348
- box-sizing: border-box;
1349
- }
1350
- .vditor-wysiwyg pre.vditor-reset[contenteditable="false"] {
1351
- opacity: 0.3;
1352
- cursor: not-allowed;
1353
- }
1354
- .vditor-wysiwyg pre.vditor-reset:empty::before {
1355
- content: attr(placeholder);
1356
- color: var(--second-color);
1357
- }
1358
- .vditor-wysiwyg pre.vditor-reset:focus {
1359
- outline: none;
1360
- background-color: var(--textarea-background-color);
1361
- }
1362
- .vditor-wysiwyg pre.vditor-reset:after {
1363
- content: "";
1364
- height: var(--editor-bottom);
1365
- display: block;
1366
- }
1367
- .vditor-wysiwyg blockquote:empty::before,
1368
- .vditor-wysiwyg pre > code:empty::before,
1369
- .vditor-wysiwyg p:empty::before,
1370
- .vditor-wysiwyg h1:empty::after,
1371
- .vditor-wysiwyg h2:empty::after,
1372
- .vditor-wysiwyg h3:empty::after,
1373
- .vditor-wysiwyg h4:empty::after,
1374
- .vditor-wysiwyg h5:empty::after,
1375
- .vditor-wysiwyg h6:empty::after {
1376
- content: ' ';
1377
- }
1378
- .vditor-wysiwyg code[data-marker="`"] {
1379
- padding-left: 0 !important;
1380
- padding-right: 0 !important;
1381
- }
1382
- .vditor-wysiwyg__block pre:first-child {
1383
- margin-bottom: -1em;
1384
- }
1385
- .vditor-wysiwyg__block pre:first-child code {
1386
- color: var(--textarea-text-color);
1387
- height: auto;
1388
- text-align: left;
1389
- }
1390
- .vditor-wysiwyg__block pre:last-child {
1391
- margin-bottom: 1em;
1392
- }
1393
- .vditor-wysiwyg__preview {
1394
- cursor: pointer;
1395
- white-space: initial;
1396
- min-height: 27px;
1397
- }
1398
- .vditor-wysiwyg > .vditor-reset > h1:before,
1399
- .vditor-wysiwyg > .vditor-reset > h2:before,
1400
- .vditor-wysiwyg > .vditor-reset > h3:before,
1401
- .vditor-wysiwyg > .vditor-reset > h4:before,
1402
- .vditor-wysiwyg > .vditor-reset > h5:before,
1403
- .vditor-wysiwyg > .vditor-reset > h6:before,
1404
- .vditor-wysiwyg div.vditor-wysiwyg__block:before,
1405
- .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,
1406
- .vditor-wysiwyg div[data-type="footnotes-block"]:before,
1407
- .vditor-wysiwyg .vditor-toc:before {
1408
- float: left;
1409
- padding-right: 4px;
1410
- margin-left: -29px;
1411
- content: 'H1';
1412
- font-size: 0.85rem;
1413
- font-weight: normal;
1414
- color: var(--second-color);
1415
- }
1416
- .vditor-wysiwyg > .vditor-reset > h2:before {
1417
- content: 'H2';
1418
- }
1419
- .vditor-wysiwyg > .vditor-reset > h3:before {
1420
- content: 'H3';
1421
- }
1422
- .vditor-wysiwyg > .vditor-reset > h4:before {
1423
- content: 'H4';
1424
- }
1425
- .vditor-wysiwyg > .vditor-reset > h5:before {
1426
- content: 'H5';
1427
- }
1428
- .vditor-wysiwyg > .vditor-reset > h6:before {
1429
- content: 'H6';
1430
- }
1431
- .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before {
1432
- content: '"A"';
1433
- }
1434
- .vditor-wysiwyg div[data-type="footnotes-block"]:before {
1435
- content: '^F';
1436
- }
1437
- .vditor-wysiwyg div.vditor-wysiwyg__block:before {
1438
- content: "</>";
1439
- }
1440
- .vditor-wysiwyg div.vditor-wysiwyg__block[data-type="yaml-front-matter"]:before {
1441
- content: "F";
1442
- }
1443
- .vditor-wysiwyg div.vditor-wysiwyg__block[data-type="math-block"]:before {
1444
- content: "$$";
1445
- }
1446
- .vditor-wysiwyg .vditor-toc:before {
1447
- content: "ToC";
1448
- }
1449
- .vditor-wysiwyg hr {
1450
- display: inline-block;
1451
- margin: 12px 0;
1452
- width: 100%;
1453
- }
1454
- .vditor-wysiwyg details {
1455
- white-space: initial;
1456
- }
1457
- .vditor-wysiwyg a {
1458
- cursor: pointer;
1459
- }
1460
- .vditor-wysiwyg span[data-type="backslash"] > span {
1461
- display: none;
1462
- color: var(--second-color);
1463
- }
1464
- .vditor-wysiwyg span[data-type="link-ref"],
1465
- .vditor-wysiwyg sup[data-type="footnotes-ref"] {
1466
- color: #4285f4;
1467
- }
1468
- .vditor-wysiwyg span[data-type="toc-h"] {
1469
- color: #4285f4;
1470
- text-decoration: underline;
1471
- }
1472
- .vditor-wysiwyg div[data-type="footnotes-block"] {
1473
- border-top: 2px solid var(--heading-border-color);
1474
- padding-top: 24px;
1475
- margin-top: 24px;
1476
- }
1477
- .vditor-wysiwyg div[data-type="link-ref-defs-block"] {
1478
- color: var(--blockquote-color);
1479
- }
1480
- @media screen and (max-width: 520px) {
1481
- .vditor-wysiwyg h1:before,
1482
- .vditor-wysiwyg h2:before,
1483
- .vditor-wysiwyg h3:before,
1484
- .vditor-wysiwyg h4:before,
1485
- .vditor-wysiwyg h5:before,
1486
- .vditor-wysiwyg h6:before,
1487
- .vditor-wysiwyg div.vditor-wysiwyg__block:before,
1488
- .vditor-wysiwyg div[data-type="link-ref-defs-block"]:before,
1489
- .vditor-wysiwyg div[data-type="footnotes-block"]:before,
1490
- .vditor-wysiwyg .vditor-toc:before {
1491
- content: none;
1492
- }
1493
- }
1494
- .vditor-ir {
1495
- box-sizing: border-box;
1496
- flex: 1;
1497
- min-width: 1px;
1498
- position: relative;
1499
- width: 100%;
1500
- }
1501
- .vditor-ir__node[data-type="code-block"]:before,
1502
- .vditor-ir__node[data-type="code-block"]:after,
1503
- .vditor-ir__node[data-type="yaml-front-matter"]:before,
1504
- .vditor-ir__node[data-type="yaml-front-matter"]:after,
1505
- .vditor-ir__node[data-type="math-block"]:before,
1506
- .vditor-ir__node[data-type="math-block"]:after {
1507
- content: ' ';
1508
- color: var(--second-color);
1509
- }
1510
- .vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker {
1511
- padding: 0 !important;
1512
- }
1513
- .vditor-ir__node:not(.vditor-ir__node--expand)[data-type="a"] {
1514
- cursor: pointer;
1515
- }
1516
- .vditor-ir__node[data-type="link-ref"],
1517
- .vditor-ir__node[data-type="footnotes-ref"] {
1518
- color: #4285f4;
1519
- }
1520
- .vditor-ir__node[data-type="html-block"] {
1521
- margin-bottom: 1em;
1522
- }
1523
- .vditor-ir__node .vditor-ir__marker {
1524
- width: 0;
1525
- overflow: hidden;
1526
- display: inline-block;
1527
- height: 0;
1528
- transition: all 0.15s ease-in-out;
1529
- }
1530
- .vditor-ir__node--hidden .vditor-ir__marker {
1531
- visibility: hidden;
1532
- }
1533
- .vditor-ir__node--expand .vditor-ir__marker {
1534
- color: var(--second-color);
1535
- display: inline;
1536
- height: auto;
1537
- width: auto;
1538
- }
1539
- .vditor-ir__node--expand .vditor-ir__marker--hide {
1540
- display: none;
1541
- }
1542
- .vditor-ir__node--expand .vditor-ir__marker--heading {
1543
- color: var(--ir-heading-color);
1544
- }
1545
- .vditor-ir__node--expand .vditor-ir__marker--bi {
1546
- color: var(--ir-bi-color);
1547
- }
1548
- .vditor-ir__node--expand .vditor-ir__marker--link {
1549
- color: var(--ir-link-color);
1550
- }
1551
- .vditor-ir__node--expand .vditor-ir__marker--title {
1552
- color: var(--ir-title-color);
1553
- }
1554
- .vditor-ir__node--expand .vditor-ir__marker--bracket {
1555
- color: var(--ir-bracket-color);
1556
- text-decoration: underline;
1557
- }
1558
- .vditor-ir__node--expand .vditor-ir__marker--paren {
1559
- color: var(--ir-paren-color);
1560
- }
1561
- .vditor-ir__node--expand .vditor-ir__marker--info {
1562
- color: var(--ir-heading-color);
1563
- }
1564
- .vditor-ir__node--expand .vditor-ir__marker--pre code {
1565
- color: var(--textarea-text-color);
1566
- height: auto;
1567
- text-align: left;
1568
- }
1569
- .vditor-ir__node--expand[data-type="code-block"]:before,
1570
- .vditor-ir__node--expand[data-type="code-block"]:after {
1571
- content: '```';
1572
- }
1573
- .vditor-ir__node--expand[data-type="yaml-front-matter"]:before,
1574
- .vditor-ir__node--expand[data-type="yaml-front-matter"]:after {
1575
- content: '---';
1576
- }
1577
- .vditor-ir__node--expand[data-type="math-block"]:before,
1578
- .vditor-ir__node--expand[data-type="math-block"]:after {
1579
- content: '$$';
1580
- }
1581
- .vditor-ir__node span[data-type="code-block-open-marker"],
1582
- .vditor-ir__node span[data-type="code-block-close-marker"],
1583
- .vditor-ir__node span[data-type="yaml-front-matter-open-marker"],
1584
- .vditor-ir__node span[data-type="yaml-front-matter-close-marker"],
1585
- .vditor-ir__node span[data-type="math-block-open-marker"],
1586
- .vditor-ir__node span[data-type="math-block-close-marker"] {
1587
- display: none;
1588
- }
1589
- .vditor-ir__preview {
1590
- cursor: pointer;
1591
- white-space: initial;
1592
- min-height: 27px;
1593
- }
1594
- .vditor-ir__link {
1595
- color: var(--ir-bracket-color);
1596
- text-decoration: underline;
1597
- }
1598
- .vditor-ir pre.vditor-reset {
1599
- background-color: var(--panel-background-color);
1600
- margin: 0;
1601
- white-space: pre-wrap;
1602
- height: 100%;
1603
- box-sizing: border-box;
1604
- }
1605
- .vditor-ir pre.vditor-reset[contenteditable="false"] {
1606
- opacity: 0.3;
1607
- cursor: not-allowed;
1608
- }
1609
- .vditor-ir pre.vditor-reset:empty::before {
1610
- content: attr(placeholder);
1611
- color: var(--second-color);
1612
- }
1613
- .vditor-ir pre.vditor-reset:focus {
1614
- outline: none;
1615
- background-color: var(--textarea-background-color);
1616
- }
1617
- .vditor-ir pre.vditor-reset:after {
1618
- content: "";
1619
- height: var(--editor-bottom);
1620
- display: block;
1621
- }
1622
- .vditor-ir pre.vditor-reset pre {
1623
- margin: 0;
1624
- }
1625
- .vditor-ir hr {
1626
- display: inline-block;
1627
- margin: 12px 0;
1628
- width: 100%;
1629
- }
1630
- .vditor-ir blockquote:empty::before,
1631
- .vditor-ir pre > code:empty::before,
1632
- .vditor-ir p:empty::before,
1633
- .vditor-ir h1:empty::after,
1634
- .vditor-ir h2:empty::after,
1635
- .vditor-ir h3:empty::after,
1636
- .vditor-ir h4:empty::after,
1637
- .vditor-ir h5:empty::after,
1638
- .vditor-ir h6:empty::after {
1639
- content: ' ';
1640
- }
1641
- .vditor-ir .vditor-reset > h1:before,
1642
- .vditor-ir .vditor-reset > h2:before,
1643
- .vditor-ir .vditor-reset > h3:before,
1644
- .vditor-ir .vditor-reset > h4:before,
1645
- .vditor-ir .vditor-reset > h5:before,
1646
- .vditor-ir .vditor-reset > h6:before,
1647
- .vditor-ir div[data-type="link-ref-defs-block"]:before,
1648
- .vditor-ir div[data-type="footnotes-block"]:before,
1649
- .vditor-ir .vditor-toc:before {
1650
- float: left;
1651
- padding-right: 4px;
1652
- margin-left: -29px;
1653
- content: 'H1';
1654
- font-size: 0.85rem;
1655
- font-weight: normal;
1656
- color: var(--second-color);
1657
- }
1658
- .vditor-ir .vditor-reset > h2:before {
1659
- content: 'H2';
1660
- }
1661
- .vditor-ir .vditor-reset > h3:before {
1662
- content: 'H3';
1663
- }
1664
- .vditor-ir .vditor-reset > h4:before {
1665
- content: 'H4';
1666
- }
1667
- .vditor-ir .vditor-reset > h5:before {
1668
- content: 'H5';
1669
- }
1670
- .vditor-ir .vditor-reset > h6:before {
1671
- content: 'H6';
1672
- }
1673
- .vditor-ir div[data-type="link-ref-defs-block"] {
1674
- color: var(--blockquote-color);
1675
- }
1676
- .vditor-ir div[data-type="link-ref-defs-block"]:before {
1677
- content: '"A"';
1678
- }
1679
- .vditor-ir div[data-type="footnotes-block"] {
1680
- border-top: 2px solid var(--heading-border-color);
1681
- padding-top: 24px;
1682
- margin-top: 24px;
1683
- }
1684
- .vditor-ir div[data-type="footnotes-block"]:before {
1685
- content: '^F';
1686
- }
1687
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ul,
1688
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > ol,
1689
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > p,
1690
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > blockquote,
1691
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > pre,
1692
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > table,
1693
- .vditor-ir div[data-type="footnotes-block"] > div[data-type="footnotes-def"] > hr {
1694
- margin-left: 8px;
1695
- }
1696
- .vditor-ir .vditor-toc:before {
1697
- content: "ToC";
1698
- }
1699
- .vditor-ir .vditor-toc span[data-type="toc-h"] {
1700
- color: #4285f4;
1701
- text-decoration: underline;
1702
- }
1703
- @media screen and (max-width: 520px) {
1704
- .vditor-ir h1:before,
1705
- .vditor-ir h2:before,
1706
- .vditor-ir h3:before,
1707
- .vditor-ir h4:before,
1708
- .vditor-ir h5:before,
1709
- .vditor-ir h6:before,
1710
- .vditor-ir div[data-type="link-ref-defs-block"]:before,
1711
- .vditor-ir div[data-type="footnotes-block"]:before,
1712
- .vditor-ir .vditor-toc:before {
1713
- content: none;
1714
- }
1715
- }
1716
- .vditor-sv {
1717
- font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
1718
- margin: 0 1px 0 0;
1719
- overflow: auto;
1720
- width: 100%;
1721
- flex: 1;
1722
- min-width: 1px;
1723
- border: 0;
1724
- resize: none;
1725
- padding: 10px 9px 10px 10px;
1726
- box-sizing: border-box;
1727
- background-color: var(--panel-background-color);
1728
- outline: 0 none;
1729
- font-size: 16px;
1730
- line-height: 22px;
1731
- color: var(--textarea-text-color);
1732
- border-radius: 0 0 3px 3px;
1733
- font-variant-ligatures: no-common-ligatures;
1734
- white-space: pre-wrap;
1735
- word-break: break-word;
1736
- word-wrap: break-word;
1737
- }
1738
- .vditor-sv[contenteditable="false"] {
1739
- opacity: 0.3;
1740
- cursor: not-allowed;
1741
- }
1742
- .vditor-sv:empty::before {
1743
- content: attr(placeholder);
1744
- color: var(--second-color);
1745
- }
1746
- .vditor-sv:focus {
1747
- background-color: var(--textarea-background-color);
1748
- }
1749
- .vditor-sv:after {
1750
- content: "";
1751
- height: var(--editor-bottom);
1752
- display: block;
1753
- }
1754
- .vditor-sv span[data-type="newline"] + span[data-type="text"]:empty {
1755
- display: inherit;
1756
- }
1757
- .vditor-sv .sup {
1758
- vertical-align: super;
1759
- font-size: smaller;
1760
- }
1761
- .vditor-sv .strong {
1762
- font-weight: bold;
1763
- }
1764
- .vditor-sv .em {
1765
- font-style: italic;
1766
- }
1767
- .vditor-sv .s {
1768
- text-decoration: line-through;
1769
- }
1770
- .vditor-sv .mark:not(.vditor-sv__marker) {
1771
- background-color: yellow;
1772
- color: black;
1773
- }
1774
- .vditor-sv .h1 {
1775
- font-size: 1.75em;
1776
- line-height: 44px;
1777
- }
1778
- .vditor-sv .h2 {
1779
- font-size: 1.55em;
1780
- line-height: 38px;
1781
- }
1782
- .vditor-sv .h3 {
1783
- font-size: 1.38em;
1784
- line-height: 27px;
1785
- }
1786
- .vditor-sv .h4 {
1787
- font-size: 1.25em;
1788
- line-height: 25px;
1789
- }
1790
- .vditor-sv .h5 {
1791
- font-size: 1.13em;
1792
- }
1793
- .vditor-sv .h6 {
1794
- font-size: 1em;
1795
- }
1796
- .vditor-sv__marker {
1797
- color: var(--second-color);
1798
- }
1799
- .vditor-sv__marker--heading {
1800
- color: var(--ir-heading-color);
1801
- }
1802
- .vditor-sv__marker--bi {
1803
- color: var(--ir-bi-color);
1804
- }
1805
- .vditor-sv__marker--link {
1806
- color: var(--ir-link-color);
1807
- }
1808
- .vditor-sv__marker--title {
1809
- color: var(--ir-title-color);
1810
- }
1811
- .vditor-sv__marker--bracket {
1812
- color: var(--ir-bracket-color);
1813
- }
1814
- .vditor-sv__marker--paren {
1815
- color: var(--ir-paren-color);
1816
- }
1817
- .vditor-sv__marker--info {
1818
- color: var(--ir-heading-color);
1819
- }
1820
- .vditor-sv__marker--strong {
1821
- font-weight: bold;
1822
- }
1823
-