From 76a46606a61220e928cf657033898a93c3e13d1c Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 10 May 2021 17:56:10 +0000 Subject: [PATCH] [Trunk | Library]: class-help-content-form.component.html & page-help-content-form.component.html & subscriber-invite.component.ts: Updated config --> removeButtons for (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 --- .../class-help-content-form.component.html | 8 ++++++-- .../helpTexts/page-help-content-form.component.html | 8 ++++++-- .../subscriber-invite/subscriber-invite.component.ts | 9 +++++++-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/dashboard/divhelpcontent/class-help-content-form.component.html b/dashboard/divhelpcontent/class-help-content-form.component.html index e511880c..e1a3fb12 100644 --- a/dashboard/divhelpcontent/class-help-content-form.component.html +++ b/dashboard/divhelpcontent/class-help-content-form.component.html @@ -70,8 +70,12 @@ [readonly]="false" debounce="500" [formControl]="myForm.get('content')" - [config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]', removeButtons: 'Save,NewPage,DocProps,Preview,Print', - extraPlugins: 'divarea'}"> + [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'}"> diff --git a/dashboard/helpTexts/page-help-content-form.component.html b/dashboard/helpTexts/page-help-content-form.component.html index 9fc1911c..cd94c931 100644 --- a/dashboard/helpTexts/page-help-content-form.component.html +++ b/dashboard/helpTexts/page-help-content-form.component.html @@ -68,8 +68,12 @@ [readonly]="false" debounce="500" [formControl]="myForm.get('content')" - [config]="{ extraAllowedContent: '* [uk-*](*) ; span', disallowedContent: 'script; *[on*]', removeButtons: 'Save,NewPage,DocProps,Preview,Print', - extraPlugins: 'divarea'}"> + [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'}"> diff --git a/sharedComponents/subscriber-invite/subscriber-invite.component.ts b/sharedComponents/subscriber-invite/subscriber-invite.component.ts index f3c03189..0266184b 100644 --- a/sharedComponents/subscriber-invite/subscriber-invite.component.ts +++ b/sharedComponents/subscriber-invite/subscriber-invite.component.ts @@ -34,8 +34,13 @@ declare var UIkit;
+ [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'}"> +
{{body.signature}}