Closed UziTech closed 3 years ago
Thanks for the heads-up! Apparently, that's an easy fix. I've released v4.9.1 which (hopefully) works, but I don't have atom v1.56 so can't verify right away. If you could check if everything's in order that would be great.
Same Here.
Atom: 1.51.0 x64 Electron: 5.0.13 OS: Ubuntu 20.04.2 Thrown From: markdown-preview-plus package 4.9.1
@bewam please update Atom to the current version (which is 1.55.0) (edit: I probably should've bumped the minimal version, but that ship has sailed regrettably)
It works like a charm with 1.55.
it works in v1.56.0-beta0 :+1:
I'm seeing this with the current release (non-beta) 1.56.0...
@carybakker check if this reproduces in markdown-preview-plus v4.9.4 and post the full report if it does. You can get the full report by clicking on the little clipboard icon near the bottom -- it will be copied to the clipboard. For the purpose of bookkeeping, please file it as a new issue. Thanks.
Got this new issue [Enter steps to reproduce:]
Atom: 1.56.0 x64 Electron: 9.4.4 OS: macOS 11.2.3 Thrown From: markdown-preview-plus package 4.9.0
Uncaught TypeError: t.getWebContents is not a function
At /Users/hailinlu/.atom/packages/markdown-preview-plus/dist/main.js:1
TypeError: t.getWebContents is not a function
at HTMLElement.n (/packages/markdown-preview-plus/dist/main.js:1:91921)
at WebViewImpl.dispatchEvent (electron/js2c/renderer_init.js:155:2221)
at dispatchEvent (electron/js2c/renderer_init.js:143:1883)
at electron/js2c/renderer_init.js:143:3008
at EventEmitter.<anonymous> (electron/js2c/renderer_init.js:127:872)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
-0:53.6.0 command-palette:toggle (input.hidden-input)
-0:50.7.0 core:confirm (input.hidden-input)
-0:50.7.0 markdown-preview-plus:toggle (input.hidden-input)
atom-html-preview 0.2.6
atom-live-server 2.3.0
atom-path-intellisense 1.2.2
atomic-management 0.3.1
color-picker 2.3.0
cornell-info1300 0.5.1
document-outline 2.1.2
inline-markdown-images 1.15.0
language-markdown 0.37.0
linter 3.3.0
linter-ui-default 3.2.5
markdown-preview-plus 4.9.0
pigments 0.40.6
prettier-atom 0.60.1
tree-view-git-status 1.5.3
w3c-validation 0.4.0
Thrown From: markdown-preview-plus package 4.9.0
@hailin-lu please update to the latest version.
webview.getWebContents
was removed in electron v9https://github.com/atom-community/markdown-preview-plus/blob/fce5ad57823422c35c147773e308b0c5658db775/src/markdown-preview-view/webview-handler.ts#L17
Steps to reproduce:
Atom: 1.56.0-beta0 x64 Electron: 9.4.4 OS: Microsoft Windows 10 Pro Thrown From: markdown-preview-plus package 4.9.0
Stack Trace
Uncaught TypeError: t.getWebContents is not a function
Commands
Non-Core Packages