added paste as text as default
This commit is contained in:
parent
a2d49e8b47
commit
4a462d450e
|
|
@ -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
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue