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

Clay Menu Plugins #1355

Closed
jonwinton opened this issue Dec 7, 2018 · 0 comments
Closed

Clay Menu Plugins #1355

jonwinton opened this issue Dec 7, 2018 · 0 comments
Assignees

Comments

@jonwinton
Copy link
Contributor

Goal

We need the option to put plugins into the left drawer.

Screen Shot 2018-12-07 at 3.23.12 PM.png
(https://github.com/clay/clay-kiln/blob/master/lib/nav/nav-menu.vue)

Proposed Solution/Implementation

Current implementation:

'use strict';

module.exports = () => {
  window.kiln.toolbarButtons['article-syndication'] = require('./button.vue');
  window.kiln.modals['article-syndication'] = require('./modal.vue');
};```

We need a spot for plugins to register themselves with the left drawer

## Documentation Questions
- How is it documented?
- Why do we put plugins here vs other spots?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants