@nocobase/plugin-field-markdown-vditor 2.1.0-alpha.35 → 2.1.0-alpha.37

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