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

Ability to configure split button in config.toolbar property #2091

Open
mlewand opened this issue Jun 15, 2018 · 0 comments
Open

Ability to configure split button in config.toolbar property #2091

mlewand opened this issue Jun 15, 2018 · 0 comments
Labels
status:confirmed An issue confirmed by the development team. type:feature A feature request.
Milestone

Comments

@mlewand
Copy link
Contributor

mlewand commented Jun 15, 2018

Type of report

Feature request

Provide description of the new feature

It would be nice to give the ability to create a split button from the configuration alone.

An example config would be:

config.toolbar = [
    [ 'Source', '-', 'Bold', 'Italic', {
		type: 'splitbutton',
		name: 'JustifySplitButton',
		label: 'Justify', // Human readable label.
		items: [ 'JustifyLeft', 'JustifyRight', 'JustifyBlock', 'JustifyCenter' ],
		default: 'JustifyRight'
	} ]
];

name, label and default property should be optional, in case the name is skipped the name should be simply generated, like SplitButton1 etc.

@mlewand mlewand added type:feature A feature request. status:confirmed An issue confirmed by the development team. target:major Any docs related issue that should be merged into a major branch. labels Jun 15, 2018
@mlewand mlewand added this to the Backlog milestone Jun 15, 2018
@engineering-this engineering-this self-assigned this Sep 7, 2018
@f1ames f1ames removed the target:major Any docs related issue that should be merged into a major branch. label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:confirmed An issue confirmed by the development team. type:feature A feature request.
Projects
None yet
Development

No branches or pull requests

3 participants