diff --git a/app/views/grants/_form.html.erb b/app/views/grants/_form.html.erb
index 9a2d646..abe7515 100644
--- a/app/views/grants/_form.html.erb
+++ b/app/views/grants/_form.html.erb
@@ -267,14 +267,15 @@
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
- 'insertdatetime', 'media', 'table', 'code', 'wordcount'
+ 'insertdatetime', 'media', 'table', 'code', 'wordcount', 'paste'
],
toolbar: 'undo redo | blocks | ' +
'bold italic backcolor | customDictionary | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +
- 'removeformat link image media | table tableinsertdialog tablecellprops tableprops advtablerownumbering',
+ 'removeformat link image media | table tableinsertdialog tablecellprops tableprops advtablerownumbering pastetext',
/* enable title field in the Image dialog*/
image_title: true,
+ paste_as_text: true,
/* enable automatic uploads of images represented by blob or data URIs*/
automatic_uploads: true,
/*
@@ -334,14 +335,14 @@
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
- 'insertdatetime', 'media', 'table', 'code', 'wordcount'
+ 'insertdatetime', 'media', 'table', 'code', 'wordcount', 'paste'
],
toolbar: 'undo redo | blocks | ' +
'bold italic backcolor | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +
- 'removeformat link | table tableinsertdialog tablecellprops tableprops advtablerownumbering',
+ 'removeformat link | table tableinsertdialog tablecellprops tableprops advtablerownumbering pastetext',
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }',
- language: 'pl'
+ paste_as_text: true
});
tinymce.init({
@@ -351,13 +352,14 @@
plugins: [
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
- 'insertdatetime', 'media', 'table', 'code', 'wordcount'
+ 'insertdatetime', 'media', 'table', 'code', 'wordcount', 'paste'
],
toolbar: 'undo redo | blocks | ' +
'bold italic backcolor | alignleft aligncenter ' +
'alignright alignjustify | bullist numlist outdent indent | ' +
- 'removeformat link | table tableinsertdialog tablecellprops tableprops advtablerownumbering',
- content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }'
+ 'removeformat link | table tableinsertdialog tablecellprops tableprops advtablerownumbering pastetext',
+ content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }',
+ paste_as_text: true
});
});