cqroot / joplin-outline

A markdown outline (TOC) sidebar plugin for Joplin.
MIT License
215 stars 16 forks source link

The title has a hyperlink error when using outline #69

Closed xielhz closed 1 year ago

xielhz commented 1 year ago

Problem occurs when clicking title text with hyperlink on outline page

Error

Joplin encError Joplin encountered a fatal error and could not continue.

To report the error, please copy the entire content of this page and post it on Joplin forum or GitHub.

If the error persists you may try to restart in safe mode, which will temporarily disable all plugins.

Message

Blocked a frame with origin "file://" from accessing a cross-origin frame.

Version info

Joplin for Desktop

Copyright © 2016-2022 Laurent Cozic Joplin 2.8.8 (prod, win32)

修订: c2a6a13

Plugins

[ { "id": "com.septemberhx.Joplin.Enhancement", "name": "Enhancement", "enabled": true, "version": "1.1.2" }, { "id": "com.sctmes.kity-minder", "name": "Kity Minder", "enabled": true, "version": "1.0.4" }, { "id": "org.joplinapp.plugins.ToggleSidebars", "name": "Note list and sidebar toggle buttons", "enabled": true, "version": "1.0.3" }, { "id": "ylc395.joplinOcr", "name": "OCR", "enabled": true, "version": "0.3.2" }, { "id": "outline", "name": "Outline", "enabled": true, "version": "1.5.0" } ]

Stack trace

Error: Blocked a frame with origin "file://" from accessing a cross-origin frame. at D:\Program Files\Joplin\resources\app.asar\services\plugins\hooks\useWebviewToPluginMessages.js:33:25 at HTMLUnknownElement.callCallback (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:347:14) at Object.invokeGuardedCallbackDev (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:397:16) at invokeGuardedCallback (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:454:31) at safelyCallDestroy (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:19900:5) at D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20279:19 at unstable_runWithPriority (D:\Program Files\Joplin\resources\app.asar\node_modules\scheduler\cjs\scheduler.development.js:643:12) at runWithPriority$2 (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:11305:10) at commitUnmount (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20274:13) at commitNestedUnmounts (D:\Program Files\Joplin\resources\app.asar\node_modules\react-dom\cjs\react-dom.development.js:20349:5) Component stack

in ForwardRef(UserWebview) (created by ResizableLayout)
in div (created by styled.div)
in styled.div (created by ResizableLayout)
in div (created by ResizableLayout)
in div (created by ResizableLayout)
in ResizableLayout (created by MainScreenComponent)
in div (created by MainScreenComponent)
in MainScreenComponent (created by Connect(MainScreenComponent))
in Connect(MainScreenComponent) (created by NavigatorComponent)
in div (created by NavigatorComponent)
in NavigatorComponent (created by Connect(NavigatorComponent))
in Connect(NavigatorComponent) (created by RootComponent)
in ThemeProvider (created by RootComponent)
in StyleSheetManager (created by RootComponent)
in RootComponent (created by Connect(RootComponent))
in Connect(RootComponent)
in ErrorBoundary
in Providerountered a fatal error and could not continue.