
12 changed files with 173 additions and 4 deletions
-
7_data/nav.yml
-
18_includes/configuration/insert-toolbar.md
-
18_includes/configuration/selection-toolbar.md
-
2_includes/configuration/theme.md
-
5advanced/editor-control-identifiers.md
-
2advanced/index.md
-
4configure/editor-appearance.md
-
2enterprise/index.md
-
2integrations/index.md
-
11themes/index.md
-
73themes/inlight.md
-
33themes/modern.md
@ -0,0 +1,18 @@ |
|||
## insert_toolbar |
|||
|
|||
The enables you to specify toolbar items to include in the inlight themes insert toolbar. We recommend that you only have insert related controls in this toolbar but nothing is restricting you to use any of the available [toolbar controls]({{ site.baseurl }}/advanced/editor-control-identifiers/#toolbarcontrols). |
|||
|
|||
**Type:** `String` |
|||
|
|||
**Defaults:** `quickimage quicktable` |
|||
|
|||
##### Example |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: 'div.tinymce', |
|||
theme: 'inlight', |
|||
inline: true, |
|||
insert_toolbar: 'quickimage quicktable' |
|||
}); |
|||
``` |
@ -0,0 +1,18 @@ |
|||
## selection_toolbar |
|||
|
|||
The enables you to specify toolbar items to include in the inlight themes text selection toolbar. We recommend that you only have formatting related controls in this toolbar but nothing is restricting you to use any of the available [toolbar controls]({{ site.baseurl }}/advanced/editor-control-identifiers/#toolbarcontrols). |
|||
|
|||
**Type:** `String` |
|||
|
|||
**Defaults:** `bold italic | quicklink h2 h3 blockquote` |
|||
|
|||
##### Example |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: 'div.tinymce', |
|||
theme: 'inlight', |
|||
inline: true, |
|||
selection_toolbar: 'bold italic | quicklink h2 h3 blockquote' |
|||
}); |
|||
``` |
@ -0,0 +1,11 @@ |
|||
--- |
|||
layout: default |
|||
title: Add Themes to TinyMCE |
|||
title_nav: Add Themes to TinyMCE |
|||
description_short: This section will help you configure themes. |
|||
description: TinyMCE is an incredibly powerful, flexible and customizable rich text editor. This section will help you configure themes. |
|||
type: folder |
|||
--- |
|||
|
|||
{% assign links = site.data.nav[4].pages %} |
|||
{% include index.html links=links %} |
@ -0,0 +1,73 @@ |
|||
--- |
|||
layout: default |
|||
title: Inlight theme |
|||
title_nav: Inlight |
|||
description: Theme that renders a light weight UI for inline editing. |
|||
keywords: theme inlight |
|||
--- |
|||
|
|||
The `inlight` theme is responsible for rendering the editor lightweight inline mode. The current default theme is called [modern]({{ site.baseurl }}/themes/modern/) this is an optional more light weight distraction free UI for the editor. |
|||
|
|||
##### Example: |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: "div.tinymce", |
|||
themes: "inlight", |
|||
inline: true |
|||
}); |
|||
``` |
|||
|
|||
### Theme specific controls |
|||
|
|||
#### quicklink |
|||
Lets you quickly insert/edit links inline. |
|||
|
|||
##### Example: |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: "div.tinymce", |
|||
themes: "inlight", |
|||
inline: true, |
|||
selection_toolbar: 'bold italic | quicklink h2 h3 blockquote' |
|||
}); |
|||
``` |
|||
|
|||
#### quickimage |
|||
|
|||
Lets you quickly insert images from the local machine into the editor. These can then be automatically uploaded if you configure [image uploading]({{ site.baseurl }}/advanced/handle-async-image-uploads/). |
|||
|
|||
##### Example: |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: "div.tinymce", |
|||
themes: "inlight", |
|||
inline: true, |
|||
insert_toolbar: 'quickimage quicktable' |
|||
}); |
|||
``` |
|||
|
|||
#### quicktable |
|||
|
|||
Lets you quickly insert a table 2x2 with 100% width. |
|||
|
|||
##### Example: |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: "div.tinymce", |
|||
themes: "inlight", |
|||
inline: true, |
|||
insert_toolbar: 'quickimage quicktable' |
|||
}); |
|||
``` |
|||
|
|||
### Related configuration options |
|||
|
|||
* [insert_toolbar]({{ site.baseurl }}/configure/editor-appearance/#insert_toolbar) |
|||
* [selection_toolbar]({{ site.baseurl }}/configure/editor-appearance/#selection_toolbar) |
|||
* [inline]({{ site.baseurl }}/configure/editor-appearance/#inline) |
|||
* [skin]({{ site.baseurl }}/configure/editor-appearance/#skin) |
|||
* [theme]({{ site.baseurl }}/configure/editor-appearance/#theme) |
@ -0,0 +1,33 @@ |
|||
--- |
|||
layout: default |
|||
title: Modern theme |
|||
title_nav: Modern |
|||
description: Theme that renders iframe or inline modes using the tinymce core UI framework. |
|||
keywords: theme modern |
|||
--- |
|||
|
|||
The `modern` theme is responsible for rendering the editor in iframe or inline mode. This is currently the default theme there is also a light weight theme called [inlight]({{ site.baseurl }}/themes/inlight/) |
|||
|
|||
##### Example: |
|||
|
|||
```js |
|||
tinymce.init({ |
|||
selector: "textarea.tinymce", |
|||
themes: "modern" |
|||
}); |
|||
``` |
|||
|
|||
### Related configuration options |
|||
|
|||
* [elementpath]({{ site.baseurl }}/configure/editor-appearance/#elementpath) |
|||
* [fixed-toolbar-container]({{ site.baseurl }}/configure/editor-appearance/#fixed-toolbar-container) |
|||
* [inline]({{ site.baseurl }}/configure/editor-appearance/#inline) |
|||
* [menu]({{ site.baseurl }}/configure/editor-appearance/#menu) |
|||
* [menubar]({{ site.baseurl }}/configure/editor-appearance/#menubar) |
|||
* [resize]({{ site.baseurl }}/configure/editor-appearance/#resize) |
|||
* [skin]({{ site.baseurl }}/configure/editor-appearance/#skin) |
|||
* [statusbar]({{ site.baseurl }}/configure/editor-appearance/#statusbar) |
|||
* [theme]({{ site.baseurl }}/configure/editor-appearance/#theme) |
|||
* [toolbar]({{ site.baseurl }}/configure/editor-appearance/#toolbar) |
|||
* [toolbar-n]({{ site.baseurl }}/configure/editor-appearance/#toolbar-n) |
|||
* [height]({{ site.baseurl }}/configure/editor-appearance/#height) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue