added paste as text as default
This commit is contained in:
parent
a2d49e8b47
commit
4a462d450e
|
|
@ -267,14 +267,15 @@
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
|
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
|
||||||
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
|
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
|
||||||
'insertdatetime', 'media', 'table', 'code', 'wordcount'
|
'insertdatetime', 'media', 'table', 'code', 'wordcount', 'paste'
|
||||||
],
|
],
|
||||||
toolbar: 'undo redo | blocks | ' +
|
toolbar: 'undo redo | blocks | ' +
|
||||||
'bold italic backcolor | customDictionary | alignleft aligncenter ' +
|
'bold italic backcolor | customDictionary | alignleft aligncenter ' +
|
||||||
'alignright alignjustify | bullist numlist outdent indent | ' +
|
'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*/
|
/* enable title field in the Image dialog*/
|
||||||
image_title: true,
|
image_title: true,
|
||||||
|
paste_as_text: true,
|
||||||
/* enable automatic uploads of images represented by blob or data URIs*/
|
/* enable automatic uploads of images represented by blob or data URIs*/
|
||||||
automatic_uploads: true,
|
automatic_uploads: true,
|
||||||
/*
|
/*
|
||||||
|
|
@ -334,14 +335,14 @@
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
|
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
|
||||||
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
|
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
|
||||||
'insertdatetime', 'media', 'table', 'code', 'wordcount'
|
'insertdatetime', 'media', 'table', 'code', 'wordcount', 'paste'
|
||||||
],
|
],
|
||||||
toolbar: 'undo redo | blocks | ' +
|
toolbar: 'undo redo | blocks | ' +
|
||||||
'bold italic backcolor | alignleft aligncenter ' +
|
'bold italic backcolor | alignleft aligncenter ' +
|
||||||
'alignright alignjustify | bullist numlist outdent indent | ' +
|
'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 }',
|
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }',
|
||||||
language: 'pl'
|
paste_as_text: true
|
||||||
});
|
});
|
||||||
|
|
||||||
tinymce.init({
|
tinymce.init({
|
||||||
|
|
@ -351,13 +352,14 @@
|
||||||
plugins: [
|
plugins: [
|
||||||
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
|
'advlist', 'autolink', 'lists', 'link', 'image', 'charmap', 'preview',
|
||||||
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
|
'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
|
||||||
'insertdatetime', 'media', 'table', 'code', 'wordcount'
|
'insertdatetime', 'media', 'table', 'code', 'wordcount', 'paste'
|
||||||
],
|
],
|
||||||
toolbar: 'undo redo | blocks | ' +
|
toolbar: 'undo redo | blocks | ' +
|
||||||
'bold italic backcolor | alignleft aligncenter ' +
|
'bold italic backcolor | alignleft aligncenter ' +
|
||||||
'alignright alignjustify | bullist numlist outdent indent | ' +
|
'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 }'
|
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px }',
|
||||||
|
paste_as_text: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue