tiptap-markdown-react 0.7.2 → 0.7.3

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.
package/dist/index.js CHANGED
@@ -2075,8 +2075,8 @@ function scrollToTocHeading(headingId, scrollContainer, options) {
2075
2075
  };
2076
2076
  requestAnimationFrame(animate);
2077
2077
  }
2078
- const popoverAnchor = "_popoverAnchor_1c2ff_52";
2079
- const popoverContent = "_popoverContent_1c2ff_59";
2078
+ const popoverAnchor = "_popoverAnchor_1ymep_55";
2079
+ const popoverContent = "_popoverContent_1ymep_62";
2080
2080
  const styles = {
2081
2081
  popoverAnchor,
2082
2082
  popoverContent
package/dist/style.css CHANGED
@@ -1057,6 +1057,9 @@
1057
1057
  只有 active 评论(侧栏点评论 → focusComment)才显示黄色边框 + block 外框。 */
1058
1058
  .tmr-comment {
1059
1059
  cursor: default;
1060
+ /* 关键:<mark> 有浏览器 UA 默认黄色背景(background-color: yellow),
1061
+ 必须显式透明,否则锚定 mark 会漏出默认底色。 */
1062
+ background: transparent;
1060
1063
  }
1061
1064
 
1062
1065
  /* active:侧栏点评论后的强调态(黄色边框,无背景填充) */
@@ -1101,14 +1104,14 @@
1101
1104
  background: var(--tmr-comment-gutter-bg-hover, #dd9f00);
1102
1105
  }
1103
1106
 
1104
- ._popoverAnchor_1c2ff_52 {
1107
+ ._popoverAnchor_1ymep_55 {
1105
1108
  position: fixed;
1106
1109
  width: 0;
1107
1110
  height: 0;
1108
1111
  pointer-events: none;
1109
1112
  }
1110
1113
 
1111
- ._popoverContent_1c2ff_59 {
1114
+ ._popoverContent_1ymep_62 {
1112
1115
  min-width: 320px;
1113
1116
  max-width: 420px;
1114
1117
  background: var(--tmr-popover-bg, #fff);
@@ -1123,6 +1126,6 @@
1123
1126
  outline: none;
1124
1127
  }
1125
1128
 
1126
- ._popoverContent_1c2ff_59 .tmr-popover-arrow {
1129
+ ._popoverContent_1ymep_62 .tmr-popover-arrow {
1127
1130
  fill: var(--tmr-popover-bg, #fff);
1128
1131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiptap-markdown-react",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "A batteries-included, self-styled Markdown WYSIWYG editor and reader suite built on Tiptap v3. Markdown in/out, SSR/static rendering, table of contents, themeable via CSS variables, zero Ant Design.",
5
5
  "type": "module",
6
6
  "license": "MIT",