We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all!
When i set ckeditor to disabled state, all buttons of toolbar get disabled with exception of insertImage button.
Below is my current toolbar in action with disabled state:
Below is my config for editor:
private _getCkConfig(): any { return { toolbar: ['headings', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'insertImage', 'undo', 'redo'], ckfinder: { uploadUrl: `${environment.endPoint}comunicados_anexos/upload` }, language: 'pt-br', image: { toolbar: [ 'imageTextAlternative', '|', 'imageStyleFull', 'imageStyleAlignLeft', 'imageStyleAlignCenter', 'imageStyleAlignRight'], styles: [ 'imageStyleFull', 'imageStyleSide', 'imageStyleAlignLeft', 'imageStyleAlignCenter', 'imageStyleAlignRight' ] } }; }
I disable the editor in runtime by a ngOnChanges event:
ngOnChanges({ckDisable}: SimpleChanges): void { if (this.editor && ckDisable && ckDisable.currentValue) { this.editor.isReadOnly = ckDisable.currentValue; } }
This is a bug or i'm missing something to disable image button?
Currently using @ckeditor/ckeditor5-build-classic with Angular 4
Fun fact: unlike the others buttons, the imageButton is wrapped inside a span
The text was updated successfully, but these errors were encountered:
Good catch, thanks. I created a ticket in ckeditor-upload repo https://github.com/ckeditor/ckeditor5-upload/issues/77. Should be fixed soon.
ckeditor-upload
Sorry, something went wrong.
Merge pull request #78 from ckeditor/t/77
d231ea6
Fix: Fixed incorrect `ImageUploadButton` and `ImageUploadCommand` binding. Closes #77. Closes https://github.com/ckeditor/ckeditor5-ui/issues/357.
No branches or pull requests
Hi all!
When i set ckeditor to disabled state, all buttons of toolbar get disabled with exception of insertImage button.
Below is my current toolbar in action with disabled state:
Below is my config for editor:
I disable the editor in runtime by a ngOnChanges event:
This is a bug or i'm missing something to disable image button?
Currently using @ckeditor/ckeditor5-build-classic with Angular 4
Fun fact: unlike the others buttons, the imageButton is wrapped inside a span
The text was updated successfully, but these errors were encountered: