www.fgks.org   »   [go: up one dir, main page]

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

Not possible to reorder built-in toolbar actions #2728

Open
sKopheK opened this issue May 27, 2024 · 3 comments
Open

Not possible to reorder built-in toolbar actions #2728

sKopheK opened this issue May 27, 2024 · 3 comments

Comments

@sKopheK
Copy link
sKopheK commented May 27, 2024

Hi, went through many issues and discussion threads here on github + docs and some blog posts, but could not figure out, how to change default order of move up, move down and delete toolbar actions. some screenshots show delete under move up and move down actions but in my projects its always move up, delete and move down. inlineToolbar option seems to do nothing, the only working solution seems to be manual reordering of the above mentioned actions using css which i would like to avoid:

.ce-popover__items {
  display: flex;
  flex-direction: column;

  .ce-popover-item {
    &[data-item-name="move-down"] {
      order: 1;
    }

    &[data-item-name="delete"] {
      order: 3;
    }

    &[data-item-name="move-down"] {
      order: 2;
    }
  }
}
@neSpecc
Copy link
Member
neSpecc commented May 27, 2024

There is no way to reorder build-in block tunes at the moment. But in the next version we are gonna reorder them like you mentioned:

image

@sKopheK
Copy link
Author
sKopheK commented May 28, 2024

some people might be used to it, don't you consider allowing custom ordering as well?

@neSpecc
Copy link
Member
neSpecc commented May 28, 2024

I'm not sure that there is any significant reason to reorder the move up and delete tunes manually.

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