Ledzz / angular2-tinymce

Angular 2 component for TinyMCE MCE WYSIWYG editor
https://angular2-tinymce.surge.sh
66 stars 37 forks source link

paste_data_images :true is throwing error in angular cli but working with drag and drop of images #74

Open nik0405 opened 5 years ago

nik0405 commented 5 years ago

TinymceModule.withConfig({ skin_url: "../resources/tinymce/skins/lightgray", browser_spellcheck: true, plugins: ['paste','lists'], paste_data_images: true, auto_focus:false, menubar: false, toolbar: 'bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link', statusbar: false, height:200, remove_trailing_brs:true, body_class:"tinmnce-body", content_style: "html{overflow-y:auto !important;}" }),

So i can not build the application with AOT. Also i am not able to paste with keyboard shortcuts if i have copied any image in clipboard.

Please provide your valueable inputs.