Skip to content

copy 报错了 #34

@18502009725

Description

@18502009725

问题描述

清晰简洁地描述这个 Bug 是什么。
报错了
https://tauacgr5lqv.feishu.cn/docx/VCB6dsoxGoqhClxgDDocl0ignwd

录屏

展示问题发生的 GIF 或视频。(如果不包含这个,你的问题很可能会被关闭,因为很难准确了解问题出在哪里,这会使维护变得更加困难。)

示例文档

一个可以重现错误的飞书文档链接。(请确保文档是公开可访问的。)

复现步骤

重现该行为的步骤:

  1. 前往 '...'
  2. 点击 '....'
  3. 滚动到 '....'
  4. 看到错误

期望行为

清晰简洁地描述你期望发生的情况。

环境信息

  • 扩展版本:1.9.0
  • 浏览器:[例如 Chrome、Edge]

上下文

在此添加关于该问题的任何其他上下文。(修复问题最快的方法是创建一个包含已经过测试的可用代码的 Pull Request,我们会协助合并。)

错误信息

{
  "name": "TypeError",
  "message": "Cannot read properties of undefined (reading 'fixEnter')",
  "stack": "TypeError: Cannot read properties of undefined (reading 'fixEnter')\n    at chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:125465\n    at Array.filter (<anonymous>)\n    at up (chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:125440)\n    at _transform (chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:127899)\n    at Array.map (<anonymous>)\n    at hp.transformParentBlock (chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:127502)\n    at hp._transform (chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:127606)\n    at hp.transform (chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:131899)\n    at fp.intoMarkdownAST (chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:132710)\n    at chrome-extension://ehkomhhcinhikfddnmklbloahaakploh/bundles/scripts/copy-lark-docx-as-markdown.js:1:152586"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions