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

Trying to change menu config, But takes default config. #102

Open
rahulgupta20nov opened this issue Oct 23, 2016 · 3 comments
Open

Trying to change menu config, But takes default config. #102

rahulgupta20nov opened this issue Oct 23, 2016 · 3 comments

Comments

@rahulgupta20nov
Copy link

rahulgupta20nov commented Oct 23, 2016

Hi,
I write config,
$scope.editorOptions = {
height: 100,
toolbarGroups: [
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
{ name: 'editing', groups: ['find', 'selection', 'spellchecker', 'editing'] },
{ name: 'links', groups: ['links'] },
{ name: 'insert', groups: ['insert'] },
{ name: 'forms', groups: ['forms'] },
{ name: 'tools', groups: ['tools'] },
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
{ name: 'others', groups: ['others'] },
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi', 'paragraph'] },
{ name: 'styles', groups: ['styles'] },
{ name: 'colors', groups: ['colors'] },
{ name: 'about', groups: ['about'] }
]
// uiColor: '#000000'
};

Height working but toolbarGroups not working.
But this config is not taken by editor. It showing default menu.

@rahulgupta20nov
Copy link
Author

My html code is

<textarea ckeditor="editorOptions" ng-model="vm.commentEditor" ></textarea>

@jwmcneely
Copy link

I'm having the exact same problem.

@Denis-Evseev
Copy link

Denis-Evseev commented Mar 14, 2017

The project is abandoned. You can amend the toolbar directly in ng-ckeditor.
Also you need upload all necessary plugins. And it works

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

3 participants