document allow_unsafe_link_target
This commit is contained in:
@@ -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
|
||||
});
|
||||
```
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user