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

[DEV-12566] Feature - Implement GalleryBookmark extension #529

Merged

Conversation

kudlajz
Copy link
Contributor

@kudlajz kudlajz commented Feb 26, 2024

This is an extension similar to Story bookmarks that allows the user to select an existing gallery and creates a web bookmark for it with some predefined options (like layout).

@kudlajz kudlajz added the Type - Feature New feature or request label Feb 26, 2024
@kudlajz kudlajz self-assigned this Feb 26, 2024
@kudlajz kudlajz force-pushed the feature/dev-12566-implement-media-gallery-picker-in-the-editor branch from 221648f to 9a5e471 Compare February 27, 2024 08:39
@kudlajz kudlajz changed the base branch from main to feature/dev-12522-try-to-make-drag-drop-work-in-the-gallery-block February 27, 2024 08:40

export const EXTENSION_ID = 'GalleryBookmarkExtension';

export const GalleryBookmarkExtension = (): Extension => ({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The extension feels kinda useless here since it doesn't provide anything and we're using web bookmarks under the hood.

The only thing is the createGalleryBookmark function, but I was thinking if it would be easier to just place it inline to the GalleryBookmarkPlaceholderElement and get rid of this whole extension? 🤔

Base automatically changed from feature/dev-12522-try-to-make-drag-drop-work-in-the-gallery-block to main February 27, 2024 14:28
@kudlajz kudlajz merged commit e90e457 into main Feb 28, 2024
13 checks passed
@kudlajz kudlajz deleted the feature/dev-12566-implement-media-gallery-picker-in-the-editor branch February 28, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type - Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant