document allow_unsafe_link_target

This commit is contained in:
Davit Barbakadze
2016-11-07 17:00:01 +04:00
parent be336c1705
commit 2c51f792b2
3 changed files with 21 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@
pages:
- url: "#allow_conditional_comments"
- url: "#allow_html_in_named_anchor"
- url: "#allow_unsafe_link_target"
- url: "#convert_fonts_to_spans"
- url: "#custom_elements"
- url: "#doctype"
@@ -0,0 +1,18 @@
## allow_unsafe_link_target
By default all links with a `target` of *_blank* will get a `rel` attribute of `noopener noreferrer`. This will disable access to the `window.opener` object from a child tab/window that will open on click. If this is not something you care about, you can disable this option, by setting it to *false*. Although **we do not recommend** you to do so!
**Type:** `Boolean`
**Default Value:** `false`
**Possible Values:** `true`, `false`
##### Example
```js
tinymce.init({
selector: 'textarea',
allow_unsafe_link_target: true
});
```
+2
View File
@@ -9,6 +9,8 @@ description: These settings change the way the editor handles the input and outp
{% include configuration/allow-html-in-named-anchor.md %}
{% include configuration/allow-unsafe-link-target.md %}
{% include configuration/convert-fonts-to-spans.md %}
{% include configuration/custom-elements.md %}