Skip to content

Commit d45220d

Browse files
committed
Add TinyMCE AI feature banner to premium plugins index
1 parent 16b450c commit d45220d

2 files changed

Lines changed: 48 additions & 8 deletions

File tree

modules/ROOT/partials/index-pages/premium-plugins.adoc

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
This section lists the premium plugins provided by {productname}.
22

3+
include::partial$misc/admon-plugins-tinymce-ai-feature.adoc[]
4+
35
[cols="1,1"]
46
|===
57

@@ -17,9 +19,9 @@ Replace common typewriter-style characters with their professional typesetter eq
1719

1820
a|
1921
[.lead]
20-
xref:ai.adoc[AI Assistant]
22+
xref:ai.adoc[AI Assistant (legacy)]
2123

22-
Send queries to registered AI APIs and set the results in the current document.
24+
Earlier plugin for sending queries to registered AI APIs and inserting results into the document. New integrations are documented under xref:tinymceai-introduction.adoc[TinyMCE AI].
2325

2426
a|
2527
[.lead]
@@ -200,12 +202,6 @@ xref:tableofcontents.adoc[Table of Contents]
200202

201203
Insert a simple Table of Contents into the {productname} editor.
202204

203-
a|
204-
[.lead]
205-
xref:tinymceai-introduction.adoc[TinyMCE AI]
206-
207-
AI-powered features for {productname} including AI chat, AI review, and quick actions.
208-
209205
a|
210206
[.lead]
211207
xref:tinydrive-introduction.adoc[Tiny Drive]
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Plugins index — TinyMCE AI feature advert. Self-contained styles (not shared with admon-promo-banner).
2+
++++
3+
<style>
4+
.plugins-ai-feature-banner {
5+
--radius: 3px;
6+
position: relative;
7+
padding: 1rem;
8+
background: #f9f9fb;
9+
margin: 1rem 0;
10+
border: 1px solid #e2e5ed;
11+
border-radius: var(--radius) 0 0 var(--radius);
12+
}
13+
14+
/* Same left bar as default .signup-promo::before in admon-promo-banner.adoc (coral → blue, not tinymce-ai green) */
15+
.plugins-ai-feature-banner::before {
16+
content: '';
17+
position: absolute;
18+
top: -1px; bottom: -1px; left: -1px;
19+
width: 5px;
20+
background: linear-gradient(to bottom, #F66 15%, #4D66CB 85%);
21+
border-radius: var(--radius) 0 0 var(--radius)
22+
}
23+
24+
.plugins-ai-feature-banner .paragraph:first-child {
25+
margin-top: 0;
26+
}
27+
28+
.plugins-ai-feature-banner .paragraph:last-child {
29+
margin-bottom: 0;
30+
}
31+
32+
.plugins-ai-feature-banner .paragraph + .paragraph {
33+
margin-top: 0.5em;
34+
}
35+
</style>
36+
++++
37+
38+
[.plugins-ai-feature-banner]
39+
--
40+
[.lead]
41+
xref:tinymceai-introduction.adoc[TinyMCE AI]
42+
43+
AI-powered features for {productname} including AI chat, AI review, and quick actions.
44+
--

0 commit comments

Comments
 (0)