Browse Source

Merge pull request #980 from tinymce/feature/DOC-242

DOC-242: Added new paste_as_text setting to the powerpaste plugin page
pull/988/head
Lee Newson 6 years ago
committed by GitHub
parent
commit
19fe2e649e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      plugins/paste.md
  2. 20
      plugins/powerpaste.md

4
plugins/paste.md

@ -66,7 +66,7 @@ This option enables you to set the default state of the `Paste as text` menu ite
**Default Value:** `false`
**Possbile Values:** `true`, `false`
**Possible Values:** `true`, `false`
##### Example
@ -75,7 +75,7 @@ tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "paste",
menubar: "edit",
toolbar: "paste"
toolbar: "paste",
paste_as_text: true
});
```

20
plugins/powerpaste.md

@ -2,7 +2,7 @@
layout: default
title: PowerPaste plugin
title_nav: PowerPaste
keywords: enterprise powerpaste power paste powerpaste_word_import powerpaste_html_import powerpaste_block_drop powerpaste_allow_local_images microsoft word excel
keywords: enterprise powerpaste power paste paste_as_text powerpaste_word_import powerpaste_html_import powerpaste_block_drop powerpaste_allow_local_images microsoft word excel
---
The TinyMCE **PowerPaste** plugin automatically cleans up content from Microsoft Word/Excel and HTML sources to ensure clean, compliant content that matches the look and feel of the site.
@ -69,6 +69,24 @@ tinymce.init({
## Configuration Options
### paste_as_text
This option controls the default state of the **Paste as text** menu item, which is added by the `powerpaste` plugin under the `Edit` menu drop-down.
The supported values are `true` and `false`. The default is `false`.
##### Example
```js
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "powerpaste",
menubar: "edit",
toolbar: "pastetext",
paste_as_text: true
});
```
### powerpaste_word_import
This setting controls how content being pasted from Microsoft Word is filtered. The supported values are:

Loading…
Cancel
Save