[Trunk | Library]: class-help-content-form.component.html & page-help-content-form.component.html & subscriber-invite.component.ts: Updated config --> removeButtons for <ckeditor> (show less buttons).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60982 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d97a4d6f69
commit
76a46606a6
|
@ -70,7 +70,11 @@
|
||||||
[readonly]="false"
|
[readonly]="false"
|
||||||
debounce="500"
|
debounce="500"
|
||||||
[formControl]="myForm.get('content')"
|
[formControl]="myForm.get('content')"
|
||||||
[config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]', removeButtons: 'Save,NewPage,DocProps,Preview,Print',
|
[config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]',
|
||||||
|
removeButtons: 'Save,NewPage,DocProps,Preview,Print,' +
|
||||||
|
'Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,' +
|
||||||
|
'CreateDiv,Flash,PageBreak,' +
|
||||||
|
'Subscript,Superscript,Anchor,Smiley,Iframe,Styles,Font,About,Language',
|
||||||
extraPlugins: 'divarea'}">
|
extraPlugins: 'divarea'}">
|
||||||
</ckeditor>
|
</ckeditor>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -68,7 +68,11 @@
|
||||||
[readonly]="false"
|
[readonly]="false"
|
||||||
debounce="500"
|
debounce="500"
|
||||||
[formControl]="myForm.get('content')"
|
[formControl]="myForm.get('content')"
|
||||||
[config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]', removeButtons: 'Save,NewPage,DocProps,Preview,Print',
|
[config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]',
|
||||||
|
removeButtons: 'Save,NewPage,DocProps,Preview,Print,' +
|
||||||
|
'Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,' +
|
||||||
|
'CreateDiv,Flash,PageBreak,' +
|
||||||
|
'Subscript,Superscript,Anchor,Smiley,Iframe,Styles,Font,About,Language',
|
||||||
extraPlugins: 'divarea'}">
|
extraPlugins: 'divarea'}">
|
||||||
</ckeditor>
|
</ckeditor>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,8 +34,13 @@ declare var UIkit;
|
||||||
<div class="uk-width-expand">
|
<div class="uk-width-expand">
|
||||||
<ckeditor *ngIf="isManager" class="form-control" formControlName="message" id="message"
|
<ckeditor *ngIf="isManager" class="form-control" formControlName="message" id="message"
|
||||||
debounce="400" (ready)="loading = false"
|
debounce="400" (ready)="loading = false"
|
||||||
[config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]', removeButtons: 'Save,NewPage,DocProps,Preview,Print',
|
[config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]',
|
||||||
extraPlugins: 'divarea'}"></ckeditor>
|
removeButtons: 'Save,NewPage,DocProps,Preview,Print,' +
|
||||||
|
'Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,' +
|
||||||
|
'CreateDiv,Flash,PageBreak,' +
|
||||||
|
'Subscript,Superscript,Anchor,Smiley,Iframe,Styles,Font,About,Language',
|
||||||
|
extraPlugins: 'divarea'}">
|
||||||
|
</ckeditor>
|
||||||
<div *ngIf="!isManager" [innerHTML]="body.paragraphs"></div>
|
<div *ngIf="!isManager" [innerHTML]="body.paragraphs"></div>
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
{{body.signature}}
|
{{body.signature}}
|
||||||
|
|
Loading…
Reference in New Issue