Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

extension.onEditor not found / extension.Saver not found #9

Open
larcade-tess opened this issue May 31, 2019 · 3 comments
Open

extension.onEditor not found / extension.Saver not found #9

larcade-tess opened this issue May 31, 2019 · 3 comments

Comments

@larcade-tess
Copy link

I simple installed the Flowmaker from VS Code extensions marketplace.
Status was installed
Launched a JS file
Press F1 & typed Flowmaker
Got 2 options Flowmaker.preview & Flowmaker.save
Clicked Flowmaker.Preview
Error -->extension.onEditor not found
Clicked Flowmaker.Save
Error -->extension.Saver not found

@aryaminus
Copy link
Member

microsoft/vscode#62630 is the problem. Will work on some workaround

@kostasx
Copy link

kostasx commented Jul 10, 2019

@aryaminus This is a known issue with the deprecated previewHtml which has been replaced by the WebView API. Here's some snippets from an extension I've updated lately that uses the WebView API to display the JS flowchart: Create WebView / Update WebView Content. I hope this helps you to update the Extension.

Meanwhile, @larcade-tess , you can use this extension, as Flowchart is now supported for .js files

@ThomasGHenry
Copy link

Meanwhile, @larcade-tess , you can use this extension, as Flowchart is now supported for .js files

That's also busted for js flowchart creation kostasx/live-html-preview-v2#2

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

No branches or pull requests

4 participants