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

After pressing the item in the sidebar, 'molecule.editor.open()' will run. #856

Open
briggssong opened this issue Jul 27, 2023 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@briggssong
Copy link

briggssong commented Jul 27, 2023

Hello

After pressing the item in the sidebar, 'molecule.editor.open()'
will run.
I change the components to show at this opening.
However, when the editor screen is of the same type, there is a problem that appears as it is.
How do I solve this problem?

  1. click icon
    image

  2. click make
    image

  3. typed monaco text
    image

  4. changed tab
    image

The content doesn't change.

Reference : github.com/machbase/neo-react-demo
branch name : 276-neo-web-react-demo-setup
https://github.com/machbase/neo-react-demo/tree/276-neo-web-react-demo-setup

@briggssong briggssong added the help wanted Extra attention is needed label Jul 27, 2023
@briggssong
Copy link
Author

If you want to get a clone and run it,
You can remove the jwt property and access it on the homepage.

@wewoor
Copy link
Collaborator

wewoor commented Jul 27, 2023

@briggssong Sorry, can you provide a GIF ? I don't understand the meaning of 「 The content doesn't change 」

@briggssong
Copy link
Author

Animation

@briggssong
Copy link
Author

@wewoor check plz

@wewoor
Copy link
Collaborator

wewoor commented Jul 28, 2023

@wewoor check plz

@briggssong Each tab has its own instance when you use editor.open(), and each Tab has a unique ID. Do you want to open the same data in multiple Editors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants