Skip to content

✨ Create "callout" custom block #305

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

Open
virgile-dev opened this issue Oct 6, 2024 · 7 comments
Open

✨ Create "callout" custom block #305

virgile-dev opened this issue Oct 6, 2024 · 7 comments
Labels
designed A UX/UI design has been proposed editor enhancement New feature or request

Comments

@virgile-dev
Copy link
Collaborator

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
Analivia requested to have alert blocks like we have in the pad
Capture d’écran du 2024-10-06 18-00-05

Describe the solution you'd like
Created an issue on BlocNote but it seems we can create our own :
TypeCellOS/BlockNote#1121 (comment)

@virgile-dev virgile-dev added enhancement New feature or request good first issue Good for newcomers next labels Oct 8, 2024
@AntoLC AntoLC added the editor label Oct 11, 2024
@virgile-dev virgile-dev removed the next label Oct 17, 2024
@virgile-dev virgile-dev changed the title Create "callout" custom block ✨ Create "callout" custom block Oct 21, 2024
@PanchoutNathan PanchoutNathan self-assigned this Oct 23, 2024
@virgile-dev virgile-dev moved this from In Progress to To do in Docs - La Suite Nov 28, 2024
@virgile-dev
Copy link
Collaborator Author

@arnaud-robin careful I think you guys both work on this. I see no PR associated. Can you sync who finishes that ?

@qbey qbey moved this to To do in Docs - La Suite Jan 31, 2025
@AntoLC AntoLC linked a pull request Feb 4, 2025 that will close this issue
3 tasks
@virgile-dev
Copy link
Collaborator Author

@rl-83 as we discussed I'd like to have a real callout block instead of an alert one.
The idea is to let the user chose and emoji and a background color.
Could you propose a design for this ?

@virgile-dev virgile-dev moved this from To do to Backlog in Docs - La Suite Mar 4, 2025
@virgile-dev virgile-dev added needs design A UX/UI proposal is required to move forward and removed good first issue Good for newcomers labels Mar 4, 2025
@rl-83
Copy link
Collaborator

rl-83 commented Mar 5, 2025

Image
Figure 1

Here is a first sober proposal (Figure 1).
Before I design a custom component for the emoji picker, @YousefED, have you already planned to do it on your side?

Image
Figure 2

I also want to take this opportunity to propose a revamp of the highlights with rounded corners (Figure 2).

Figma for reference

@rl-83 rl-83 added designed A UX/UI design has been proposed and removed needs design A UX/UI proposal is required to move forward labels Mar 5, 2025
@YousefED
Copy link
Collaborator

YousefED commented Mar 5, 2025

@rl-83 we currently use this in other places of BlockNote: https://learn.missiveapp.com/open/emoji-mart. It works well. It's not very well maintained though, so I'd be open to switching to a different library if there is one - but I would not build / design this from scratch personally

@rl-83
Copy link
Collaborator

rl-83 commented Mar 5, 2025

Great, I find that sufficient for now.
@YousefED, is it easy to customize it to resemble the docs interface? I'm mainly thinking of minor changes to the colors and the border radius.
@virgile-dev any thoughts?

@YousefED
Copy link
Collaborator

YousefED commented Mar 5, 2025

Great, I find that sufficient for now. @YousefED, is it easy to customize it to resemble the docs interface? I'm mainly thinking of minor changes to the colors and the border radius. @virgile-dev any thoughts?

haven't tried but should be possible; https://learn.missiveapp.com/open/emoji-mart/example-custom-styles.html

@virgile-dev
Copy link
Collaborator Author

@rl-83 I'm good with your highlight proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
designed A UX/UI design has been proposed editor enhancement New feature or request
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

5 participants