@novaprose/core 0.7.0 → 0.8.0

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 (347) hide show
  1. package/README.md +15 -2
  2. package/dist/a11y.cjs +314 -0
  3. package/dist/a11y.cjs.map +1 -0
  4. package/dist/a11y.d.cts +51 -0
  5. package/dist/a11y.d.ts +51 -0
  6. package/dist/a11y.js +11 -0
  7. package/dist/a11y.js.map +1 -0
  8. package/dist/a11ychecker-7KQU7DD3.js +449 -0
  9. package/dist/a11ychecker-7KQU7DD3.js.map +1 -0
  10. package/dist/accordion-ui-FGN3I5UF.js +201 -0
  11. package/dist/accordion-ui-FGN3I5UF.js.map +1 -0
  12. package/dist/advcode-65Z2ELUB.js +51 -0
  13. package/dist/advcode-65Z2ELUB.js.map +1 -0
  14. package/dist/advcode-editor-WIOCY552.js +257 -0
  15. package/dist/advcode-editor-WIOCY552.js.map +1 -0
  16. package/dist/{advlist-5FNKPLUX.js → advlist-CEHE6YXS.js} +10 -7
  17. package/dist/advlist-CEHE6YXS.js.map +1 -0
  18. package/dist/advtable-ui-5CBOPTHW.js +364 -0
  19. package/dist/advtable-ui-5CBOPTHW.js.map +1 -0
  20. package/dist/ai-IRQYZHRK.js +1485 -0
  21. package/dist/ai-IRQYZHRK.js.map +1 -0
  22. package/dist/anchor-ui-NWIIRKGY.js +81 -0
  23. package/dist/anchor-ui-NWIIRKGY.js.map +1 -0
  24. package/dist/autocorrect-6GFLVDPC.js +851 -0
  25. package/dist/autocorrect-6GFLVDPC.js.map +1 -0
  26. package/dist/{autolink-45LTODWB.js → autolink-N427KVQO.js} +11 -8
  27. package/dist/autolink-N427KVQO.js.map +1 -0
  28. package/dist/{autoresize-UB3GOA6D.js → autoresize-YRZAVCNO.js} +2 -2
  29. package/dist/autoresize-YRZAVCNO.js.map +1 -0
  30. package/dist/{autosave-GMWJ5BPE.js → autosave-L7OZ3KLK.js} +7 -7
  31. package/dist/autosave-L7OZ3KLK.js.map +1 -0
  32. package/dist/casechange-5G6RAJ7K.js +201 -0
  33. package/dist/casechange-5G6RAJ7K.js.map +1 -0
  34. package/dist/{charmap-2GC7LF7G.js → charmap-5CBBDWOP.js} +7 -7
  35. package/dist/charmap-5CBBDWOP.js.map +1 -0
  36. package/dist/checklist-HM4VXZKY.js +189 -0
  37. package/dist/checklist-HM4VXZKY.js.map +1 -0
  38. package/dist/chunk-23ZLVT5D.js +163 -0
  39. package/dist/chunk-23ZLVT5D.js.map +1 -0
  40. package/dist/{chunk-ND2CWNVG.js → chunk-3BOK3S3T.js} +2 -27
  41. package/dist/chunk-3BOK3S3T.js.map +1 -0
  42. package/dist/chunk-4I4AYH2K.js +101 -0
  43. package/dist/chunk-4I4AYH2K.js.map +1 -0
  44. package/dist/{chunk-PVFKXRID.js → chunk-4VPDY3LF.js} +1 -1
  45. package/dist/chunk-4VPDY3LF.js.map +1 -0
  46. package/dist/chunk-53AY5NAF.js +214 -0
  47. package/dist/chunk-53AY5NAF.js.map +1 -0
  48. package/dist/chunk-5VCESSQB.js +137 -0
  49. package/dist/chunk-5VCESSQB.js.map +1 -0
  50. package/dist/chunk-66INZHZ2.js +79 -0
  51. package/dist/chunk-66INZHZ2.js.map +1 -0
  52. package/dist/chunk-6LQM7G4V.js +159 -0
  53. package/dist/chunk-6LQM7G4V.js.map +1 -0
  54. package/dist/chunk-6YSQGFV7.js +893 -0
  55. package/dist/chunk-6YSQGFV7.js.map +1 -0
  56. package/dist/{chunk-T3GY6IVK.js → chunk-AC3YCAX4.js} +71 -9
  57. package/dist/chunk-AC3YCAX4.js.map +1 -0
  58. package/dist/{chunk-5AW2HHG6.js → chunk-ADRPQLZ2.js} +47 -3
  59. package/dist/chunk-ADRPQLZ2.js.map +1 -0
  60. package/dist/chunk-ANE5ASXG.js +26 -0
  61. package/dist/chunk-ANE5ASXG.js.map +1 -0
  62. package/dist/{chunk-Z3ELZ77W.js → chunk-AP2PJFLB.js} +5 -2
  63. package/dist/chunk-AP2PJFLB.js.map +1 -0
  64. package/dist/chunk-AQV6FIKK.js +259 -0
  65. package/dist/chunk-AQV6FIKK.js.map +1 -0
  66. package/dist/chunk-AUQSATWL.js +322 -0
  67. package/dist/chunk-AUQSATWL.js.map +1 -0
  68. package/dist/chunk-C326LHHU.js +143 -0
  69. package/dist/chunk-C326LHHU.js.map +1 -0
  70. package/dist/{chunk-R2UMUCVI.js → chunk-DEYYVZ7O.js} +50 -8
  71. package/dist/chunk-DEYYVZ7O.js.map +1 -0
  72. package/dist/chunk-EOJ5XHKA.js +160 -0
  73. package/dist/chunk-EOJ5XHKA.js.map +1 -0
  74. package/dist/chunk-EXX2S352.js +3642 -0
  75. package/dist/chunk-EXX2S352.js.map +1 -0
  76. package/dist/chunk-FTEA6L2Q.js +47 -0
  77. package/dist/chunk-FTEA6L2Q.js.map +1 -0
  78. package/dist/chunk-G74HNSB6.js +9 -0
  79. package/dist/chunk-G74HNSB6.js.map +1 -0
  80. package/dist/{chunk-KWXFL4WS.js → chunk-GHVB6SV4.js} +8 -5
  81. package/dist/chunk-GHVB6SV4.js.map +1 -0
  82. package/dist/chunk-GTLE2HEW.js +108 -0
  83. package/dist/chunk-GTLE2HEW.js.map +1 -0
  84. package/dist/chunk-GXXXLPDQ.js +67 -0
  85. package/dist/chunk-GXXXLPDQ.js.map +1 -0
  86. package/dist/chunk-HC6RMBAD.js +163 -0
  87. package/dist/chunk-HC6RMBAD.js.map +1 -0
  88. package/dist/chunk-HNEAVVBC.js +98 -0
  89. package/dist/chunk-HNEAVVBC.js.map +1 -0
  90. package/dist/chunk-I7Y4KSM2.js +165 -0
  91. package/dist/chunk-I7Y4KSM2.js.map +1 -0
  92. package/dist/chunk-IG2BL4ON.js +127 -0
  93. package/dist/chunk-IG2BL4ON.js.map +1 -0
  94. package/dist/{chunk-KPE3QRPB.js → chunk-J6W2CDRF.js} +16 -315
  95. package/dist/chunk-J6W2CDRF.js.map +1 -0
  96. package/dist/chunk-LVEQBNLX.js +207 -0
  97. package/dist/chunk-LVEQBNLX.js.map +1 -0
  98. package/dist/chunk-MZGNOHSY.js +176 -0
  99. package/dist/chunk-MZGNOHSY.js.map +1 -0
  100. package/dist/chunk-N32H37AJ.js +373 -0
  101. package/dist/chunk-N32H37AJ.js.map +1 -0
  102. package/dist/chunk-NTGEKGXU.js +263 -0
  103. package/dist/chunk-NTGEKGXU.js.map +1 -0
  104. package/dist/chunk-OFHGXYG3.js +140 -0
  105. package/dist/chunk-OFHGXYG3.js.map +1 -0
  106. package/dist/chunk-OOVNE6MB.js +28 -0
  107. package/dist/chunk-OOVNE6MB.js.map +1 -0
  108. package/dist/chunk-OQMMHWMZ.js +7 -0
  109. package/dist/chunk-OQMMHWMZ.js.map +1 -0
  110. package/dist/chunk-P2UU2NLT.js +1149 -0
  111. package/dist/chunk-P2UU2NLT.js.map +1 -0
  112. package/dist/{chunk-JPJVTB45.js → chunk-QU3KXMYT.js} +8 -2
  113. package/dist/chunk-QU3KXMYT.js.map +1 -0
  114. package/dist/chunk-S2XZRKHA.js +29 -0
  115. package/dist/chunk-S2XZRKHA.js.map +1 -0
  116. package/dist/chunk-SCIRO4XK.js +144 -0
  117. package/dist/chunk-SCIRO4XK.js.map +1 -0
  118. package/dist/chunk-T3IRLTKK.js +158 -0
  119. package/dist/chunk-T3IRLTKK.js.map +1 -0
  120. package/dist/chunk-TABIUD2L.js +66 -0
  121. package/dist/chunk-TABIUD2L.js.map +1 -0
  122. package/dist/{chunk-FCMZ7TUQ.js → chunk-TAM2FHKG.js} +172 -43
  123. package/dist/chunk-TAM2FHKG.js.map +1 -0
  124. package/dist/chunk-UTMS2P2K.js +288 -0
  125. package/dist/chunk-UTMS2P2K.js.map +1 -0
  126. package/dist/{chunk-HPLT3XRZ.js → chunk-V7WUHUHM.js} +13 -1
  127. package/dist/chunk-V7WUHUHM.js.map +1 -0
  128. package/dist/{table-SSNABG5W.js → chunk-VK6YF2AA.js} +119 -61
  129. package/dist/chunk-VK6YF2AA.js.map +1 -0
  130. package/dist/chunk-WAOU5NGN.js +430 -0
  131. package/dist/chunk-WAOU5NGN.js.map +1 -0
  132. package/dist/chunk-XIH4SCO6.js +112 -0
  133. package/dist/chunk-XIH4SCO6.js.map +1 -0
  134. package/dist/chunk-XR7CY4NI.js +11 -0
  135. package/dist/chunk-XR7CY4NI.js.map +1 -0
  136. package/dist/chunk-YDF55N6Z.js +164 -0
  137. package/dist/chunk-YDF55N6Z.js.map +1 -0
  138. package/dist/chunk-YDPZCVXS.js +923 -0
  139. package/dist/chunk-YDPZCVXS.js.map +1 -0
  140. package/dist/chunk-YG5V7POU.js +137 -0
  141. package/dist/chunk-YG5V7POU.js.map +1 -0
  142. package/dist/chunk-YVSUR7E5.js +151 -0
  143. package/dist/chunk-YVSUR7E5.js.map +1 -0
  144. package/dist/codesample-GHWIC7PT.js +546 -0
  145. package/dist/codesample-GHWIC7PT.js.map +1 -0
  146. package/dist/{comments-panel-HXMWSRAW.js → comments-panel-SOLBZ46Q.js} +9 -5
  147. package/dist/comments-panel-SOLBZ46Q.js.map +1 -0
  148. package/dist/{directionality-5JLWQGP2.js → directionality-EGQKGDZA.js} +13 -10
  149. package/dist/directionality-EGQKGDZA.js.map +1 -0
  150. package/dist/document-0ft41E6d.d.ts +39 -0
  151. package/dist/document-IQqDDT4v.d.cts +39 -0
  152. package/dist/docx.cjs +23518 -0
  153. package/dist/docx.cjs.map +1 -0
  154. package/dist/docx.d.cts +83 -0
  155. package/dist/docx.d.ts +83 -0
  156. package/dist/docx.js +1821 -0
  157. package/dist/docx.js.map +1 -0
  158. package/dist/draghandle-U6CYZHPA.js +389 -0
  159. package/dist/draghandle-U6CYZHPA.js.map +1 -0
  160. package/dist/editimage-5EWPSM22.js +683 -0
  161. package/dist/editimage-5EWPSM22.js.map +1 -0
  162. package/dist/editor-BCMxe1M4.d.cts +2888 -0
  163. package/dist/editor-Dmtwjw2u.d.ts +2888 -0
  164. package/dist/email-ELNMEQ6E.js +177 -0
  165. package/dist/email-ELNMEQ6E.js.map +1 -0
  166. package/dist/email.cjs +588 -0
  167. package/dist/email.cjs.map +1 -0
  168. package/dist/email.d.cts +7 -0
  169. package/dist/email.d.ts +7 -0
  170. package/dist/email.js +21 -0
  171. package/dist/email.js.map +1 -0
  172. package/dist/{emoticons-ZD6ZRIWG.js → emoticons-EGHNZKSA.js} +7 -7
  173. package/dist/emoticons-EGHNZKSA.js.map +1 -0
  174. package/dist/exportpdf-4P7X3NY2.js +91 -0
  175. package/dist/exportpdf-4P7X3NY2.js.map +1 -0
  176. package/dist/exportword-JFJ3KTYZ.js +16 -0
  177. package/dist/exportword-JFJ3KTYZ.js.map +1 -0
  178. package/dist/footnotes-ui-FV6QRGDA.js +449 -0
  179. package/dist/footnotes-ui-FV6QRGDA.js.map +1 -0
  180. package/dist/form-dialog-SNWFPM2K.js +379 -0
  181. package/dist/form-dialog-SNWFPM2K.js.map +1 -0
  182. package/dist/formatpainter-IEXX27OJ.js +209 -0
  183. package/dist/formatpainter-IEXX27OJ.js.map +1 -0
  184. package/dist/fullpagehtml-ui-RE4C2NO5.js +220 -0
  185. package/dist/fullpagehtml-ui-RE4C2NO5.js.map +1 -0
  186. package/dist/html-rules-api-BLDDW9MO.d.cts +42 -0
  187. package/dist/html-rules-api-BLDDW9MO.d.ts +42 -0
  188. package/dist/html-rules.cjs +19 -17
  189. package/dist/html-rules.cjs.map +1 -1
  190. package/dist/html-rules.d.cts +37 -35
  191. package/dist/html-rules.d.ts +37 -35
  192. package/dist/html-rules.js +24 -20
  193. package/dist/html-rules.js.map +1 -1
  194. package/dist/i18n/de.cjs +346 -0
  195. package/dist/i18n/de.cjs.map +1 -1
  196. package/dist/i18n/de.d.cts +1 -1
  197. package/dist/i18n/de.d.ts +1 -1
  198. package/dist/i18n/de.js +346 -0
  199. package/dist/i18n/de.js.map +1 -1
  200. package/dist/i18n/es.cjs +346 -0
  201. package/dist/i18n/es.cjs.map +1 -1
  202. package/dist/i18n/es.d.cts +1 -1
  203. package/dist/i18n/es.d.ts +1 -1
  204. package/dist/i18n/es.js +346 -0
  205. package/dist/i18n/es.js.map +1 -1
  206. package/dist/i18n/fr.cjs +346 -0
  207. package/dist/i18n/fr.cjs.map +1 -1
  208. package/dist/i18n/fr.d.cts +1 -1
  209. package/dist/i18n/fr.d.ts +1 -1
  210. package/dist/i18n/fr.js +346 -0
  211. package/dist/i18n/fr.js.map +1 -1
  212. package/dist/i18n/it.cjs +346 -0
  213. package/dist/i18n/it.cjs.map +1 -1
  214. package/dist/i18n/it.d.cts +1 -1
  215. package/dist/i18n/it.d.ts +1 -1
  216. package/dist/i18n/it.js +346 -0
  217. package/dist/i18n/it.js.map +1 -1
  218. package/dist/i18n/pt-BR.cjs +346 -0
  219. package/dist/i18n/pt-BR.cjs.map +1 -1
  220. package/dist/i18n/pt-BR.d.cts +1 -1
  221. package/dist/i18n/pt-BR.d.ts +1 -1
  222. package/dist/i18n/pt-BR.js +346 -0
  223. package/dist/i18n/pt-BR.js.map +1 -1
  224. package/dist/i18n/ru.cjs +346 -0
  225. package/dist/i18n/ru.cjs.map +1 -1
  226. package/dist/i18n/ru.d.cts +3 -3
  227. package/dist/i18n/ru.d.ts +3 -3
  228. package/dist/i18n/ru.js +346 -0
  229. package/dist/i18n/ru.js.map +1 -1
  230. package/dist/importcss-JLNIRKGH.js +127 -0
  231. package/dist/importcss-JLNIRKGH.js.map +1 -0
  232. package/dist/importword-D7Z6RXGQ.js +73 -0
  233. package/dist/importword-D7Z6RXGQ.js.map +1 -0
  234. package/dist/{index-C603bU6r.d.ts → index-CZ9yDvmQ.d.cts} +36 -17
  235. package/dist/{index-C603bU6r.d.cts → index-CZ9yDvmQ.d.ts} +36 -17
  236. package/dist/index.cjs +28858 -10442
  237. package/dist/index.cjs.map +1 -1
  238. package/dist/index.d.cts +138 -64
  239. package/dist/index.d.ts +138 -64
  240. package/dist/index.js +199 -1411
  241. package/dist/index.js.map +1 -1
  242. package/dist/{insertdatetime-CRO7TJAQ.js → insertdatetime-YW2VHYZH.js} +7 -7
  243. package/dist/insertdatetime-YW2VHYZH.js.map +1 -0
  244. package/dist/linkchecker-3S3MCPOS.js +287 -0
  245. package/dist/linkchecker-3S3MCPOS.js.map +1 -0
  246. package/dist/markdown-26O3N3T2.js +136 -0
  247. package/dist/markdown-26O3N3T2.js.map +1 -0
  248. package/dist/markdown.cjs +94 -11
  249. package/dist/markdown.cjs.map +1 -1
  250. package/dist/markdown.d.cts +12 -10
  251. package/dist/markdown.d.ts +12 -10
  252. package/dist/markdown.js +4 -235
  253. package/dist/markdown.js.map +1 -1
  254. package/dist/math-ui-RUTCHTRY.js +157 -0
  255. package/dist/math-ui-RUTCHTRY.js.map +1 -0
  256. package/dist/media-ui-36TE3CJD.js +123 -0
  257. package/dist/media-ui-36TE3CJD.js.map +1 -0
  258. package/dist/mediaembed-ui-ZNTGZ2SQ.js +207 -0
  259. package/dist/mediaembed-ui-ZNTGZ2SQ.js.map +1 -0
  260. package/dist/mentions-ui-O4IPWQT4.js +58 -0
  261. package/dist/mentions-ui-O4IPWQT4.js.map +1 -0
  262. package/dist/mergetags-ui-HS3Q2R36.js +73 -0
  263. package/dist/mergetags-ui-HS3Q2R36.js.map +1 -0
  264. package/dist/{nonbreaking-66LFZV2W.js → nonbreaking-GYRUH4UO.js} +7 -7
  265. package/dist/nonbreaking-GYRUH4UO.js.map +1 -0
  266. package/dist/pagebreak-ui-I4ZPYK3U.js +50 -0
  267. package/dist/pagebreak-ui-I4ZPYK3U.js.map +1 -0
  268. package/dist/pageembed-ui-WOY6VWRJ.js +172 -0
  269. package/dist/pageembed-ui-WOY6VWRJ.js.map +1 -0
  270. package/dist/pagelayout-ui-Y2IM7FJQ.js +236 -0
  271. package/dist/pagelayout-ui-Y2IM7FJQ.js.map +1 -0
  272. package/dist/{paste-office-F3QW4WWO.js → paste-office-3A6KWKCV.js} +82 -2
  273. package/dist/paste-office-3A6KWKCV.js.map +1 -0
  274. package/dist/permanentpen-6D5LLKFX.js +206 -0
  275. package/dist/permanentpen-6D5LLKFX.js.map +1 -0
  276. package/dist/print-MZMLQIQX.js +178 -0
  277. package/dist/print-MZMLQIQX.js.map +1 -0
  278. package/dist/{quickbars-7E2QRS7J.js → quickbars-UZ2Q67TX.js} +20 -12
  279. package/dist/quickbars-UZ2Q67TX.js.map +1 -0
  280. package/dist/{revisionhistory-DXE7KU4R.js → revisionhistory-ACRB23HL.js} +42 -153
  281. package/dist/revisionhistory-ACRB23HL.js.map +1 -0
  282. package/dist/save-72ZLF6AO.js +120 -0
  283. package/dist/save-72ZLF6AO.js.map +1 -0
  284. package/dist/search-bar-HTZQNPD3.js +212 -0
  285. package/dist/search-bar-HTZQNPD3.js.map +1 -0
  286. package/dist/spellchecker-DJ7SP5JY.js +474 -0
  287. package/dist/spellchecker-DJ7SP5JY.js.map +1 -0
  288. package/dist/suggestions-panel-RJXC4LCM.js +596 -0
  289. package/dist/suggestions-panel-RJXC4LCM.js.map +1 -0
  290. package/dist/suggestions-ui-PODMNH7D.js +395 -0
  291. package/dist/suggestions-ui-PODMNH7D.js.map +1 -0
  292. package/dist/table-OBHE465Y.js +54 -0
  293. package/dist/table-OBHE465Y.js.map +1 -0
  294. package/dist/table-dialogs-UMIIZQYE.js +119 -0
  295. package/dist/table-dialogs-UMIIZQYE.js.map +1 -0
  296. package/dist/tableofcontents-ui-U2PYNPX6.js +167 -0
  297. package/dist/tableofcontents-ui-U2PYNPX6.js.map +1 -0
  298. package/dist/template-YYC2MGVH.js +278 -0
  299. package/dist/template-YYC2MGVH.js.map +1 -0
  300. package/dist/typography-EQUXUXIN.js +399 -0
  301. package/dist/typography-EQUXUXIN.js.map +1 -0
  302. package/dist/upload.cjs +160 -0
  303. package/dist/upload.cjs.map +1 -0
  304. package/dist/upload.d.cts +72 -0
  305. package/dist/upload.d.ts +72 -0
  306. package/dist/upload.js +132 -0
  307. package/dist/upload.js.map +1 -0
  308. package/dist/{visualblocks-6DLBXYOA.js → visualblocks-O5QW7ZDT.js} +7 -7
  309. package/dist/visualblocks-O5QW7ZDT.js.map +1 -0
  310. package/dist/visualchars-UQFRWQPE.js +134 -0
  311. package/dist/visualchars-UQFRWQPE.js.map +1 -0
  312. package/package.json +53 -3
  313. package/src/style.css +320 -544
  314. package/dist/advlist-5FNKPLUX.js.map +0 -1
  315. package/dist/autolink-45LTODWB.js.map +0 -1
  316. package/dist/autoresize-UB3GOA6D.js.map +0 -1
  317. package/dist/autosave-GMWJ5BPE.js.map +0 -1
  318. package/dist/charmap-2GC7LF7G.js.map +0 -1
  319. package/dist/chunk-5AW2HHG6.js.map +0 -1
  320. package/dist/chunk-DWZLSZDG.js +0 -5664
  321. package/dist/chunk-DWZLSZDG.js.map +0 -1
  322. package/dist/chunk-FCMZ7TUQ.js.map +0 -1
  323. package/dist/chunk-HPLT3XRZ.js.map +0 -1
  324. package/dist/chunk-JPJVTB45.js.map +0 -1
  325. package/dist/chunk-KPE3QRPB.js.map +0 -1
  326. package/dist/chunk-KWXFL4WS.js.map +0 -1
  327. package/dist/chunk-ND2CWNVG.js.map +0 -1
  328. package/dist/chunk-PVFKXRID.js.map +0 -1
  329. package/dist/chunk-R2UMUCVI.js.map +0 -1
  330. package/dist/chunk-T3GY6IVK.js.map +0 -1
  331. package/dist/chunk-Z3ELZ77W.js.map +0 -1
  332. package/dist/comments-panel-HXMWSRAW.js.map +0 -1
  333. package/dist/directionality-5JLWQGP2.js.map +0 -1
  334. package/dist/editor-CXkltf1R.d.ts +0 -1886
  335. package/dist/editor-CgSBFTke.d.cts +0 -1886
  336. package/dist/emoticons-ZD6ZRIWG.js.map +0 -1
  337. package/dist/form-dialog-QH6KAERD.js +0 -180
  338. package/dist/form-dialog-QH6KAERD.js.map +0 -1
  339. package/dist/html-rules-api-D3fKQi-R.d.cts +0 -40
  340. package/dist/html-rules-api-D3fKQi-R.d.ts +0 -40
  341. package/dist/insertdatetime-CRO7TJAQ.js.map +0 -1
  342. package/dist/nonbreaking-66LFZV2W.js.map +0 -1
  343. package/dist/paste-office-F3QW4WWO.js.map +0 -1
  344. package/dist/quickbars-7E2QRS7J.js.map +0 -1
  345. package/dist/revisionhistory-DXE7KU4R.js.map +0 -1
  346. package/dist/table-SSNABG5W.js.map +0 -1
  347. package/dist/visualblocks-6DLBXYOA.js.map +0 -1
package/src/style.css CHANGED
@@ -1,15 +1,17 @@
1
1
  /*
2
- * NovaProse — базовый скин.
3
- * Все цвета и размеры — CSS-переменные (дизайн-токены, PRD §4.3). Тёмная тема — через
4
- * prefers-color-scheme или data-theme="dark" на любом предке; data-theme="light" фиксирует светлую.
2
+ * NovaProse: the base skin.
3
+ * Every color and size is a CSS variable (design tokens). The dark theme comes from
4
+ * prefers-color-scheme or data-theme="dark" on any ancestor; data-theme="light" pins the light one.
5
5
  */
6
6
 
7
- /* ======================= токены ======================= */
7
+ /* ======================= tokens ======================= */
8
8
 
9
- .nova-editor {
9
+ /* The sheet of the page mode (pagelayout) is paper: light tokens in the dark theme too. */
10
+ .nova-editor,
11
+ .nova-pages .nova-prosemirror {
10
12
  --nova-bg: #ffffff;
11
13
  --nova-fg: #1f2328;
12
- --nova-muted: #59636e; /* ≥4.5:1 на всех поверхностях, включая hover/pressed */
14
+ --nova-muted: #59636e; /* ≥4.5:1 on every surface, hover/pressed included */
13
15
  --nova-subtle: #8c959f;
14
16
  --nova-border: #d0d7de;
15
17
  --nova-border-strong: #afb8c1;
@@ -22,7 +24,7 @@
22
24
  --nova-accent: #0969da;
23
25
  --nova-accent-hover: #0858b9;
24
26
  --nova-accent-fg: #ffffff;
25
- /* Заливка кнопок с белым текстом: контраст не ниже 4.5:1 (WCAG AA). */
27
+ /* Button fills with white text: contrast of at least 4.5:1 (WCAG AA). */
26
28
  --nova-accent-strong: #0969da;
27
29
  --nova-accent-strong-hover: #0858b9;
28
30
  --nova-focus: #0969da;
@@ -61,7 +63,7 @@
61
63
  [data-theme='dark'] .nova-editor {
62
64
  --nova-bg: #0d1117;
63
65
  --nova-fg: #e6edf3;
64
- --nova-muted: #9198a1; /* ≥4.5:1 на всех поверхностях, включая hover/pressed */
66
+ --nova-muted: #9198a1; /* ≥4.5:1 on every surface, hover/pressed included */
65
67
  --nova-subtle: #6e7681;
66
68
  --nova-border: #30363d;
67
69
  --nova-border-strong: #484f58;
@@ -74,7 +76,7 @@
74
76
  --nova-accent: #2f81f7;
75
77
  --nova-accent-hover: #4493f8;
76
78
  --nova-accent-fg: #ffffff;
77
- /* #2f81f7 с белым — 3.7:1, ниже AA; для заливки — темнее (4.6:1). */
79
+ /* #2f81f7 with white is 3.7:1, below AA; fills use a darker shade (4.6:1). */
78
80
  --nova-accent-strong: #1f6feb;
79
81
  --nova-accent-strong-hover: #1a63d6;
80
82
  --nova-focus: #58a6ff;
@@ -103,7 +105,7 @@
103
105
  .nova-editor:not([data-theme='light'] *) {
104
106
  --nova-bg: #0d1117;
105
107
  --nova-fg: #e6edf3;
106
- --nova-muted: #9198a1; /* ≥4.5:1 на всех поверхностях, включая hover/pressed */
108
+ --nova-muted: #9198a1; /* ≥4.5:1 on every surface, hover/pressed included */
107
109
  --nova-subtle: #6e7681;
108
110
  --nova-border: #30363d;
109
111
  --nova-border-strong: #484f58;
@@ -116,7 +118,7 @@
116
118
  --nova-accent: #2f81f7;
117
119
  --nova-accent-hover: #4493f8;
118
120
  --nova-accent-fg: #ffffff;
119
- /* #2f81f7 с белым — 3.7:1, ниже AA; для заливки — темнее (4.6:1). */
121
+ /* #2f81f7 with white is 3.7:1, below AA; fills use a darker shade (4.6:1). */
120
122
  --nova-accent-strong: #1f6feb;
121
123
  --nova-accent-strong-hover: #1a63d6;
122
124
  --nova-focus: #58a6ff;
@@ -142,7 +144,7 @@
142
144
  }
143
145
  }
144
146
 
145
- /* ======================= каркас ======================= */
147
+ /* ======================= frame ======================= */
146
148
 
147
149
  .nova-editor {
148
150
  position: relative;
@@ -192,9 +194,9 @@
192
194
  outline-offset: 1px;
193
195
  }
194
196
 
195
- /* ======================= тулбар ======================= */
197
+ /* ======================= toolbar ======================= */
196
198
 
197
- /* Шапка (менюбар + тулбар) — липкая целиком: тулбар внутри неё не смог бы прилипнуть. */
199
+ /* The header (menubar + toolbar) is sticky as a whole: a toolbar inside it couldn't stick. */
198
200
  .nova-header {
199
201
  position: sticky;
200
202
  top: 0;
@@ -217,7 +219,7 @@
217
219
  border-radius: inherit;
218
220
  }
219
221
 
220
- /* ---------- менюбар ---------- */
222
+ /* ---------- menubar ---------- */
221
223
 
222
224
  .nova-menubar {
223
225
  display: flex;
@@ -246,9 +248,9 @@
246
248
  background: var(--nova-hover);
247
249
  }
248
250
 
249
- /* ---------- режимы inline и distraction-free ---------- */
251
+ /* ---------- inline and distraction-free modes ---------- */
250
252
 
251
- /* Редактор встроен в страницу: без рамки и фона, шрифт и цвет — как у страницы. */
253
+ /* The editor is part of the page: no frame or background, the font and color of the page. */
252
254
  .nova-editor.nova-mode-inline,
253
255
  .nova-editor.nova-mode-distraction-free {
254
256
  border: 0;
@@ -263,17 +265,17 @@
263
265
  font-size: inherit;
264
266
  }
265
267
 
266
- /* Видимая граница редактируемой области при фокусе — иначе непонятно, что текст можно править. */
268
+ /* A visible border of the editable area on focus, otherwise it isn't clear the text can be edited. */
267
269
  .nova-mode-inline.is-focused .nova-content,
268
270
  .nova-mode-distraction-free.is-focused .nova-content {
269
271
  border-radius: var(--nova-radius-sm);
270
272
  box-shadow: 0 0 0 2px var(--nova-focus);
271
273
  }
272
274
 
273
- /* inline: шапка всплывает над текстом при фокусе. */
275
+ /* inline: the header floats above the text on focus. */
274
276
  .nova-mode-inline .nova-header {
275
277
  position: absolute;
276
- /* top: 0 от sticky-правила сбрасываем: с top и bottom сразу высота схлопывается. */
278
+ /* Reset top: 0 from the sticky rule: with both top and bottom the height collapses. */
277
279
  top: auto;
278
280
  left: 0;
279
281
  right: 0;
@@ -296,14 +298,32 @@
296
298
  flex: 1;
297
299
  }
298
300
 
299
- .nova-toolbar-sliding {
301
+ .nova-toolbar-floating,
302
+ .nova-toolbar-sliding,
303
+ .nova-toolbar-scrolling {
300
304
  flex-wrap: nowrap;
301
305
  overflow: hidden;
302
- /* Ширина тулбара не должна распирать контейнер клиента (grid/flex): иначе при переносе
303
- групп в «⋯» контейнер сужается, ResizeObserver перезапускает раскладку — цикл. */
306
+ /* The toolbar width must not stretch the customer's container (grid/flex): otherwise when groups
307
+ move into "⋯" the container shrinks, ResizeObserver restarts the layout, and it loops. */
304
308
  contain: inline-size;
305
309
  }
306
310
 
311
+ /* One row that scrolls sideways (a swipe, Shift+wheel); the focused button scrolls into view. */
312
+ .nova-toolbar-scrolling {
313
+ overflow-x: auto;
314
+ overscroll-behavior-x: contain;
315
+ scrollbar-width: thin;
316
+ }
317
+
318
+ /* "Sliding": the groups that don't fit, in a strip under the toolbar. */
319
+ .nova-tb-strip {
320
+ flex-wrap: wrap;
321
+ border-top: 1px solid var(--nova-border);
322
+ }
323
+ .nova-tb-strip[hidden] {
324
+ display: none;
325
+ }
326
+
307
327
  .nova-tb-group {
308
328
  display: flex;
309
329
  flex: none;
@@ -393,10 +413,11 @@
393
413
  padding: 0 2px 0 5px;
394
414
  }
395
415
 
416
+ /* The color under the letter: the letter stays on the line of the other icons, the bar just below it. */
396
417
  .nova-color-bar {
397
418
  position: absolute;
398
419
  inset-inline-start: 8px;
399
- bottom: 4px;
420
+ bottom: 5px;
400
421
  width: 18px;
401
422
  height: 3px;
402
423
  border-radius: 2px;
@@ -407,24 +428,20 @@
407
428
  background: var(--nova-fg);
408
429
  }
409
430
 
410
- .nova-tb-panel .nova-icon:first-child svg {
411
- transform: translateY(-2px);
412
- }
413
-
414
- /* ======================= область редактирования ======================= */
431
+ /* ======================= editing area ======================= */
415
432
 
416
433
  .nova-content {
417
434
  flex: 1;
418
435
  overflow: auto;
419
- /* Ширину задаёт страница, а не содержимое: иначе широкая таблица или длинная строка кода
420
- раздувают весь редактор на узком экране вместо прокрутки внутри. */
436
+ /* The width comes from the page, not the content: otherwise a wide table or a long line of code
437
+ inflates the whole editor on a narrow screen instead of scrolling inside. */
421
438
  contain: inline-size;
422
439
  min-width: 0;
423
440
  }
424
441
 
425
442
  .nova-prosemirror {
426
443
  position: relative;
427
- /* Содержит плавающие (float) картинки внутри области текста. */
444
+ /* Contains floating images inside the text area. */
428
445
  display: flow-root;
429
446
  min-height: var(--nova-min-height);
430
447
  padding: 16px 20px;
@@ -447,8 +464,10 @@
447
464
 
448
465
  .nova-prosemirror.nova-empty::before {
449
466
  content: attr(data-placeholder);
467
+ /* Empty alternative text: screen readers get aria-placeholder instead (older browsers skip this line). */
468
+ content: attr(data-placeholder) / '';
450
469
  position: absolute;
451
- /* Текст — контраст AA (4.5:1), поэтому muted, а не subtle. */
470
+ /* Text needs AA contrast (4.5:1), so muted, not subtle. */
452
471
  color: var(--nova-muted);
453
472
  pointer-events: none;
454
473
  }
@@ -486,6 +505,9 @@
486
505
  font-family: var(--nova-mono);
487
506
  font-size: 14px;
488
507
  white-space: pre-wrap;
508
+ /* Code is written left to right even in an Arabic or Hebrew document. */
509
+ direction: ltr;
510
+ text-align: left;
489
511
  }
490
512
 
491
513
  .nova-prosemirror code {
@@ -522,7 +544,7 @@
522
544
  border-radius: 2px;
523
545
  }
524
546
 
525
- /* Картинка с подписью: таблица — подпись по ширине картинки, при любом выравнивании. */
547
+ /* An image with a caption: a table, so the caption is as wide as the image with any alignment. */
526
548
  .nova-prosemirror figure {
527
549
  display: table !important;
528
550
  margin: 0.75em 0;
@@ -547,7 +569,7 @@
547
569
  text-align: center;
548
570
  }
549
571
 
550
- /* Пустая подпись — приглашение на языке интерфейса (текст в --nova-caption-placeholder). */
572
+ /* An empty caption shows a prompt in the interface language (the text is in --nova-caption-placeholder). */
551
573
  .nova-prosemirror figcaption:has(> br.ProseMirror-trailingBreak:only-child)::before {
552
574
  content: var(--nova-caption-placeholder, '');
553
575
  color: var(--nova-muted);
@@ -564,9 +586,9 @@
564
586
  animation: nova-pulse 1.2s ease-in-out infinite;
565
587
  }
566
588
 
567
- /* ---------- таблицы ---------- */
589
+ /* ---------- tables ---------- */
568
590
 
569
- /* Обёртка от prosemirror-tables: широкая таблица прокручивается, а не ломает вёрстку (мобильные). */
591
+ /* The wrapper from prosemirror-tables: a wide table scrolls instead of breaking the layout (mobile). */
570
592
  .nova-prosemirror .tableWrapper {
571
593
  margin: 0 0 1em;
572
594
  overflow-x: auto;
@@ -600,7 +622,7 @@
600
622
  margin-bottom: 0;
601
623
  }
602
624
 
603
- /* Выделение нескольких ячеек (CellSelection). */
625
+ /* A selection of several cells (CellSelection). */
604
626
  .nova-prosemirror .selectedCell::after {
605
627
  content: '';
606
628
  position: absolute;
@@ -610,7 +632,7 @@
610
632
  pointer-events: none;
611
633
  }
612
634
 
613
- /* Маркер ресайза колонки. */
635
+ /* Column resize handle. */
614
636
  .nova-prosemirror .column-resize-handle {
615
637
  position: absolute;
616
638
  top: 0;
@@ -626,7 +648,7 @@
626
648
  cursor: col-resize;
627
649
  }
628
650
 
629
- /* Сетка выбора размера таблицы. */
651
+ /* The table size picker grid. */
630
652
  .nova-grid-panel {
631
653
  display: flex;
632
654
  flex-direction: column;
@@ -661,7 +683,7 @@
661
683
  text-align: center;
662
684
  }
663
685
 
664
- /* ---------- картинка: обёртка NodeView, маркеры ресайза, выравнивание ---------- */
686
+ /* ---------- image: NodeView wrapper, resize handles, alignment ---------- */
665
687
 
666
688
  .nova-image {
667
689
  position: relative;
@@ -712,7 +734,7 @@
712
734
  touch-action: none;
713
735
  }
714
736
 
715
- /* Увеличенная невидимая зона нажатия для пальца. */
737
+ /* A larger invisible touch area for a finger. */
716
738
  .nova-image-handle::after {
717
739
  content: '';
718
740
  position: absolute;
@@ -751,7 +773,7 @@
751
773
  cursor: nwse-resize;
752
774
  }
753
775
 
754
- /* Размер во время ресайза. */
776
+ /* The size while resizing. */
755
777
  .nova-image[data-size]::after {
756
778
  content: attr(data-size);
757
779
  position: absolute;
@@ -784,7 +806,7 @@
784
806
  cursor: default;
785
807
  }
786
808
 
787
- /* ======================= поиск и замена ======================= */
809
+ /* ======================= search and replace ======================= */
788
810
 
789
811
  .nova-search {
790
812
  display: flex;
@@ -848,7 +870,7 @@
848
870
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.9);
849
871
  }
850
872
 
851
- /* ======================= полноэкранный режим ======================= */
873
+ /* ======================= fullscreen ======================= */
852
874
 
853
875
  .nova-editor.nova-fullscreen {
854
876
  position: fixed;
@@ -868,7 +890,7 @@
868
890
  overflow: auto;
869
891
  }
870
892
 
871
- /* Текст в полноэкранном режиме — удобной для чтения ширины, по центру. */
893
+ /* In fullscreen the text gets a comfortable reading width, centered. */
872
894
  .nova-fullscreen .nova-prosemirror {
873
895
  max-width: 860px;
874
896
  min-height: 100%;
@@ -881,7 +903,7 @@ html.nova-fullscreen-lock body {
881
903
  overflow: hidden;
882
904
  }
883
905
 
884
- /* ======================= предпросмотр, код, справка ======================= */
906
+ /* ======================= preview, source code, help ======================= */
885
907
 
886
908
  .nova-dialog.nova-dialog-large {
887
909
  width: min(900px, 100%);
@@ -921,20 +943,21 @@ html.nova-fullscreen-lock body {
921
943
  letter-spacing: 0.03em;
922
944
  }
923
945
 
924
- .nova-help-table {
925
- width: 100%;
926
- border-collapse: collapse;
946
+ .nova-help-list {
947
+ margin: 0;
948
+ padding: 0;
949
+ list-style: none;
927
950
  }
928
951
 
929
- .nova-help-table td {
952
+ .nova-help-list li {
953
+ display: flex;
954
+ justify-content: space-between;
955
+ align-items: baseline;
956
+ gap: 12px;
930
957
  padding: 5px 0;
931
958
  border-bottom: 1px solid var(--nova-border);
932
959
  }
933
960
 
934
- .nova-help-table td:last-child {
935
- text-align: end;
936
- }
937
-
938
961
  .nova-help kbd {
939
962
  padding: 2px 6px;
940
963
  border: 1px solid var(--nova-border);
@@ -946,7 +969,7 @@ html.nova-fullscreen-lock body {
946
969
  white-space: nowrap;
947
970
  }
948
971
 
949
- /* ======================= статусбар ======================= */
972
+ /* ======================= statusbar ======================= */
950
973
 
951
974
  .nova-statusbar {
952
975
  display: flex;
@@ -959,7 +982,7 @@ html.nova-fullscreen-lock body {
959
982
  border-radius: 0 0 var(--nova-radius) var(--nova-radius);
960
983
  color: var(--nova-muted);
961
984
  font-size: 12px;
962
- /* Служебная строка: не выделяется при перетаскивании ручки размера. */
985
+ /* A service line: not selected while dragging the resize handle. */
963
986
  user-select: none;
964
987
  }
965
988
 
@@ -996,9 +1019,9 @@ html.nova-fullscreen-lock body {
996
1019
  cursor: nwse-resize;
997
1020
  }
998
1021
 
999
- /* ---------- справа налево ---------- */
1022
+ /* ---------- right to left ---------- */
1000
1023
 
1001
- /* Ручка размера — в левом нижнем углу: иконку и курсор отражаем. */
1024
+ /* The resize handle sits in the bottom left corner: the icon and the cursor are mirrored. */
1002
1025
  [dir='rtl'] .nova-editor[data-resize='both'] .nova-resize-handle,
1003
1026
  .nova-editor[dir='rtl'][data-resize='both'] .nova-resize-handle {
1004
1027
  cursor: nesw-resize;
@@ -1008,8 +1031,8 @@ html.nova-fullscreen-lock body {
1008
1031
  transform: scaleX(-1);
1009
1032
  }
1010
1033
 
1011
- /* Иконки со смыслом направления (стрелки отмены, отступы, списки) отражаем,
1012
- как принято в интерфейсах справа налево. Остальные (жирный, ссылка, картинка) — как есть. */
1034
+ /* Icons with a sense of direction (undo arrows, indents, lists) are mirrored,
1035
+ as right-to-left interfaces do. The others (bold, link, image) stay as they are. */
1013
1036
  :is([dir='rtl'] .nova-editor, .nova-editor[dir='rtl'])
1014
1037
  :is(
1015
1038
  [data-control='undo'],
@@ -1033,7 +1056,7 @@ html.nova-fullscreen-lock body {
1033
1056
  outline-offset: 1px;
1034
1057
  }
1035
1058
 
1036
- /* ======================= отключённый редактор ======================= */
1059
+ /* ======================= disabled editor ======================= */
1037
1060
 
1038
1061
  .nova-disabled .nova-content,
1039
1062
  .nova-disabled .nova-header,
@@ -1045,7 +1068,7 @@ html.nova-fullscreen-lock body {
1045
1068
  cursor: not-allowed;
1046
1069
  }
1047
1070
 
1048
- /* ======================= оверлеи ======================= */
1071
+ /* ======================= overlays ======================= */
1049
1072
 
1050
1073
  .nova-popover,
1051
1074
  .nova-tooltip,
@@ -1073,7 +1096,7 @@ html.nova-fullscreen-lock body {
1073
1096
  padding: 2px;
1074
1097
  }
1075
1098
 
1076
- /* ---------- меню ---------- */
1099
+ /* ---------- menu ---------- */
1077
1100
 
1078
1101
  .nova-menu {
1079
1102
  display: flex;
@@ -1125,7 +1148,7 @@ html.nova-fullscreen-lock body {
1125
1148
 
1126
1149
  .nova-menu-shortcut {
1127
1150
  margin-inline-start: 16px;
1128
- /* Текст — контраст AA (4.5:1), поэтому muted, а не subtle. */
1151
+ /* Text needs AA contrast (4.5:1), so muted, not subtle. */
1129
1152
  color: var(--nova-muted);
1130
1153
  font-family: var(--nova-font);
1131
1154
  font-size: 12px;
@@ -1146,7 +1169,7 @@ html.nova-fullscreen-lock body {
1146
1169
  text-transform: uppercase;
1147
1170
  }
1148
1171
 
1149
- /* ---------- автокомплитер / слэш-команды ---------- */
1172
+ /* ---------- autocompleter / slash commands ---------- */
1150
1173
 
1151
1174
  .nova-ac {
1152
1175
  min-width: 240px;
@@ -1175,7 +1198,7 @@ html.nova-fullscreen-lock body {
1175
1198
  color: var(--nova-muted);
1176
1199
  }
1177
1200
 
1178
- /* ---------- палитра ---------- */
1201
+ /* ---------- color palette ---------- */
1179
1202
 
1180
1203
  .nova-color-panel {
1181
1204
  display: flex;
@@ -1190,7 +1213,7 @@ html.nova-fullscreen-lock body {
1190
1213
  gap: 4px;
1191
1214
  }
1192
1215
 
1193
- /* Строка палитры нужна только для ARIA (role=row) — в раскладке её нет. */
1216
+ /* The palette row exists only for ARIA (role=row): it takes no part in the layout. */
1194
1217
  .nova-swatch-row {
1195
1218
  display: contents;
1196
1219
  }
@@ -1262,7 +1285,7 @@ html.nova-fullscreen-lock body {
1262
1285
  cursor: pointer;
1263
1286
  }
1264
1287
 
1265
- /* ---------- подсказка ---------- */
1288
+ /* ---------- tooltip ---------- */
1266
1289
 
1267
1290
  .nova-tooltip {
1268
1291
  display: flex;
@@ -1274,7 +1297,8 @@ html.nova-fullscreen-lock body {
1274
1297
  color: var(--nova-tooltip-fg);
1275
1298
  font-size: 12px;
1276
1299
  line-height: 1.4;
1277
- pointer-events: none;
1300
+ /* The pointer can rest on it (WCAG 1.4.13). */
1301
+ pointer-events: auto;
1278
1302
  white-space: nowrap;
1279
1303
  }
1280
1304
 
@@ -1287,7 +1311,7 @@ html.nova-fullscreen-lock body {
1287
1311
  font-family: var(--nova-font);
1288
1312
  }
1289
1313
 
1290
- /* ---------- панель ссылки ---------- */
1314
+ /* ---------- link bubble ---------- */
1291
1315
 
1292
1316
  .nova-bubble {
1293
1317
  display: flex;
@@ -1306,11 +1330,11 @@ html.nova-fullscreen-lock body {
1306
1330
  display: none;
1307
1331
  }
1308
1332
 
1309
- .nova-bubble > .nova-icon {
1333
+ .nova-bubble-row > .nova-icon {
1310
1334
  color: var(--nova-muted);
1311
1335
  }
1312
1336
 
1313
- .nova-bubble > .nova-icon svg {
1337
+ .nova-bubble-row > .nova-icon svg {
1314
1338
  width: 14px;
1315
1339
  height: 14px;
1316
1340
  }
@@ -1326,6 +1350,32 @@ html.nova-fullscreen-lock body {
1326
1350
  font-size: 13px;
1327
1351
  }
1328
1352
 
1353
+ /* The link bubble: the address with its buttons, and under it a plugin's note (the link checker). */
1354
+ .nova-link-bubble {
1355
+ flex-direction: column;
1356
+ align-items: stretch;
1357
+ }
1358
+ .nova-bubble-row {
1359
+ display: flex;
1360
+ align-items: center;
1361
+ gap: 2px;
1362
+ min-width: 0;
1363
+ }
1364
+ .nova-bubble-note {
1365
+ display: flex;
1366
+ align-items: center;
1367
+ justify-content: space-between;
1368
+ gap: 8px;
1369
+ margin-top: 4px;
1370
+ padding-top: 4px;
1371
+ border-top: 1px solid var(--nova-border);
1372
+ font-size: 13px;
1373
+ }
1374
+ .nova-bubble-note[hidden],
1375
+ .nova-bubble-note-action[hidden] {
1376
+ display: none;
1377
+ }
1378
+
1329
1379
  .nova-context-toolbar {
1330
1380
  padding: 4px;
1331
1381
  }
@@ -1337,11 +1387,25 @@ html.nova-fullscreen-lock body {
1337
1387
  gap: 2px;
1338
1388
  }
1339
1389
 
1340
- /* На узком экране панель (например, таблицы) переносится в несколько строк, а не уходит за край. */
1390
+ /* On a narrow screen a toolbar (a table's, for example) wraps onto several lines instead of running off the edge. */
1341
1391
  .nova-context-toolbar {
1342
1392
  max-width: calc(100vw - 16px);
1343
1393
  }
1344
1394
 
1395
+ /* Touch screens: the selection toolbar sits above the keyboard, full width (context-toolbar.ts). */
1396
+ .nova-context-toolbar-docked {
1397
+ justify-content: center;
1398
+ max-width: none;
1399
+ border-width: 1px 0 0;
1400
+ border-radius: 0;
1401
+ animation: nova-fade-in 0.12s ease-out;
1402
+ }
1403
+
1404
+ .nova-context-toolbar-docked .nova-context-items {
1405
+ flex-wrap: nowrap;
1406
+ overflow-x: auto;
1407
+ }
1408
+
1345
1409
  .nova-bubble-sep {
1346
1410
  width: 1px;
1347
1411
  height: 20px;
@@ -1349,7 +1413,7 @@ html.nova-fullscreen-lock body {
1349
1413
  background: var(--nova-border);
1350
1414
  }
1351
1415
 
1352
- /* ---------- уведомления ---------- */
1416
+ /* ---------- notifications ---------- */
1353
1417
 
1354
1418
  .nova-notifications {
1355
1419
  position: absolute;
@@ -1410,7 +1474,7 @@ html.nova-fullscreen-lock body {
1410
1474
  height: 14px;
1411
1475
  }
1412
1476
 
1413
- /* ---------- диалог ---------- */
1477
+ /* ---------- dialog ---------- */
1414
1478
 
1415
1479
  .nova-dialog-backdrop {
1416
1480
  position: fixed;
@@ -1439,6 +1503,11 @@ html.nova-fullscreen-lock body {
1439
1503
  animation: nova-pop-in 0.15s ease-out;
1440
1504
  }
1441
1505
 
1506
+ /* The dialog itself takes focus only to keep it after a click in Safari: no ring for that. */
1507
+ .nova-dialog:focus {
1508
+ outline: none;
1509
+ }
1510
+
1442
1511
  .nova-dialog-header {
1443
1512
  display: flex;
1444
1513
  align-items: center;
@@ -1505,30 +1574,6 @@ html.nova-fullscreen-lock body {
1505
1574
  font-size: 12px;
1506
1575
  }
1507
1576
 
1508
- /* Диалоги по описанию полей (editor.ui.dialog) */
1509
- .nova-required {
1510
- color: var(--nova-danger);
1511
- }
1512
- .nova-field-error {
1513
- margin: 0;
1514
- color: var(--nova-danger);
1515
- font-size: 12px;
1516
- }
1517
- .nova-input[aria-invalid='true'] {
1518
- border-color: var(--nova-danger);
1519
- }
1520
- .nova-form-message {
1521
- margin: 0;
1522
- padding: 8px 10px;
1523
- border-radius: var(--nova-radius-sm);
1524
- background: var(--nova-hover);
1525
- }
1526
- .nova-form-message.is-warning,
1527
- .nova-form-message.is-error {
1528
- background: var(--nova-danger-bg);
1529
- color: var(--nova-danger);
1530
- }
1531
-
1532
1577
  .nova-input-group {
1533
1578
  display: flex;
1534
1579
  gap: 6px;
@@ -1638,7 +1683,7 @@ html.nova-fullscreen-lock body {
1638
1683
  display: flex;
1639
1684
  align-items: center;
1640
1685
  gap: 10px;
1641
- /* Текст («или»), а не декор: нужен контраст AA — muted, не subtle. */
1686
+ /* Text ("or"), not decoration: it needs AA contrast, so muted, not subtle. */
1642
1687
  color: var(--nova-muted);
1643
1688
  font-size: 12px;
1644
1689
  text-transform: uppercase;
@@ -1652,7 +1697,7 @@ html.nova-fullscreen-lock body {
1652
1697
  background: var(--nova-border);
1653
1698
  }
1654
1699
 
1655
- /* Узкий экран: диалог — нижний лист, крупнее зоны нажатия. */
1700
+ /* Narrow screens: the dialog is a bottom sheet with larger touch areas. */
1656
1701
  @media (max-width: 600px) {
1657
1702
  .nova-dialog-backdrop {
1658
1703
  align-items: flex-end;
@@ -1686,7 +1731,7 @@ html.nova-fullscreen-lock body {
1686
1731
  }
1687
1732
  }
1688
1733
 
1689
- /* ======================= анимации ======================= */
1734
+ /* ======================= animations ======================= */
1690
1735
 
1691
1736
  @keyframes nova-pop-in {
1692
1737
  from {
@@ -1722,11 +1767,11 @@ html.nova-fullscreen-lock body {
1722
1767
  }
1723
1768
  }
1724
1769
 
1725
- /* ======================= обязательные стили ProseMirror ======================= */
1770
+ /* ======================= styles ProseMirror requires ======================= */
1726
1771
 
1727
- /* Служебная картинка ProseMirror после нередактируемого элемента в конце абзаца (переменная,
1728
- упоминание, картинка). Обязательный стиль ProseMirror: иначе общий сброс сайта вроде
1729
- img { display: block } превращает её в лишнюю пустую строку. */
1772
+ /* ProseMirror's helper image after a non-editable element at the end of a paragraph (a variable,
1773
+ a mention, an image). A style ProseMirror requires: otherwise a site-wide reset such as
1774
+ img { display: block } turns it into an extra empty line. */
1730
1775
  .nova-prosemirror img.ProseMirror-separator {
1731
1776
  display: inline !important;
1732
1777
  width: auto !important;
@@ -1769,9 +1814,9 @@ html.nova-fullscreen-lock body {
1769
1814
  }
1770
1815
  }
1771
1816
 
1772
- /* ======================= встроенные плагины ======================= */
1817
+ /* ======================= built-in plugins ======================= */
1773
1818
 
1774
- /* charmap, emoticons: панель символов */
1819
+ /* charmap, emoticons: the symbol panel */
1775
1820
  .nova-symbols {
1776
1821
  display: flex;
1777
1822
  flex-direction: column;
@@ -1816,12 +1861,12 @@ html.nova-fullscreen-lock body {
1816
1861
  text-align: center;
1817
1862
  }
1818
1863
 
1819
- /* visualblocks: границы блоков с подписью тега */
1864
+ /* visualblocks: block borders with the tag label */
1820
1865
  .nova-visualblocks
1821
1866
  .nova-prosemirror
1822
1867
  :is(p, h1, h2, h3, h4, h5, h6, blockquote, ul, ol, pre, table) {
1823
1868
  position: relative;
1824
- /* Место под подпись тега, чтобы она не наезжала на текст. */
1869
+ /* Room for the tag label so it doesn't run into the text. */
1825
1870
  padding-top: 12px;
1826
1871
  outline: 1px dashed var(--nova-border-strong);
1827
1872
  outline-offset: 2px;
@@ -1874,12 +1919,12 @@ html.nova-fullscreen-lock body {
1874
1919
  content: 'pre';
1875
1920
  }
1876
1921
 
1877
- /* autoresize: прокрутка внутри области текста, когда достигнута maxHeight */
1922
+ /* autoresize: scrolling inside the text area once maxHeight is reached */
1878
1923
  .nova-autoresize .nova-content {
1879
1924
  overflow-y: auto;
1880
1925
  }
1881
1926
 
1882
- /* anchor: якорь в тексте — небольшая метка (в HTML это пустой <a id>) */
1927
+ /* anchor: an anchor in the text is a small marker (in HTML it is an empty <a id>) */
1883
1928
  .nova-prosemirror a[id]:not([href]) {
1884
1929
  display: inline-block;
1885
1930
  width: 0.7em;
@@ -1892,7 +1937,7 @@ html.nova-fullscreen-lock body {
1892
1937
  cursor: pointer;
1893
1938
  }
1894
1939
 
1895
- /* pagebreak: линия разрыва страницы */
1940
+ /* pagebreak: the page break line */
1896
1941
  .nova-prosemirror .nova-pagebreak {
1897
1942
  height: 0;
1898
1943
  margin: 1.5em 0;
@@ -1900,7 +1945,7 @@ html.nova-fullscreen-lock body {
1900
1945
  cursor: pointer;
1901
1946
  }
1902
1947
 
1903
- /* media: видео с прозрачным слоем поверх — клик выделяет блок */
1948
+ /* media: a video with a transparent layer on top, so a click selects the block */
1904
1949
  .nova-media {
1905
1950
  position: relative;
1906
1951
  display: inline-block;
@@ -1920,6 +1965,60 @@ html.nova-fullscreen-lock body {
1920
1965
  inset: 0;
1921
1966
  cursor: pointer;
1922
1967
  }
1968
+ /* An embedded page: at full width with its ratio, or at its own size; a border on request. */
1969
+ .nova-pageembed-view.is-responsive {
1970
+ display: block;
1971
+ }
1972
+ .nova-pageembed-view.is-responsive iframe {
1973
+ display: block;
1974
+ width: 100%;
1975
+ height: auto;
1976
+ }
1977
+ .nova-pageembed-view.has-border iframe {
1978
+ border: 1px solid var(--nova-border);
1979
+ }
1980
+ .nova-pageembed-missing {
1981
+ padding: 1em;
1982
+ border: 1px dashed var(--nova-border);
1983
+ border-radius: 6px;
1984
+ color: var(--nova-muted);
1985
+ line-height: 1.4;
1986
+ overflow-wrap: anywhere;
1987
+ }
1988
+ /* A page's card (mediaembed) in the editor: the picture, the title, the description, the site. */
1989
+ .nova-card-view {
1990
+ display: flex;
1991
+ flex-wrap: wrap;
1992
+ gap: 12px;
1993
+ margin: 0.5em 0;
1994
+ padding: 12px;
1995
+ border: 1px solid var(--nova-border);
1996
+ border-radius: 8px;
1997
+ overflow: hidden;
1998
+ cursor: pointer;
1999
+ }
2000
+ /* Stronger than ".nova-prosemirror img" (height: auto), which stretched it to the text. */
2001
+ .nova-card-view > .nova-card-view-image {
2002
+ flex: none;
2003
+ width: 120px;
2004
+ height: 90px;
2005
+ object-fit: cover;
2006
+ border-radius: 4px;
2007
+ }
2008
+ /* Narrower than 180px beside the picture (a phone), the text goes under it, as on the page. */
2009
+ .nova-card-view-text {
2010
+ flex: 1 1 180px;
2011
+ min-width: 0;
2012
+ }
2013
+ .nova-card-view-title {
2014
+ font-weight: 600;
2015
+ }
2016
+ .nova-card-view-description,
2017
+ .nova-card-view-site {
2018
+ color: var(--nova-muted);
2019
+ font-size: 0.875em;
2020
+ }
2021
+ .nova-prosemirror .ProseMirror-selectednode.nova-card-view,
1923
2022
  .nova-prosemirror .ProseMirror-selectednode.nova-media,
1924
2023
  .nova-prosemirror .ProseMirror-selectednode.nova-pagebreak,
1925
2024
  .nova-prosemirror a[id]:not([href]).ProseMirror-selectednode {
@@ -1933,7 +2032,7 @@ html.nova-fullscreen-lock body {
1933
2032
  }
1934
2033
  }
1935
2034
 
1936
- /* Составная кнопка (bullist/numlist с advlist): действие + узкая стрелка с вариантами */
2035
+ /* A split button (bullist/numlist with advlist): the action + a narrow arrow with variants */
1937
2036
  .nova-tb-split {
1938
2037
  display: inline-flex;
1939
2038
  align-items: center;
@@ -1945,7 +2044,7 @@ html.nova-fullscreen-lock body {
1945
2044
  margin-left: -2px;
1946
2045
  }
1947
2046
 
1948
- /* ---------- Комментарии (плагин comments) ---------- */
2047
+ /* ---------- Comments (the comments plugin) ---------- */
1949
2048
 
1950
2049
  .nova-comment {
1951
2050
  background: var(--nova-comment-bg);
@@ -1956,7 +2055,7 @@ html.nova-fullscreen-lock body {
1956
2055
  background: var(--nova-comment-active-bg);
1957
2056
  }
1958
2057
 
1959
- /* Текст и панель рядом; когда места мало (узкий экран), панель уходит под текст во всю ширину. */
2058
+ /* The text and the panel side by side; with little room (a narrow screen) the panel goes under the text at full width. */
1960
2059
  .nova-body {
1961
2060
  display: flex;
1962
2061
  flex-wrap: wrap;
@@ -1968,7 +2067,7 @@ html.nova-fullscreen-lock body {
1968
2067
  flex: 999 1 360px;
1969
2068
  }
1970
2069
 
1971
- /* ---------- боковые панели (editor.ui.sidebar) ---------- */
2070
+ /* ---------- sidebars (editor.ui.sidebar) ---------- */
1972
2071
  .nova-body > .nova-sidebar {
1973
2072
  display: flex;
1974
2073
  flex: 1 1 280px;
@@ -2001,7 +2100,7 @@ html.nova-fullscreen-lock body {
2001
2100
  padding: 10px;
2002
2101
  overflow: auto;
2003
2102
  }
2004
- /* Панель со своей шапкой (комментарии) сама задаёт отступы и прокрутку. */
2103
+ /* A panel with its own header (comments) sets its own padding and scrolling. */
2005
2104
  .nova-sidebar-bare > .nova-sidebar-body {
2006
2105
  display: flex;
2007
2106
  flex-direction: column;
@@ -2009,187 +2108,7 @@ html.nova-fullscreen-lock body {
2009
2108
  overflow: hidden;
2010
2109
  }
2011
2110
 
2012
- .nova-comments {
2013
- display: flex;
2014
- flex: 1;
2015
- flex-direction: column;
2016
- gap: 8px;
2017
- min-height: 0;
2018
- padding: 10px;
2019
- overflow: auto;
2020
- font-size: 13px;
2021
- }
2022
- .nova-comments[hidden] {
2023
- display: none;
2024
- }
2025
- .nova-comments-head {
2026
- display: flex;
2027
- align-items: center;
2028
- gap: 6px;
2029
- }
2030
- .nova-comments-title {
2031
- margin: 0;
2032
- font-size: 14px;
2033
- font-weight: 600;
2034
- }
2035
- .nova-comments-count:not(:empty) {
2036
- padding: 0 6px;
2037
- border-radius: 999px;
2038
- background: var(--nova-hover);
2039
- color: var(--nova-muted);
2040
- font-size: 12px;
2041
- }
2042
- .nova-comments-close {
2043
- margin-inline-start: auto;
2044
- font-size: 18px;
2045
- line-height: 1;
2046
- }
2047
- .nova-comments-filter {
2048
- display: inline-flex;
2049
- align-items: center;
2050
- gap: 6px;
2051
- color: var(--nova-muted);
2052
- }
2053
- .nova-comments-filter input {
2054
- accent-color: var(--nova-accent);
2055
- }
2056
- .nova-comments-list {
2057
- display: flex;
2058
- flex-direction: column;
2059
- gap: 8px;
2060
- }
2061
- .nova-comments-empty {
2062
- margin: 8px 2px;
2063
- color: var(--nova-muted);
2064
- line-height: 1.5;
2065
- }
2066
-
2067
- .nova-thread {
2068
- display: flex;
2069
- flex-direction: column;
2070
- gap: 8px;
2071
- padding: 10px;
2072
- border: 1px solid var(--nova-border);
2073
- border-radius: var(--nova-radius);
2074
- background: var(--nova-surface);
2075
- cursor: pointer;
2076
- }
2077
- .nova-thread.is-active {
2078
- border-color: var(--nova-comment-line);
2079
- box-shadow: var(--nova-shadow);
2080
- cursor: default;
2081
- }
2082
- .nova-thread.is-resolved {
2083
- opacity: 0.75;
2084
- }
2085
- .nova-thread:focus-visible {
2086
- outline: 2px solid var(--nova-focus);
2087
- outline-offset: 1px;
2088
- }
2089
- .nova-thread-quote {
2090
- margin: 0;
2091
- padding-inline-start: 8px;
2092
- border-inline-start: 3px solid var(--nova-comment-line);
2093
- color: var(--nova-muted);
2094
- overflow-wrap: anywhere;
2095
- }
2096
- .nova-thread-orphan,
2097
- .nova-thread-resolved {
2098
- margin: 0;
2099
- color: var(--nova-muted);
2100
- font-style: italic;
2101
- }
2102
- .nova-thread-tools,
2103
- .nova-comment-actions {
2104
- display: flex;
2105
- flex-wrap: wrap;
2106
- justify-content: flex-end;
2107
- gap: 6px;
2108
- }
2109
- .nova-thread .nova-button {
2110
- height: 28px;
2111
- padding: 0 10px;
2112
- font-size: 12px;
2113
- }
2114
- .nova-thread:not(.is-active):not(:hover):not(:focus-within) .nova-thread-tools {
2115
- display: none;
2116
- }
2117
- .nova-button-danger {
2118
- color: var(--nova-danger);
2119
- }
2120
-
2121
- .nova-comment-item + .nova-comment-item {
2122
- padding-top: 8px;
2123
- border-top: 1px solid var(--nova-border);
2124
- }
2125
- .nova-comment-head {
2126
- display: flex;
2127
- flex-wrap: wrap;
2128
- align-items: center;
2129
- gap: 6px;
2130
- color: var(--nova-muted);
2131
- font-size: 12px;
2132
- }
2133
- .nova-comment-avatar {
2134
- display: grid;
2135
- place-items: center;
2136
- min-width: 22px;
2137
- height: 22px;
2138
- padding: 0 4px;
2139
- border-radius: 999px;
2140
- color: #fff;
2141
- font-size: 10px;
2142
- font-weight: 600;
2143
- }
2144
- .nova-comment-author {
2145
- color: var(--nova-fg);
2146
- font-weight: 600;
2147
- }
2148
- .nova-comment-you {
2149
- color: var(--nova-muted);
2150
- font-weight: 400;
2151
- }
2152
- .nova-comment-text {
2153
- margin: 4px 0 0;
2154
- white-space: pre-wrap;
2155
- overflow-wrap: anywhere;
2156
- line-height: 1.45;
2157
- }
2158
- .nova-comment-tools {
2159
- display: flex;
2160
- gap: 10px;
2161
- margin-top: 2px;
2162
- }
2163
- .nova-link-btn {
2164
- padding: 0;
2165
- border: 0;
2166
- background: none;
2167
- color: var(--nova-accent);
2168
- font: inherit;
2169
- font-size: 12px;
2170
- cursor: pointer;
2171
- }
2172
- .nova-link-btn:hover {
2173
- text-decoration: underline;
2174
- }
2175
- .nova-link-btn:focus-visible {
2176
- outline: 2px solid var(--nova-focus);
2177
- outline-offset: 2px;
2178
- border-radius: 2px;
2179
- }
2180
- .nova-comment-composer {
2181
- display: flex;
2182
- flex-direction: column;
2183
- gap: 6px;
2184
- }
2185
- .nova-comment-input {
2186
- width: 100%;
2187
- min-height: 52px;
2188
- resize: vertical;
2189
- font: inherit;
2190
- }
2191
-
2192
- /* Узкий редактор: панель под текстом, отделена сверху (порог = 360 + 280 из flex-basis выше). */
2111
+ /* A narrow editor: the panel goes under the text, separated at the top (threshold = 360 + 280 from the flex-basis above). */
2193
2112
  .nova-body {
2194
2113
  container-type: inline-size;
2195
2114
  }
@@ -2202,7 +2121,7 @@ html.nova-fullscreen-lock body {
2202
2121
  }
2203
2122
  }
2204
2123
 
2205
- /* ---------- Упоминания (плагин mentions и «@» в комментариях) ---------- */
2124
+ /* ---------- Mentions (the mentions plugin and "@" in comments) ---------- */
2206
2125
 
2207
2126
  .nova-prosemirror [data-mention],
2208
2127
  .nova-comment-mention {
@@ -2262,180 +2181,9 @@ html.nova-fullscreen-lock body {
2262
2181
  color: var(--nova-muted);
2263
2182
  }
2264
2183
 
2265
- /* ---------- История версий (плагин revisionhistory) ---------- */
2266
-
2267
- .nova-editor.nova-history-open {
2268
- min-height: 460px;
2269
- }
2270
- .nova-history {
2271
- position: absolute;
2272
- inset: 0;
2273
- z-index: 5;
2274
- display: flex;
2275
- flex-direction: column;
2276
- border-radius: inherit;
2277
- background: var(--nova-bg);
2278
- container-type: inline-size;
2279
- }
2280
- .nova-history-head {
2281
- display: flex;
2282
- flex-wrap: wrap;
2283
- align-items: center;
2284
- gap: 8px 10px;
2285
- padding: 8px 10px;
2286
- border-bottom: 1px solid var(--nova-border);
2287
- background: var(--nova-toolbar-bg);
2288
- }
2289
- .nova-history-title {
2290
- margin: 0;
2291
- font-size: 15px;
2292
- font-weight: 600;
2293
- }
2294
- .nova-history-spacer {
2295
- flex: 1;
2296
- }
2297
- .nova-history-legend {
2298
- display: flex;
2299
- flex-wrap: wrap;
2300
- align-items: center;
2301
- gap: 4px 12px;
2302
- color: var(--nova-muted);
2303
- font-size: 12px;
2304
- }
2305
- .nova-history-toggle {
2306
- display: inline-flex;
2307
- align-items: center;
2308
- gap: 5px;
2309
- }
2310
- .nova-history-toggle input {
2311
- accent-color: var(--nova-accent);
2312
- }
2313
- .nova-history-swatch::before {
2314
- content: '';
2315
- display: inline-block;
2316
- width: 10px;
2317
- height: 10px;
2318
- margin-inline-end: 5px;
2319
- border-radius: 2px;
2320
- vertical-align: -1px;
2321
- }
2322
- .nova-history-swatch.is-added::before {
2323
- background: var(--nova-diff-added-bg);
2324
- }
2325
- .nova-history-swatch.is-removed::before {
2326
- background: var(--nova-diff-removed-bg);
2327
- }
2328
- .nova-history-body {
2329
- display: flex;
2330
- flex: 1;
2331
- min-height: 0;
2332
- }
2333
- .nova-history-preview {
2334
- flex: 1;
2335
- min-width: 0;
2336
- overflow: auto;
2337
- }
2338
- .nova-history-side {
2339
- width: 260px;
2340
- flex: none;
2341
- overflow: auto;
2342
- padding: 8px;
2343
- border-inline-start: 1px solid var(--nova-border);
2344
- background: var(--nova-toolbar-bg);
2345
- }
2346
- .nova-history-status:empty {
2347
- display: none;
2348
- }
2349
- .nova-history-status {
2350
- margin: 4px 4px 8px;
2351
- color: var(--nova-muted);
2352
- font-size: 13px;
2353
- }
2354
- .nova-history-list {
2355
- display: flex;
2356
- flex-direction: column;
2357
- gap: 2px;
2358
- margin: 0;
2359
- padding: 0;
2360
- list-style: none;
2361
- }
2362
- .nova-history-item {
2363
- display: flex;
2364
- flex-direction: column;
2365
- align-items: flex-start;
2366
- gap: 2px;
2367
- width: 100%;
2368
- padding: 7px 9px;
2369
- border: 1px solid transparent;
2370
- border-radius: var(--nova-radius-sm);
2371
- background: none;
2372
- color: inherit;
2373
- font: inherit;
2374
- font-size: 13px;
2375
- text-align: start;
2376
- cursor: pointer;
2377
- }
2378
- .nova-history-item:hover {
2379
- background: var(--nova-hover);
2380
- }
2381
- .nova-history-item[aria-current='true'] {
2382
- border-color: var(--nova-accent);
2383
- background: var(--nova-active);
2384
- }
2385
- .nova-history-item:focus-visible {
2386
- outline: 2px solid var(--nova-focus);
2387
- outline-offset: 1px;
2388
- }
2389
- .nova-history-time {
2390
- font-weight: 600;
2391
- }
2392
- .nova-history-label {
2393
- padding: 0 6px;
2394
- border-radius: 999px;
2395
- background: var(--nova-hover);
2396
- font-size: 12px;
2397
- }
2398
- .nova-history-authors {
2399
- color: var(--nova-muted);
2400
- font-size: 12px;
2401
- }
2402
- .nova-diff-added {
2403
- background: var(--nova-diff-added-bg);
2404
- text-decoration: underline 2px var(--nova-success);
2405
- text-underline-offset: 3px;
2406
- }
2407
- .nova-diff-removed {
2408
- background: var(--nova-diff-removed-bg);
2409
- color: var(--nova-danger);
2410
- text-decoration: line-through;
2411
- }
2412
- div.nova-diff-removed {
2413
- margin: 0.5em 0;
2414
- padding: 2px 6px;
2415
- border-radius: var(--nova-radius-sm);
2416
- }
2417
-
2418
- /* Узко: список версий над текстом, полосой. */
2419
- @container (max-width: 600px) {
2420
- .nova-history-body {
2421
- flex-direction: column-reverse;
2422
- }
2423
- .nova-history-side {
2424
- width: auto;
2425
- max-height: 150px;
2426
- border-inline-start: 0;
2427
- border-bottom: 1px solid var(--nova-border);
2428
- }
2429
- }
2430
- /* Кнопки истории — одной группой в первой строке, легенда — второй строкой. */
2431
- .nova-history-legend {
2432
- order: 1;
2433
- flex-basis: 100%;
2434
- }
2184
+ /* ---------- Suggesting mode (the suggestions plugin) ---------- */
2435
2185
 
2436
- /* ---------- Режим правок (плагин suggestions) ---------- */
2437
-
2438
- /* Цвет автора приходит в --nova-suggestion (декорация), без неё — зелёный/красный по умолчанию. */
2186
+ /* The author's color comes in --nova-suggestion (a decoration); without it, green/red by default. */
2439
2187
  .nova-prosemirror ins[data-suggestion] {
2440
2188
  text-decoration: none;
2441
2189
  }
@@ -2443,7 +2191,7 @@ div.nova-diff-removed {
2443
2191
  text-decoration: none;
2444
2192
  }
2445
2193
  .nova-sugg-insert {
2446
- /* В тёмной теме цвет автора осветляется (--nova-suggestion-lift), чтобы читался на тёмном фоне. */
2194
+ /* In the dark theme the author's color is lightened (--nova-suggestion-lift) to read on a dark background. */
2447
2195
  color: color-mix(
2448
2196
  in srgb,
2449
2197
  var(--nova-suggestion, var(--nova-success)),
@@ -2459,89 +2207,117 @@ div.nova-diff-removed {
2459
2207
  var(--nova-suggestion, var(--nova-danger)),
2460
2208
  white var(--nova-suggestion-lift)
2461
2209
  );
2210
+ /* No transparency: the strike-through is enough, and semi-transparent text fails the contrast check. */
2462
2211
  text-decoration: line-through 2px;
2463
- opacity: 0.85;
2464
2212
  }
2465
- /* В режиме правок курсор цвета правок — заметно, что ввод станет предложением. */
2466
- .nova-prosemirror.nova-suggesting {
2467
- caret-color: var(--nova-success);
2468
- }
2469
-
2470
- /* ---------- Диалоги по описанию (windowManager.open в @novaprose/tinymce-compat) ---------- */
2471
-
2472
- .nova-compat-dialog {
2473
- display: flex;
2474
- flex-direction: column;
2475
- gap: 12px;
2476
- }
2477
- .nova-compat-tabs {
2478
- display: flex;
2479
- gap: 2px;
2480
- border-bottom: 1px solid var(--nova-border);
2481
- }
2482
- .nova-compat-tab {
2483
- padding: 6px 10px;
2484
- border: 0;
2485
- border-bottom: 2px solid transparent;
2486
- background: none;
2487
- color: var(--nova-muted);
2488
- font: inherit;
2489
- cursor: pointer;
2490
- }
2491
- .nova-compat-tab[aria-selected='true'] {
2492
- border-bottom-color: var(--nova-accent);
2493
- color: var(--nova-fg);
2494
- font-weight: 600;
2213
+ /* A suggested format: the new look shows; a dotted line under it in the author's color marks it. */
2214
+ .nova-sugg-format {
2215
+ border-bottom: 2px dotted
2216
+ color-mix(
2217
+ in srgb,
2218
+ var(--nova-suggestion, var(--nova-accent)),
2219
+ white var(--nova-suggestion-lift)
2220
+ );
2221
+ }
2222
+ /* A block whose type or style is a suggestion, a list item or quote put into a list or quote or taken
2223
+ out of one: a bar in the author's color at its start (dashed: taken out), the text unmoved. */
2224
+ .nova-sugg-block:not(table, tr, td, th, img, .tableWrapper),
2225
+ .nova-sugg-wrap,
2226
+ .nova-sugg-unwrap {
2227
+ margin-inline-start: -13px;
2228
+ padding-inline-start: 10px;
2229
+ border-inline-start: 3px solid
2230
+ color-mix(
2231
+ in srgb,
2232
+ var(--nova-suggestion, var(--nova-accent)),
2233
+ white var(--nova-suggestion-lift)
2234
+ );
2235
+ }
2236
+ .nova-sugg-unwrap {
2237
+ border-inline-start-style: dashed;
2238
+ }
2239
+ /* A quote has a bar of its own: it takes the author's color. */
2240
+ blockquote:is(.nova-sugg-wrap, .nova-sugg-unwrap) {
2241
+ margin-inline-start: 0;
2242
+ padding-inline-start: 1em;
2243
+ border-inline-start-color: color-mix(
2244
+ in srgb,
2245
+ var(--nova-suggestion, var(--nova-accent)),
2246
+ white var(--nova-suggestion-lift)
2247
+ );
2495
2248
  }
2496
- .nova-compat-tab:focus-visible {
2497
- outline: 2px solid var(--nova-focus);
2249
+ /* Tables, cells and images keep their box: a dotted outline instead of the bar. */
2250
+ :is(table, tr, td, th, img, .tableWrapper).nova-sugg-block {
2251
+ outline: 2px dotted
2252
+ color-mix(
2253
+ in srgb,
2254
+ var(--nova-suggestion, var(--nova-accent)),
2255
+ white var(--nova-suggestion-lift)
2256
+ );
2498
2257
  outline-offset: -2px;
2499
2258
  }
2500
- .nova-compat-tabpanel {
2501
- display: flex;
2502
- flex-direction: column;
2503
- gap: 12px;
2504
- }
2505
- .nova-compat-tabpanel[hidden] {
2506
- display: none;
2259
+ /* A whole node inserted or deleted (a table, an image, a line): its text looks inserted or deleted,
2260
+ and the node is outlined in the author's color (dashed: deleted). Rows and cells are tinted
2261
+ instead (an outline doesn't draw well in a table) and text blocks get a pilcrow (below). */
2262
+ .nova-sugg-node:not(tr, td, th, p, h1, h2, h3, h4, h5, h6, pre, figcaption) {
2263
+ outline: 2px solid
2264
+ color-mix(
2265
+ in srgb,
2266
+ var(--nova-suggestion, var(--nova-success)),
2267
+ white var(--nova-suggestion-lift)
2268
+ );
2269
+ outline-offset: 2px;
2507
2270
  }
2508
- .nova-compat-grid {
2509
- display: grid;
2510
- gap: 10px;
2271
+ .nova-sugg-node.nova-sugg-delete:not(tr, td, th, p, h1, h2, h3, h4, h5, h6, pre, figcaption) {
2272
+ outline-style: dashed;
2511
2273
  }
2512
- .nova-compat-group {
2513
- display: flex;
2514
- flex-direction: column;
2515
- gap: 8px;
2274
+ /* An image or a line can't be struck through: a deleted one is faded. */
2275
+ :is(img, hr).nova-sugg-node.nova-sugg-delete,
2276
+ .nova-sugg-node.nova-sugg-delete img {
2277
+ opacity: 0.45;
2516
2278
  }
2517
- .nova-compat-actions {
2518
- display: flex;
2519
- flex-wrap: wrap;
2520
- gap: 8px;
2279
+ :is(td, th).nova-sugg-node.nova-sugg-delete,
2280
+ tr.nova-sugg-node.nova-sugg-delete > * {
2281
+ background: color-mix(in srgb, var(--nova-suggestion, var(--nova-danger)) 10%, transparent);
2521
2282
  }
2522
- .nova-compat-alert {
2523
- margin: 0;
2524
- padding: 8px 10px;
2525
- border-radius: var(--nova-radius-sm);
2526
- background: var(--nova-active);
2527
- color: var(--nova-fg);
2283
+ /* A suggested paragraph break before a block, or a whole text block inserted or deleted: a pilcrow
2284
+ in the margin, underlined if new, struck if deleted. */
2285
+ .nova-sugg-split,
2286
+ .nova-sugg-join,
2287
+ :is(p, h1, h2, h3, h4, h5, h6, pre, figcaption).nova-sugg-node {
2288
+ position: relative;
2528
2289
  }
2529
- .nova-compat-alert.is-warn {
2530
- background: var(--nova-warning-bg);
2290
+ .nova-sugg-split::before,
2291
+ .nova-sugg-join::before,
2292
+ :is(p, h1, h2, h3, h4, h5, h6, pre, figcaption).nova-sugg-node::before {
2293
+ content: '¶';
2294
+ position: absolute;
2295
+ inset-inline-start: -16px;
2296
+ color: color-mix(
2297
+ in srgb,
2298
+ var(--nova-suggestion, var(--nova-success)),
2299
+ white var(--nova-suggestion-lift)
2300
+ );
2301
+ text-decoration: underline 2px;
2302
+ user-select: none;
2303
+ pointer-events: none;
2531
2304
  }
2532
- .nova-compat-alert.is-error {
2533
- background: var(--nova-danger-bg);
2534
- color: var(--nova-danger);
2305
+ .nova-sugg-join::before,
2306
+ .nova-sugg-node.nova-sugg-delete::before {
2307
+ text-decoration: line-through 2px;
2535
2308
  }
2536
- .nova-compat-alert.is-success {
2537
- background: var(--nova-success-bg);
2309
+ /* In a list item, past the bullet. */
2310
+ li > .nova-sugg-split::before,
2311
+ li > .nova-sugg-join::before,
2312
+ li > .nova-sugg-node::before {
2313
+ inset-inline-start: -34px;
2538
2314
  }
2539
- .nova-compat-html {
2540
- line-height: 1.5;
2541
- overflow-wrap: anywhere;
2315
+ /* In suggesting mode the cursor takes the suggestion color: a visible sign that typing becomes a suggestion. */
2316
+ .nova-prosemirror.nova-suggesting {
2317
+ caret-color: var(--nova-success);
2542
2318
  }
2543
2319
 
2544
- /* ======================= переменные (mergetags) ======================= */
2320
+ /* ======================= variables (mergetags) ======================= */
2545
2321
 
2546
2322
  .nova-mergetag {
2547
2323
  display: inline-block;