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

Interaction with editor.dev #163

Open
Zoramite opened this issue Nov 18, 2021 · 0 comments
Open

Interaction with editor.dev #163

Zoramite opened this issue Nov 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Zoramite
Copy link
Member

When a project is running in editor.dev the editor is going to communicate with the preview using postMessage. The JS for the page builder can use that information to interact with the editor.

Possible interactions with editor:

  • Connected with editor. Page builder could show edit links for partials, etc.
  • Hovered over partial. Page builder could highlight which partial is being hovered in the editor or in the preview (bi-directional).
  • Active focus on partial. Page builder could highlight which partial has focus in the editor.
  • Visible partials. Page builder could tell editor which partials are visible.
  • Edit partial. Page builder could tell editor when the user wants to edit a specific partial, show it in isolation mode, and let the editor pull up the UI for editing the partial.
  • Modify partials. Page builder could show UI for modifying the partials, such as reordering partials, duplicating a partial, deleting a partial, etc.
@Zoramite Zoramite added the enhancement New feature or request label Nov 18, 2021
@jeremydw jeremydw transferred this issue from blinkk/amagaki-plugin-page-builder Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant