|
| 1 | +[[<configuration_option>]] |
| 2 | +== `<configuration_option>` |
| 3 | + |
| 4 | +//// |
| 5 | +What does the option do? |
| 6 | +Why use it? |
| 7 | +When use it? |
| 8 | +What values can it use? |
| 9 | +What do these values do? |
| 10 | +Are there risks? |
| 11 | + - Explain without using ‘risk’ or similar words. |
| 12 | + - Use NOTE or IMPORTANT admonitions if helpful. |
| 13 | + - For longer or more complicated scenarios, use the limitations section below. |
| 14 | +//// |
| 15 | + |
| 16 | +*Type:* `+String+`, `+Boolean+`, `+Number+`, `+Function+`, `+Object+`, `+Array+`, or `+Regexp+` |
| 17 | + |
| 18 | +// Remove the *Possible values* line if there is no discrete set of possible values. |
| 19 | +*Possible values:* `'string1'`, `'string2'`, `false` |
| 20 | + |
| 21 | +*Default value:* `false`, `1`, `'string1'` |
| 22 | + |
| 23 | +=== Example: using `<configuration_option>` |
| 24 | + |
| 25 | +// Add a working and tested configuration. |
| 26 | +[source,js] |
| 27 | +---- |
| 28 | +tinymce.init({ |
| 29 | + selector: 'textarea', // Change this value according to your HTML |
| 30 | + <configuration_option>: '<value>' |
| 31 | +}); |
| 32 | +---- |
| 33 | + |
| 34 | +// Add a working and tested configuration (edit as required) |
| 35 | +// or remove if not applicable. |
| 36 | +=== Example: disabling the <feature> |
| 37 | + |
| 38 | +To disable <feature>, set `<configuration_option>` to `false`. |
| 39 | + |
| 40 | +[source,js] |
| 41 | +---- |
| 42 | +tinymce.init({ |
| 43 | + selector: 'textarea', // Change this value according to your HTML |
| 44 | + <configuration_option>: 'false' |
| 45 | +}); |
| 46 | +---- |
| 47 | + |
| 48 | +// Remove if not applicable. |
| 49 | +=== Limitation<s> of the `<configuration_option>` option |
| 50 | + |
| 51 | +The `<configuration_option>` option has the following limitations. |
| 52 | + |
| 53 | +//// |
| 54 | +Known limitations. |
| 55 | +Complicated scenarios. |
| 56 | +Anything that warrants a CAUTION or WARNING admonition. |
| 57 | +//// |
0 commit comments