Browse Source

TINY-3606: Added docs for the new image_uploadtab configuration option

pull/1049/head
Lee Newson 6 years ago
parent
commit
3073cb8cbf
  1. 1
      _data/nav.yml
  2. 22
      plugins/image.md

1
_data/nav.yml

@ -263,6 +263,7 @@
- url: "#image_dimensions"
- url: "#image_prepend_url"
- url: "#image_title"
- url: "#image_uploadtab"
- url: "imagetools"
pages:
- url: "#imagetools_cors_hosts"

22
plugins/image.md

@ -277,6 +277,28 @@ tinymce.init({
});
```
### `image_uploadtab`
This option adds an "Upload" tab to the image dialog allowing you to upload local images, when the [`images_upload_url`]({{site.baseurl}}/configure/file-image-upload/#images_upload_url) is also configured.
**Type:** `Boolean`
**Default Value:** `true`
**Possible Values:** `true`, `false`
##### Example
```js
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "image",
menubar: "insert",
toolbar: "image",
image_uploadtab: false
});
```
## Q: Where are the advanced image options?
Use the `Style Formats` option instead, which is much more powerful.

Loading…
Cancel
Save