Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用 fromStore 的实例方法,传入 source,页面不会还原高亮。 #96

Open
ddddderek opened this issue Jan 19, 2022 · 1 comment

Comments

@ddddderek
Copy link

ddddderek commented Jan 19, 2022

版本:
"web-highlighter": #"^0.7.4"

开发环境:
Vue

现象:
实例化对象后,选择高亮正常,且生成了内置的source对象。但是在持久化返显的过程中报错。
detail 对象
endMeta: { parentIndex: 7, parentTagName: "P", textOffset: 25}
extra: "0.3404"
id: "aa940841-1e71-4b0c-9913-d7b9d83ce7df"
startMeta: { parentIndex: 7, parentTagName: "P", textOffset: 23}
text: "思维"
__isHighlightSource: {}

err对象
message: "Cannot read properties of undefined (reading 'nodeType')"

@lu3732539
Copy link

@ddddderek 我也遇到这样的问题,请问有解决办法吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants