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

Gutter enrichment manager #42

Merged
merged 3 commits into from
Jun 20, 2022
Merged

Gutter enrichment manager #42

merged 3 commits into from
Jun 20, 2022

Conversation

longhotsummer
Copy link
Contributor

Adds a gutter enrichment manager that monitors a document for selection changes and allows gutter item providers to create new enrichments from the selected text.

createFloatingContainer () {
const item = document.createElement('la-gutter-item');
const btnGroup = document.createElement('div');
btnGroup.className = 'gutter-enrichment-new-buttons btn-group-vertical btn-group-sm bg-white';
Copy link

@musangowope musangowope Jun 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can assume that indigo-akn will always be used in bootstrap-dependent projects 🤔 and if not we can always style it accordingly🤷🏾

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja, that's the assumption I'm making. Otherwise we have to style it explicitly here, and we don't have a mechanism for injecting CSS here. :(

@longhotsummer longhotsummer merged commit 245fd56 into master Jun 20, 2022
@longhotsummer longhotsummer deleted the gutter-mgr branch June 20, 2022 08:08
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

Successfully merging this pull request may close these issues.

2 participants