public async ngAfterViewInit(): Promise<void> {
tinymce.init({
selector: `textarea#${this.identifier}`,
menubar: false,
contextmenu: "copy paste",
mobile: {
theme: 'silver'
},
readonly: !this.arguments.isEditMode,
language: this._applicationService.applicationLanguage.replace('-', '_'),
plugins: 'print autoresize preview fullpage importcss searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists imagetools textpattern noneditable help charmap emoticons',
toolbar: 'undo redo | bold italic underline strikethrough | fontsizeselect formatselect | alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | insertfile image media link | table | preview fullscreen',
paste_as_text: true,
fontsize_formats: '8pt 8.5pt 9pt 9.5pt 10pt 10.5pt 11pt 11.5pt 12pt 12.5pt 14pt 14.5pt 16pt 16.5pt 18pt 18.5pt 20pt 20.5pt 22pt 22.5pt 24pt 24.5pt 26pt 26.5pt 30pt 30.5pt 36pt 36.5pt'}
This is my code when i right click i have copy and paste option in contextmenu copy is working but paste not. How i should do to solve it ?