@ckeditor/ckeditor5-ai 43.2.0-alpha.7 → 43.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ast.js +1 -0
  3. package/build/translations/az.js +1 -0
  4. package/build/translations/en-gb.js +1 -0
  5. package/build/translations/eo.js +1 -0
  6. package/build/translations/eu.js +1 -0
  7. package/build/translations/gu.js +1 -0
  8. package/build/translations/hy.js +1 -0
  9. package/build/translations/kk.js +1 -0
  10. package/build/translations/km.js +1 -0
  11. package/build/translations/kn.js +1 -0
  12. package/build/translations/ku.js +1 -0
  13. package/build/translations/nb.js +1 -0
  14. package/build/translations/ne.js +1 -0
  15. package/build/translations/oc.js +1 -0
  16. package/build/translations/si.js +1 -0
  17. package/build/translations/sl.js +1 -0
  18. package/build/translations/sq.js +1 -0
  19. package/dist/adapters/aiadapter.d.ts +8 -0
  20. package/dist/aiassistant.d.ts +12 -1
  21. package/dist/aiassistantediting.d.ts +8 -0
  22. package/dist/aiassistantui.d.ts +8 -0
  23. package/dist/index-editor.css +18 -22
  24. package/dist/index.css +18 -22
  25. package/dist/index.js +2 -2
  26. package/dist/translations/af.js +1 -1
  27. package/dist/translations/af.umd.js +1 -1
  28. package/dist/translations/ar.js +1 -1
  29. package/dist/translations/ar.umd.js +1 -1
  30. package/dist/translations/ast.d.ts +8 -0
  31. package/dist/translations/ast.js +23 -0
  32. package/dist/translations/ast.umd.js +23 -0
  33. package/dist/translations/az.d.ts +8 -0
  34. package/dist/translations/az.js +23 -0
  35. package/dist/translations/az.umd.js +23 -0
  36. package/dist/translations/bg.js +1 -1
  37. package/dist/translations/bg.umd.js +1 -1
  38. package/dist/translations/bn.js +1 -1
  39. package/dist/translations/bn.umd.js +1 -1
  40. package/dist/translations/bs.js +1 -1
  41. package/dist/translations/bs.umd.js +1 -1
  42. package/dist/translations/ca.js +1 -1
  43. package/dist/translations/ca.umd.js +1 -1
  44. package/dist/translations/cs.js +1 -1
  45. package/dist/translations/cs.umd.js +1 -1
  46. package/dist/translations/da.js +1 -1
  47. package/dist/translations/da.umd.js +1 -1
  48. package/dist/translations/de-ch.js +1 -1
  49. package/dist/translations/de-ch.umd.js +1 -1
  50. package/dist/translations/de.js +1 -1
  51. package/dist/translations/de.umd.js +1 -1
  52. package/dist/translations/el.js +1 -1
  53. package/dist/translations/el.umd.js +1 -1
  54. package/dist/translations/en-au.js +1 -1
  55. package/dist/translations/en-au.umd.js +1 -1
  56. package/dist/translations/en-gb.d.ts +8 -0
  57. package/dist/translations/en-gb.js +23 -0
  58. package/dist/translations/en-gb.umd.js +23 -0
  59. package/dist/translations/en.js +1 -1
  60. package/dist/translations/en.umd.js +1 -1
  61. package/dist/translations/eo.d.ts +8 -0
  62. package/dist/translations/eo.js +23 -0
  63. package/dist/translations/eo.umd.js +23 -0
  64. package/dist/translations/es-co.js +1 -1
  65. package/dist/translations/es-co.umd.js +1 -1
  66. package/dist/translations/es.js +1 -1
  67. package/dist/translations/es.umd.js +1 -1
  68. package/dist/translations/et.js +1 -1
  69. package/dist/translations/et.umd.js +1 -1
  70. package/dist/translations/eu.d.ts +8 -0
  71. package/dist/translations/eu.js +23 -0
  72. package/dist/translations/eu.umd.js +23 -0
  73. package/dist/translations/fa.js +1 -1
  74. package/dist/translations/fa.umd.js +1 -1
  75. package/dist/translations/fi.js +1 -1
  76. package/dist/translations/fi.umd.js +1 -1
  77. package/dist/translations/fr.js +1 -1
  78. package/dist/translations/fr.umd.js +1 -1
  79. package/dist/translations/gl.js +1 -1
  80. package/dist/translations/gl.umd.js +1 -1
  81. package/dist/translations/gu.d.ts +8 -0
  82. package/dist/translations/gu.js +23 -0
  83. package/dist/translations/gu.umd.js +23 -0
  84. package/dist/translations/he.js +1 -1
  85. package/dist/translations/he.umd.js +1 -1
  86. package/dist/translations/hi.js +1 -1
  87. package/dist/translations/hi.umd.js +1 -1
  88. package/dist/translations/hr.js +1 -1
  89. package/dist/translations/hr.umd.js +1 -1
  90. package/dist/translations/hu.js +1 -1
  91. package/dist/translations/hu.umd.js +1 -1
  92. package/dist/translations/hy.d.ts +8 -0
  93. package/dist/translations/hy.js +23 -0
  94. package/dist/translations/hy.umd.js +23 -0
  95. package/dist/translations/id.js +1 -1
  96. package/dist/translations/id.umd.js +1 -1
  97. package/dist/translations/it.js +1 -1
  98. package/dist/translations/it.umd.js +1 -1
  99. package/dist/translations/ja.js +1 -1
  100. package/dist/translations/ja.umd.js +1 -1
  101. package/dist/translations/jv.js +1 -1
  102. package/dist/translations/jv.umd.js +1 -1
  103. package/dist/translations/kk.d.ts +8 -0
  104. package/dist/translations/kk.js +23 -0
  105. package/dist/translations/kk.umd.js +23 -0
  106. package/dist/translations/km.d.ts +8 -0
  107. package/dist/translations/km.js +23 -0
  108. package/dist/translations/km.umd.js +23 -0
  109. package/dist/translations/kn.d.ts +8 -0
  110. package/dist/translations/kn.js +23 -0
  111. package/dist/translations/kn.umd.js +23 -0
  112. package/dist/translations/ko.js +1 -1
  113. package/dist/translations/ko.umd.js +1 -1
  114. package/dist/translations/ku.d.ts +8 -0
  115. package/dist/translations/ku.js +23 -0
  116. package/dist/translations/ku.umd.js +23 -0
  117. package/dist/translations/lt.js +1 -1
  118. package/dist/translations/lt.umd.js +1 -1
  119. package/dist/translations/lv.js +1 -1
  120. package/dist/translations/lv.umd.js +1 -1
  121. package/dist/translations/ms.js +1 -1
  122. package/dist/translations/ms.umd.js +1 -1
  123. package/dist/translations/nb.d.ts +8 -0
  124. package/dist/translations/nb.js +23 -0
  125. package/dist/translations/nb.umd.js +23 -0
  126. package/dist/translations/ne.d.ts +8 -0
  127. package/dist/translations/ne.js +23 -0
  128. package/dist/translations/ne.umd.js +23 -0
  129. package/dist/translations/nl.js +1 -1
  130. package/dist/translations/nl.umd.js +1 -1
  131. package/dist/translations/no.js +1 -1
  132. package/dist/translations/no.umd.js +1 -1
  133. package/dist/translations/oc.d.ts +8 -0
  134. package/dist/translations/oc.js +23 -0
  135. package/dist/translations/oc.umd.js +23 -0
  136. package/dist/translations/pl.js +1 -1
  137. package/dist/translations/pl.umd.js +1 -1
  138. package/dist/translations/pt-br.js +1 -1
  139. package/dist/translations/pt-br.umd.js +1 -1
  140. package/dist/translations/pt.js +1 -1
  141. package/dist/translations/pt.umd.js +1 -1
  142. package/dist/translations/ro.js +1 -1
  143. package/dist/translations/ro.umd.js +1 -1
  144. package/dist/translations/ru.js +1 -1
  145. package/dist/translations/ru.umd.js +1 -1
  146. package/dist/translations/si.d.ts +8 -0
  147. package/dist/translations/si.js +23 -0
  148. package/dist/translations/si.umd.js +23 -0
  149. package/dist/translations/sk.js +1 -1
  150. package/dist/translations/sk.umd.js +1 -1
  151. package/dist/translations/sl.d.ts +8 -0
  152. package/dist/translations/sl.js +23 -0
  153. package/dist/translations/sl.umd.js +23 -0
  154. package/dist/translations/sq.d.ts +8 -0
  155. package/dist/translations/sq.js +23 -0
  156. package/dist/translations/sq.umd.js +23 -0
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/dist/utils/normalizecommandsconfig.d.ts +18 -0
  188. package/lang/contexts.json +1 -0
  189. package/lang/translations/af.po +7 -9
  190. package/lang/translations/ar.po +8 -10
  191. package/lang/translations/ast.po +228 -0
  192. package/lang/translations/az.po +228 -0
  193. package/lang/translations/bg.po +7 -9
  194. package/lang/translations/bn.po +7 -9
  195. package/lang/translations/bs.po +8 -10
  196. package/lang/translations/ca.po +7 -9
  197. package/lang/translations/cs.po +8 -10
  198. package/lang/translations/da.po +7 -9
  199. package/lang/translations/de-ch.po +7 -9
  200. package/lang/translations/de.po +7 -9
  201. package/lang/translations/el.po +7 -9
  202. package/lang/translations/en-au.po +7 -9
  203. package/lang/translations/en-gb.po +228 -0
  204. package/lang/translations/en.po +9 -11
  205. package/lang/translations/eo.po +228 -0
  206. package/lang/translations/es-co.po +8 -10
  207. package/lang/translations/es.po +8 -10
  208. package/lang/translations/et.po +7 -9
  209. package/lang/translations/eu.po +228 -0
  210. package/lang/translations/fa.po +8 -10
  211. package/lang/translations/fi.po +7 -9
  212. package/lang/translations/fr.po +8 -10
  213. package/lang/translations/gl.po +7 -9
  214. package/lang/translations/gu.po +228 -0
  215. package/lang/translations/he.po +8 -10
  216. package/lang/translations/hi.po +7 -9
  217. package/lang/translations/hr.po +8 -10
  218. package/lang/translations/hu.po +7 -9
  219. package/lang/translations/hy.po +228 -0
  220. package/lang/translations/id.po +7 -9
  221. package/lang/translations/it.po +8 -10
  222. package/lang/translations/ja.po +7 -9
  223. package/lang/translations/jv.po +8 -10
  224. package/lang/translations/kk.po +228 -0
  225. package/lang/translations/km.po +228 -0
  226. package/lang/translations/kn.po +228 -0
  227. package/lang/translations/ko.po +7 -9
  228. package/lang/translations/ku.po +228 -0
  229. package/lang/translations/lt.po +8 -10
  230. package/lang/translations/lv.po +8 -10
  231. package/lang/translations/ms.po +7 -9
  232. package/lang/translations/nb.po +228 -0
  233. package/lang/translations/ne.po +228 -0
  234. package/lang/translations/nl.po +7 -9
  235. package/lang/translations/no.po +7 -9
  236. package/lang/translations/oc.po +228 -0
  237. package/lang/translations/pl.po +8 -10
  238. package/lang/translations/pt-br.po +8 -10
  239. package/lang/translations/pt.po +8 -10
  240. package/lang/translations/ro.po +8 -10
  241. package/lang/translations/ru.po +8 -10
  242. package/lang/translations/si.po +228 -0
  243. package/lang/translations/sk.po +8 -10
  244. package/lang/translations/sl.po +228 -0
  245. package/lang/translations/sq.po +228 -0
  246. package/lang/translations/sr-latn.po +8 -10
  247. package/lang/translations/sr.po +8 -10
  248. package/lang/translations/sv.po +7 -9
  249. package/lang/translations/th.po +7 -9
  250. package/lang/translations/ti.po +7 -9
  251. package/lang/translations/tk.po +7 -9
  252. package/lang/translations/tr.po +7 -9
  253. package/lang/translations/tt.po +7 -9
  254. package/lang/translations/ug.po +8 -10
  255. package/lang/translations/uk.po +8 -10
  256. package/lang/translations/ur.po +7 -9
  257. package/lang/translations/uz.po +8 -10
  258. package/lang/translations/vi.po +7 -9
  259. package/lang/translations/zh-cn.po +7 -9
  260. package/lang/translations/zh.po +7 -9
  261. package/package.json +8 -8
  262. package/src/adapters/aiadapter.d.ts +8 -0
  263. package/src/adapters/aiadapter.js +1 -1
  264. package/src/adapters/aitextadapter.js +1 -1
  265. package/src/adapters/awstextadapter.js +1 -1
  266. package/src/adapters/openaitextadapter.js +1 -1
  267. package/src/aiassistant.d.ts +12 -1
  268. package/src/aiassistant.js +1 -1
  269. package/src/aiassistantediting.d.ts +8 -0
  270. package/src/aiassistantediting.js +1 -1
  271. package/src/aiassistantui.d.ts +8 -0
  272. package/src/aiassistantui.js +1 -1
  273. package/src/index.js +1 -1
  274. package/src/ui/aiassistantcontroller.js +2 -2
  275. package/src/ui/form/aiformcontentarea.js +1 -1
  276. package/src/ui/form/aiformerrorview.js +1 -1
  277. package/src/ui/form/aiformpromptview.js +1 -1
  278. package/src/ui/form/aiformtoolbarview.js +1 -1
  279. package/src/ui/form/aiformview.js +1 -1
  280. package/src/ui/form/aihistorylistitemview.js +1 -1
  281. package/src/ui/form/aihistorylistview.js +1 -1
  282. package/src/ui/form/prompthistory.js +1 -1
  283. package/src/ui/showaiassistantcommand.js +1 -1
  284. package/src/utils/common-translations.js +1 -1
  285. package/src/utils/normalizecommandsconfig.d.ts +14 -0
  286. package/src/utils/normalizecommandsconfig.js +23 -0
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ast=e.ast||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.az=e.az||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e["en-gb"]=e["en-gb"]||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.eo=e.eo||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.eu=e.eu||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.gu=e.gu||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.hy=e.hy||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.kk=e.kk||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.km=e.km||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.kn=e.kn||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ku=e.ku||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.nb=e.nb||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.ne=e.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.oc=e.oc||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.si=e.si||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.sl=e.sl||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1 @@
1
+ !function(e){const i=e.sq=e.sq||{};i.dictionary=Object.assign(i.dictionary||{},{"AI Assistant":"","AI Commands":"","AI is writing":"","AI is writing...":"",AI_ERROR_CONTEXT_LENGTH:"",AI_ERROR_FAILED:"",AI_ERROR_GET_HEADERS:"",AI_ERROR_GET_PARAMETERS:"",AI_ERROR_MODERATION:"",AI_ERROR_UNSUPPORTED_MODEL:"",AI_INSERT_CONTENT:"",AI_REPLACE_CONTENT:"",Arabic:"","Ask AI and your prompts will be listed here for you to use later.":"","Ask AI to edit or generate":"","Ask AI to improve generated text":"",Business:"",Casual:"","Change style":"","Change tone":"",Confident:"",Continue:"",Copy:"",Direct:"","Edit or review":"","Empty history":"",English:"","Error during AI content generation: %0":"",French:"",Friendly:"","Generate from selection":"","Generated content: %0":"",German:"",Hindi:"",History:"","Improve writing":"","Insert below":"",Journalism:"",Legal:"","Make longer":"","Make shorter":"",Poetic:"",Portuguese:"",Professional:"","Prompt history":"","Simplified Chinese":"","Simplify language":"",Spanish:"",Stop:"",Submit:"",Summarize:"",Translate:"","Try again":""})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -37,6 +37,14 @@ export default class AIAdapter extends Plugin {
37
37
  * @inheritDoc
38
38
  */
39
39
  static get pluginName(): "AIAdapter";
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ static get isOfficialPlugin(): true;
44
+ /**
45
+ * @inheritDoc
46
+ */
47
+ static get isPremiumPlugin(): true;
40
48
  /**
41
49
  * @inheritDoc
42
50
  */
@@ -31,6 +31,14 @@ export default class AIAssistant extends Plugin {
31
31
  * @inheritDoc
32
32
  */
33
33
  static get pluginName(): "AIAssistant";
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ static get isOfficialPlugin(): true;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ static get isPremiumPlugin(): true;
34
42
  /**
35
43
  * @inheritDoc
36
44
  */
@@ -76,6 +84,9 @@ export interface AIAssistantConfig {
76
84
  *
77
85
  * Setting this property will overwrite the default list of predefined commands.
78
86
  *
87
+ * You can avoid creating any groups by providing a list of command definitions directly. In this case,
88
+ * commands will render as a flat list in the user interface.
89
+ *
79
90
  * The default configuration is as follows. It can be obtained through {@link ~getDefaultCommands}:
80
91
  *
81
92
  * ```json
@@ -229,7 +240,7 @@ export interface AIAssistantConfig {
229
240
  * } ]
230
241
  * ```
231
242
  */
232
- commands?: Array<GroupDefinition>;
243
+ commands?: Array<GroupDefinition> | Array<CommandDefinition>;
233
244
  /**
234
245
  * A list of additional AI commands groups definitions that will extend
235
246
  * {@link module:ai/aiassistant~AIAssistantConfig#commands default commands}.
@@ -19,6 +19,14 @@ export default class AIAssistantEditing extends Plugin {
19
19
  * @inheritDoc
20
20
  */
21
21
  static get pluginName(): "AIAssistantEditing";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get isOfficialPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isPremiumPlugin(): true;
22
30
  /**
23
31
  * @inheritDoc
24
32
  */
@@ -26,6 +26,14 @@ export default class AIAssistantUI extends Plugin {
26
26
  * @inheritDoc
27
27
  */
28
28
  static get pluginName(): "AIAssistantUI";
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get isOfficialPlugin(): true;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ static get isPremiumPlugin(): true;
29
37
  /**
30
38
  * @inheritDoc
31
39
  */
@@ -154,22 +154,20 @@
154
154
  }
155
155
  [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{
156
156
  padding-right:0;
157
- }
157
+ }
158
158
  [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{
159
159
  padding-left:0;
160
- }
160
+ }
161
161
  .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field > *{
162
162
  white-space:normal;
163
163
  color:inherit;
164
164
  }
165
165
  [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{
166
166
  margin-right:var(--ck-spacing-medium);
167
-
168
- }
167
+ }
169
168
  [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{
170
169
  margin-left:var(--ck-spacing-medium);
171
-
172
- }
170
+ }
173
171
  .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper{
174
172
  display:flex;
175
173
  flex-direction:column-reverse;
@@ -209,31 +207,23 @@
209
207
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view{
210
208
  flex-grow:1;
211
209
  }
212
- [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit{
213
- margin-left:var(--ck-spacing-medium);
214
- }
215
- [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit{
216
- margin-right:var(--ck-spacing-medium);
217
- }
218
210
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit{
219
211
 
220
212
  border-color:var(--ck-ai-form-submit-button-border-color);
221
213
  color:var(--ck-ai-form-submit-button-text-color);
222
214
  }
215
+ [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit{
216
+ margin-left:var(--ck-spacing-medium);
217
+ }
218
+ [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit{
219
+ margin-right:var(--ck-spacing-medium);
220
+ }
223
221
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit.ck-disabled{
224
222
  border-color:var(--ck-ai-form-submit-button-disabled-border-color);
225
223
  }
226
224
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history{
227
225
  position:absolute;
228
226
  font-size:var(--ck-font-size-tiny);
229
- }
230
- [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history{
231
- right:var(--ck-spacing-medium);
232
- }
233
- [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history{
234
- left:var(--ck-spacing-medium);
235
- }
236
- .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history{
237
227
 
238
228
  bottom:var(--ck-spacing-small);
239
229
  top:var(--ck-spacing-small);
@@ -241,12 +231,18 @@
241
231
  min-height:unset;
242
232
  min-width:unset;
243
233
  }
234
+ [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history{
235
+ right:var(--ck-spacing-medium);
236
+ }
237
+ [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history{
238
+ left:var(--ck-spacing-medium);
239
+ }
244
240
  [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{
245
241
  padding-right:30px;
246
- }
242
+ }
247
243
  [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{
248
244
  padding-left:30px;
249
- }
245
+ }
250
246
  @media screen and (max-width: 600px){
251
247
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{
252
248
  --ck-input-width:auto;
package/dist/index.css CHANGED
@@ -238,22 +238,20 @@
238
238
  }
239
239
  [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field {
240
240
  padding-right: 0;
241
- }
241
+ }
242
242
  [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field {
243
243
  padding-left: 0;
244
- }
244
+ }
245
245
  .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field > * {
246
246
  white-space: normal;
247
247
  color: inherit;
248
248
  }
249
249
  [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container {
250
250
  margin-right: var(--ck-spacing-medium);
251
-
252
- }
251
+ }
253
252
  [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container {
254
253
  margin-left: var(--ck-spacing-medium);
255
-
256
- }
254
+ }
257
255
  .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper {
258
256
  display: flex;
259
257
  flex-direction: column-reverse;
@@ -293,17 +291,17 @@
293
291
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view {
294
292
  flex-grow: 1;
295
293
  }
296
- [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit {
297
- margin-left: var(--ck-spacing-medium);
298
- }
299
- [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit {
300
- margin-right: var(--ck-spacing-medium);
301
- }
302
294
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit {
303
295
 
304
296
  border-color: var(--ck-ai-form-submit-button-border-color);
305
297
  color: var(--ck-ai-form-submit-button-text-color);
306
298
  }
299
+ [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit {
300
+ margin-left: var(--ck-spacing-medium);
301
+ }
302
+ [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit {
303
+ margin-right: var(--ck-spacing-medium);
304
+ }
307
305
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck.ck-ai-form__submit.ck-disabled {
308
306
  border-color: var(--ck-ai-form-submit-button-disabled-border-color);
309
307
  }
@@ -311,14 +309,6 @@
311
309
  .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history {
312
310
  position: absolute;
313
311
  font-size: var(--ck-font-size-tiny);
314
- }
315
- [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history {
316
- right: var(--ck-spacing-medium);
317
- }
318
- [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history {
319
- left: var(--ck-spacing-medium);
320
- }
321
- .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history {
322
312
 
323
313
  bottom: var(--ck-spacing-small);
324
314
  top: var(--ck-spacing-small);
@@ -326,13 +316,19 @@
326
316
  min-height: unset;
327
317
  min-width: unset;
328
318
  }
319
+ [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history {
320
+ right: var(--ck-spacing-medium);
321
+ }
322
+ [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete > .ck-labeled-field-view .ck-ai-form__toggle-history {
323
+ left: var(--ck-spacing-medium);
324
+ }
329
325
  /* Give the toggle history button some space */
330
326
  [dir="ltr"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea {
331
327
  padding-right: 30px;
332
- }
328
+ }
333
329
  [dir="rtl"] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea {
334
330
  padding-left: 30px;
335
- }
331
+ }
336
332
  /* Squash the textarea horizontally if necessary on narrow layouts
337
333
  * to avoid breaking the layout even at the cost of the placeholder
338
334
  * being cut off (https://github.com/cksource/ckeditor5-commercial/issues/5913). */