Skip to content

Commit 9eb0dd6

Browse files
committed
Remove admon-requires includes across the tinymce/8 project.
1 parent 30b3e2a commit 9eb0dd6

File tree

66 files changed

+1
-132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1
-132
lines changed

modules/ROOT/pages/a11ychecker.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ xref:a11ychecker_html_version[HTML version]:: HTML4 and HTML5
240240

241241
WCAG 2.1 specification:: n/a.
242242

243-
include::partial$misc/admon-requires-6.3v.adoc[]
244-
245243

246244
[[T1]]
247245
=== T1 - Table caption

modules/ROOT/pages/accordion.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
:plugincode: accordion
88
:plugincategory: opensource
99

10-
include::partial$misc/admon-requires-6.5v.adoc[]
11-
1210
The {pluginname} plugin allows for the creation of sections in a document that can be expanded or collapsed to show or hide additional content.
1311

1412
== Interactive example

modules/ROOT/pages/advanced-templates.adoc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
include::partial$misc/admon-premium-plugin.adoc[]
1111

12-
include::partial$misc/admon-requires-6.4v.adoc[]
13-
1412
[TIP]
1513
As of {productname} 7.0, the Advanced Template plugin has been renamed to {pluginname}. When adding {pluginname} in your editor, continue to use {plugincode}.
1614

@@ -82,8 +80,6 @@ To manage the template list
8280
[[read-only-categories]]
8381
=== Readonly categories
8482

85-
include::partial$misc/admon-requires-7.4v.adoc[]
86-
8783
{pluginname} categories can be set to read-only in {productname}, preventing users from modifying the category or its templates. When a category is set to read-only, users cannot:
8884

8985
* add new templates to the category
@@ -180,8 +176,6 @@ liveDemo::{plugincode}[]
180176
[[the-insertion-point-marker]]
181177
=== The insertion point marker
182178

183-
include::partial$misc/admon-requires-6.7v.adoc[]
184-
185179
The insertion point marker is a fixed string for adding to any template.
186180

187181
The string to add is as follows: `+{{mce-cursor}}+`.
@@ -196,8 +190,6 @@ liveDemo::{plugincode}-insertionpoint[]
196190
[[the-mce-clipboard-marker]]
197191
=== The mce-clipboard marker
198192

199-
include::partial$misc/admon-requires-6.8v.adoc[]
200-
201193
The `+{{mce-clipboard}}+` marker is a fixed string for adding to any template.
202194

203195
The string to add is as follows: `+{{mce-clipboard}}+`.

modules/ROOT/pages/advanced-typography.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
include::partial$misc/admon-premium-plugin.adoc[]
1111

12-
include::partial$misc/admon-requires-6.3v.adoc[]
13-
1412
The {pluginname} plugin, depending on its setting, can replace common typewriter-style characters with their professional typesetter equivalents after the _Advanced Typography_ button is pressed. This action will modify either the entire content for the {productname} document or the specific text selection highlighted by the user.
1513

1614
For example, if English-language typography rules are set, the {pluginname} plugin can automatically replace an open-hyphen (`-`) with an em-dash (`—`). And it can automatically replace the teardrop apostrophe (`'`) with opening and closing quote marks (`‘` and `’`).

modules/ROOT/pages/ai.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
include::partial$misc/admon-ai-pricing.adoc[]
1111

12-
include::partial$misc/admon-requires-6.6v.adoc[]
13-
1412
The {pluginname} plugin allows a user to interact with registered AI APIs by sending queries and viewing responses within a {productname} editor dialog.
1513

1614
Once a response is generated and displayed within the dialog, the user can choose to either:

modules/ROOT/pages/autocompleter.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ The two arguments this method take are:
2424
|===
2525
|Name |Value |Requirement |Description
2626
|trigger |`+string+` |Required |The string to trigger the autocompleter.
27-
include::partial$misc/admon-requires-6.2v.adoc[]
2827
|fetch |`+(pattern: string, maxResults: number, fetchOptions: Record<string, any>) => Promise<AutocompleteItem[] \| CardMenuItem[]+` |Required |A function that is passed the current matched text pattern, the maximum number of expected results and any additional fetch options. The function should return a Promise containing matching results.
2928
|onAction |`+(api, rng: Range, value: string) => void+` |Required |A function invoked when a fetched item is selected.
3029
|columns |number or `'auto'` |Optional |default: auto - The number of columns to show. If set to `+1+` column, then icons and text are displayed, otherwise only icons are displayed.

modules/ROOT/pages/autocorrect.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
include::partial$misc/admon-premium-plugin.adoc[]
1111

12-
include::partial$misc/admon-requires-6.2v.adoc[]
13-
1412
The {pluginname} plugin allows {productname} to autocorrect a specified set of spelling errors, common typos, and capitalization errors, as they are being typed.
1513

1614
== Interactive Example

modules/ROOT/pages/comments-commands-events-apis.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ include::partial$events/tinycomments-events.adoc[]
1717

1818
=== CommentChange event
1919

20-
include::partial$misc/admon-requires-6.1v.adoc[]
21-
2220
Fired when a comment is added, resolved, deleted, edited, or replied to. Contains the `getEventLog` API for retrieving log of comment changes.
2321

2422
==== Example: the CommentChange event

modules/ROOT/pages/custom-basic-menu-items.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ include::partial$misc/admon-predefined-icons-only.adoc[]
1919
|onAction |`+(api) => void+` |required |Function invoked when the menu item is clicked.
2020
|shortcut |string |optional |Text to display in the shortcut label. To register a shortcut, see: xref:shortcuts.adoc[Add custom shortcuts to TinyMCE].
2121
4+|
22-
include::partial$misc/admon-requires-7.4v.adoc[]
2322
|context |string |optional |default: `mode:design` - The context property dynamically enables or disables the menu item based on the editor's current state. For details, see: xref:context.adoc[Context].
2423
|===
2524

modules/ROOT/pages/custom-basic-toolbar-button.adoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ include::partial$misc/admon-predefined-icons-only.adoc[]
1818
|onSetup |`+(api) => (api) => void+` |optional |default: `+() => () => {}+` - Function invoked when the button is rendered. For details, see: xref:using-onsetup[Using `+onSetup+`].
1919
|onAction |`+(api) => void+` |required |Function invoked when the button is clicked.
2020
4+|
21-
include::partial$misc/admon-requires-7.0v.adoc[]
2221
|shortcut |string |optional |Shortcut to display in the tooltip. To register a shortcut, see: xref:shortcuts.adoc[Add custom shortcuts to TinyMCE].
2322
4+|
24-
include::partial$misc/admon-requires-7.4v.adoc[]
2523
|context |string |optional |default: `mode:design` - The context property dynamically enables or disables the button based on the editor's current state. For details, see: xref:context.adoc[Context].
2624
|===
2725

@@ -33,7 +31,6 @@ include::partial$misc/admon-requires-7.4v.adoc[]
3331
|isEnabled |`+() => boolean+` |Checks if the button is enabled.
3432
|setEnabled |`+(state: boolean) => void+` |Sets the button's enabled state.
3533
3+|
36-
include::partial$misc/admon-requires-6.4v.adoc[]
3734
|setText |`+(text: string) => void+` |Sets the text label to display.
3835
|setIcon |`+(icon: string) => void+` |Sets the icon of the button.
3936
|===

0 commit comments

Comments
 (0)