You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/customsidebar.adoc
+21-32Lines changed: 21 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,42 +18,30 @@ When a new sidebar is registered, a corresponding toolbar button for toggling th
18
18
19
19
=== Specification object
20
20
21
-
[[tooltip]]
22
-
==== `+tooltip+`
21
+
[cols="1,1,4", options="header"]
22
+
|===
23
+
| Property | Type | Description
23
24
24
-
The `+tooltip+` specifies a tooltip to be displayed when hovering over the sidebar toggle button.
25
+
| `+tooltip+`
26
+
| `+String+`
27
+
| Specifies a tooltip to be displayed when hovering over the sidebar toggle button.
25
28
26
-
*Type:* `+String+`
29
+
| `+icon+`
30
+
| `+String+`
31
+
| Specifies an icon for the sidebar toggle button. The icon should be the name of an icon provided by the {productname} skin or a xref:apis/tinymce.editor.ui.registry.adoc#addIcon[custom icon].
27
32
28
-
[[icon]]
29
-
==== `+icon+`
33
+
| `+onSetup+`
34
+
| `+Function+`
35
+
| Specifies a function to be called when the panel is first created. It passes in an API object and should return a callback that takes an API. The default is `+(api) => (api) => {}+`. This function runs whenever the sidebar is rendered, and the returned callback is executed when the sidebar is destroyed. Therefore, the returned function is essentially an `+onTeardown+` handler, and can be used to unbind events and callbacks.
30
36
31
-
The `+icon+` specifies an icon for the sidebar toggle button. The icon should be the name of an icon provided by the {productname} skin or a xref:apis/tinymce.editor.ui.registry.adoc#addIcon[custom icon].
37
+
| `+onShow+`
38
+
| `+Function+`
39
+
| Specifies a function to be called when the panel is displayed. It passes in an API object.
32
40
33
-
*Type:* `+String+`
34
-
35
-
[[onSetup]]
36
-
==== `+onSetup+`
37
-
38
-
The `+onSetup+` specifies a function to be called when the panel is first created. It passes in an API object and should return a callback that takes an API. The default is `+(api) => (api) => {}+`.
39
-
40
-
`+onSetup+` is a complex property. It requires a function that takes the sidebar’s API and should return a callback that takes the sidebar's API and returns nothing. This occurs because `+onSetup+` runs whenever the sidebar is rendered, and the returned callback is executed when the sidebar is destroyed. Therefore the returned function is essentially an `+onTeardown+` handler, and can be used to unbind events and callbacks.
41
-
42
-
*Type:* `+Function+`
43
-
44
-
[[onShow]]
45
-
==== `+onShow+`
46
-
47
-
The `+onShow+` specifies a function to be called when the panel displayed. It passes in an API object.
48
-
49
-
*Type:* `+Function+`
50
-
51
-
[[onHide]]
52
-
==== `+onHide+`
53
-
54
-
The `+onHide+` specifies a function to be called when the panel is hidden. It passes in an API object.
55
-
56
-
*Type:* `+Function+`
41
+
| `+onHide+`
42
+
| `+Function+`
43
+
| Specifies a function to be called when the panel is hidden. It passes in an API object.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/advanced-typography.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ This option sets which languages are available for applying language-specific ty
73
73
74
74
A user can then select text and select from the available languages. That language’s language-specific typography rules are then applied to the selected text.
75
75
76
-
*Type:* `+Object+`
76
+
*Type:* `+Array+`
77
77
78
78
=== Example: Using `typography_langs`
79
79
@@ -161,7 +161,7 @@ tinymce.init({
161
161
|Russian
162
162
|ru
163
163
164
-
|Servian
164
+
|Serbian
165
165
|sr
166
166
167
167
|Slovak
@@ -203,7 +203,7 @@ tinymce.init({
203
203
selector: 'textarea', // change this value according to your html
204
204
plugins: '{plugincode}',
205
205
toolbar: '{plugincode}',
206
-
typography_default_lang: 'en_US', // This is required to configure the default language used by typography.
206
+
typography_default_lang: 'en-US', // This is required to configure the default language used by typography.
As part of the {productname} 6.3 release, the {pluginname} plugin includes a new option, `advcode_inline`, that allows users to open the Enhanced Code Editor within {productname}’s existing editor space instead of being displayed in a separate dialog box.
7
7
8
-
Type : `boolean`,
8
+
*Type:* `+Boolean+`
9
9
10
-
Default: false
10
+
*Possible values:* `+true+`, `+false+`
11
+
12
+
*Default value:* `+false+`
11
13
12
14
== Example: basic setup
13
15
@@ -62,9 +64,9 @@ As part of the {productname} 7.3 release, the {pluginname} plugin includes a new
62
64
63
65
By default, any code rendered inside **Enhanced Coded Editor** will be formatted with correct indentation.
Copy file name to clipboardExpand all lines: modules/ROOT/partials/configuration/anchor_bottom.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
Lets you specify a custom name for the bottom anchor in the url type ahead drop down. To disable the bottom anchor from the drop down set it `+false+`.
Automatically set the focus to an editor instance. The value of this option should be an editor instance `+id+`. The editor instance id is the id for the original `+textarea+` or `+div+` element that got replaced.
4
+
Automatically set the focus to an editor instance. The value of this option should be an editor instance `+id+`. The editor instance id is the id for the original `+textarea+` or `+div+` element that got replaced. If you set this option to `+true+`, the focus will be set to the last initialized editor instance.
5
5
6
-
*Type:* `+String+`
6
+
*Type:* `+String+` or `+true+`
7
7
8
-
=== Example: using `+auto_focus+`
8
+
=== Example: using `+auto_focus+` with custom `+id+`
9
9
10
10
[source,js]
11
11
----
@@ -14,3 +14,13 @@ tinymce.init({
14
14
auto_focus: 'element1'
15
15
});
16
16
----
17
+
18
+
=== Example: using `+auto_focus+` with `+true+`
19
+
20
+
[source,js]
21
+
----
22
+
tinymce.init({
23
+
selector: 'textarea', // change this value according to your HTML
0 commit comments