MDL-76919 editor_tiy: Bump to version 6.3.2

This commit is contained in:
Andrew Nicols
2023-03-03 09:32:31 +08:00
parent 9ee4f8db8b
commit 1f9cf76c53
105 changed files with 3774 additions and 1148 deletions
@@ -100,7 +100,7 @@ tinymce.IconManager.add('default', {
'new-document': '<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',
'new-tab': '<svg width="24" height="24"><path d="m15 13 2-2v8H5V7h8l-2 2H7v8h8v-4Zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19Z" fill-rule="evenodd"/></svg>',
'non-breaking': '<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3Zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1Z" fill-rule="evenodd"/></svg>',
'notice': '<svg width="24" height="24"><path d="M17.8 9.8 15.4 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7l2.3 5.8Zm0 0 2.2 5.7-2.3-5.8ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd"/></svg>',
'notice': '<svg width="24" height="24"><path d="M15.5 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd" clip-rule="evenodd"/></svg>',
'ordered-list-rtl': '<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2Zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19Zm-1 8.8.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3Zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',
'ordered-list': '<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2ZM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6Zm-1 8.8.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3ZM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',
'orientation': '<svg width="24" height="24"><path d="M7.3 6.4 1 13l6.4 6.5 6.5-6.5-6.5-6.5ZM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7ZM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1Z" fill-rule="nonzero"/></svg>',
@@ -166,6 +166,7 @@ tinymce.IconManager.add('default', {
'text-color': '<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"/></g></svg>',
'toc': '<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
'translate': '<svg width="24" height="24"><path d="m12.7 14.3-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8Zm4.3-3 2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 0 1 2 0Zm-2.2 4.4h2.4L16 12.5l-1.2 3.2Z" fill-rule="evenodd"/></svg>',
'typography': '<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H7a1 1 0 0 1 0-2h10Z"/><path d="m17.5 14 .8-1.7 1.7-.8-1.7-.8-.8-1.7-.8 1.7-1.7.8 1.7.8.8 1.7ZM7 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1 1-2Z"/></svg>',
'underline': '<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1ZM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',
'undo': '<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8Z" fill-rule="nonzero"/></svg>',
'unlink': '<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2ZM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1ZM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5Zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5Zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17Zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19Zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19Z" fill-rule="nonzero"/></svg>',
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,r)=>{const s="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(s,!1,!1===r?null:{"list-style-type":r})},r=t=>e=>e.options.get(t),s=r("advlist_number_styles"),n=r("advlist_bullet_styles"),l=t=>null==t,i=t=>!l(t);var o=tinymce.util.Tools.resolve("tinymce.util.Tools");class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(t??"Called getOrDie on None")}static from(t){return i(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=t=>i(t)&&/^(TH|TD)$/.test(t.nodeName),d=t=>l(t)||"default"===t?"":t,g=(t,e)=>r=>{const s=s=>{r.setActive(((t,e,r)=>{const s=((t,e)=>{for(let r=0;r<t.length;r++)if(e(t[r]))return r;return-1})(e.parents,u),n=-1!==s?e.parents.slice(0,s):e.parents,l=o.grep(n,(t=>e=>i(e)&&/^(OL|UL|DL)$/.test(e.nodeName)&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))(t));return l.length>0&&l[0].nodeName===r})(t,s,e)),r.setEnabled(!((t,e)=>{const r=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&"false"===t.dom.getContentEditableParent(e))(t,r)})(t,s.element))};return t.on("NodeChange",s),()=>t.off("NodeChange",s)},h=(t,r,s,n,l,i)=>{i.length>1?((t,r,s,n,l,i)=>{t.ui.registry.addSplitButton(r,{tooltip:s,icon:"OL"===l?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(o.map(i,(t=>{const e="OL"===l?"num":"bull",r="disc"===t||"decimal"===t?"default":t,s=d(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:s,icon:"list-"+e+"-"+r,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(r,s)=>{e(t,l,s)},select:e=>{const r=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),r=t.dom.getStyle(e,"listStyleType");return a.from(r)})(t);return r.map((t=>e===t)).getOr(!1)},onSetup:g(t,l)})})(t,r,s,n,l,i):((t,r,s,n,l,i)=>{t.ui.registry.addToggleButton(r,{active:!1,tooltip:s,icon:"OL"===l?"ordered-list":"unordered-list",onSetup:g(t,l),onAction:()=>t.queryCommandState(n)||""===i?t.execCommand(n):e(t,l,i)})})(t,r,s,n,l,d(i[0]))};t.add("advlist",(t=>{t.hasPlugin("lists")?((t=>{const e=t.options.register;e("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),e("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})})(t),(t=>{h(t,"numlist","Numbered list","InsertOrderedList","OL",s(t)),h(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((r,s)=>{e(t,"UL",s["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((r,s)=>{e(t,"OL",s["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the Advanced List plugin.")}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),o=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=("allow_html_in_named_anchor",e=>e.options.get("allow_html_in_named_anchor"));const a="a:not([href])",r=e=>!e,i=e=>e.getAttribute("id")||e.getAttribute("name")||"",l=e=>(e=>"a"===e.nodeName.toLowerCase())(e)&&!e.getAttribute("href")&&""!==i(e),s=e=>e.dom.getParent(e.selection.getStart(),a),d=(e,a)=>{const r=s(e);r?((e,t,o)=>{o.removeAttribute("name"),o.id=t,e.addVisual(),e.undoManager.add()})(e,a,r):((e,a)=>{e.undoManager.transact((()=>{n(e)||e.selection.collapse(!0),e.selection.isCollapsed()?e.insertContent(e.dom.createHTML("a",{id:a})):((e=>{const n=e.dom;t(n).walk(e.selection.getRng(),(e=>{o.each(e,(e=>{var t;l(t=e)&&!t.firstChild&&n.remove(e,!1)}))}))})(e),e.formatter.remove("namedAnchor",void 0,void 0,!0),e.formatter.apply("namedAnchor",{value:a}),e.addVisual())}))})(e,a),e.focus()},c=e=>(e=>r(e.attr("href"))&&!r(e.attr("id")||e.attr("name")))(e)&&!e.firstChild,m=e=>t=>{for(let o=0;o<t.length;o++){const n=t[o];c(n)&&n.attr("contenteditable",e)}};e.add("anchor",(e=>{(e=>{(0,e.options.register)("allow_html_in_named_anchor",{processor:"boolean",default:!1})})(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("a",m("false")),e.serializer.addNodeFilter("a",m(null))}))})(e),(e=>{e.addCommand("mceAnchor",(()=>{(e=>{const t=(e=>{const t=s(e);return t?i(t):""})(e);e.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:t},onSubmit:t=>{((e,t)=>/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)?(d(e,t),!0):(e.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!1))(e,t.getData().id)&&t.close()}})})(e)}))})(e),(e=>{const t=()=>e.execCommand("mceAnchor");e.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:t,onSetup:t=>e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:t})})(e),e.on("PreInit",(()=>{(e=>{e.formatter.register("namedAnchor",{inline:"a",selector:a,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:(e,t,o)=>l(e)})})(e)}))}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),o=t("link_default_target"),r=t("link_default_protocol"),a=t("allow_unsafe_link_target"),s=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||o.constructor?.name===r.name)?"string":t;var n,o,r})(e));const l=(void 0,e=>undefined===e);const c=e=>!(e=>null==e)(e),i=Object.hasOwnProperty,d=e=>"\ufeff"===e;var u=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const f=e=>/^[(\[{ \u00a0]$/.test(e),g=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!d(t)&&n(t))return o}return-1},m=(e,t)=>{const o=e.schema.getVoidElements(),a=n(e),{dom:s,selection:c}=e;if(null!==s.getParent(c.getNode(),"a[href]"))return null;const d=c.getRng(),m=u(s,(e=>{return s.isBlock(e)||(t=o,n=e.nodeName.toLowerCase(),i.call(t,n))||"false"===s.getContentEditable(e);var t,n})),{container:k,offset:p}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=3===n.nodeType?n.data.length:n.childNodes.length;return{container:n,offset:o}})(d.endContainer,d.endOffset),y=s.getParent(k,s.isBlock)??s.getRoot(),h=m.backwards(k,p+t,((e,t)=>{const n=e.data,o=g(n,t,(r=f,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),y);if(!h)return null;let w=h.container;const _=m.backwards(h.container,h.offset,((e,t)=>{w=e;const n=g(e.data,t,f);return-1===n?n:n+1}),y),v=s.createRng();_?v.setStart(_.container,_.offset):v.setStart(w,0),v.setEnd(h.container,h.offset);const A=v.toString().replace(/\uFEFF/g,"").match(a);if(A){let t=A[0];return b="www.",(C=t).length>=b.length&&C.substr(0,0+b.length)===b?t=r(e)+"://"+t:((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!l(o)||r+t.length<=o)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t),{rng:v,url:t}}var C,b;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:c}=t,i=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:c};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,c),e.dispatch("ExecCommand",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,"target",t),"_blank"!==t||a(e)||n.setAttrib(o,"rel","noopener")}}r.moveToBookmark(i),e.nodeChanged()},p=e=>{const t=m(e,-1);c(t)&&k(e,t)},y=p;e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),(e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=m(e,0);c(t)&&k(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?p(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&y(e)}))})(e)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env");const o=e=>t=>t.options.get(e),s=o("min_height"),n=o("max_height"),i=o("autoresize_overflow_padding"),r=o("autoresize_bottom_margin"),a=(e,t)=>{const o=e.getBody();o&&(o.style.overflowY=t?"":"hidden",t||(o.scrollTop=0))},l=(e,t,o,s)=>{const n=parseInt(e.getStyle(t,o,s)??"",10);return isNaN(n)?0:n},g=(e,o,i)=>{const c=e.dom,u=e.getDoc();if(!u)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void a(e,!0);const f=u.documentElement,d=r(e),m=s(e)??e.getElement().offsetHeight;let p=m;const h=l(c,f,"margin-top",!0),y=l(c,f,"margin-bottom",!0);let C=f.offsetHeight+h+y+d;C<0&&(C=0);const S=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;C+S>m&&(p=C+S);const z=n(e);if(z&&p>z?(p=z,a(e,!0)):a(e,!1),p!==o.get()){const s=p-o.get();if(c.setStyle(e.getContainer(),"height",p+"px"),o.set(p),(e=>{e.dispatch("ResizeEditor")})(e),t.browser.isSafari()&&(t.os.isMacOS()||t.os.isiOS())){const t=e.getWin();t.scrollTo(t.pageXOffset,t.pageYOffset)}e.hasFocus()&&(e=>{if("setcontent"===e?.type.toLowerCase()){const t=e;return!0===t.selection||!0===t.paste}return!1})(i)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&s<0&&g(e,o,i)}};e.add("autoresize",(e=>{if((e=>{const t=e.options.register;t("autoresize_overflow_padding",{processor:"number",default:1}),t("autoresize_bottom_margin",{processor:"number",default:50})})(e),e.options.isSet("resize")||e.options.set("resize",!1),!e.inline){const t=(e=>{let t=0;return{get:()=>t,set:e=>{t=e}}})();((e,t)=>{e.addCommand("mceAutoResize",(()=>{g(e,t)}))})(e,t),((e,t)=>{e.on("init",(()=>{const t=i(e),o=e.dom;o.setStyles(e.getDoc().documentElement,{height:"auto"}),o.setStyles(e.getBody(),{paddingLeft:t,paddingRight:t,"min-height":0})})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(o=>{g(e,t,o)}))})(e,t)}}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=("string",t=>"string"===(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(r=o=t,(a=String).prototype.isPrototypeOf(r)||o.constructor?.name===a.name)?"string":e;var r,o,a})(t));const r=(void 0,t=>undefined===t);var o=tinymce.util.Tools.resolve("tinymce.util.Delay"),a=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),s=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=t=>{const e=/^(\d+)([ms]?)$/.exec(t);return(e&&e[2]?{s:1e3,m:6e4}[e[2]]:1)*parseInt(t,10)},i=t=>e=>e.options.get(t),u=i("autosave_ask_before_unload"),c=i("autosave_restore_when_empty"),l=i("autosave_interval"),m=i("autosave_retention"),d=t=>{const e=document.location;return t.options.get("autosave_prefix").replace(/{path}/g,e.pathname).replace(/{query}/g,e.search).replace(/{hash}/g,e.hash).replace(/{id}/g,t.id)},f=(t,e)=>{if(r(e))return t.dom.isEmpty(t.getBody());{const r=s.trim(e);if(""===r)return!0;{const e=(new DOMParser).parseFromString(r,"text/html");return t.dom.isEmpty(e)}}},v=t=>{const e=parseInt(a.getItem(d(t)+"time")??"0",10)||0;return!((new Date).getTime()-e>m(t)&&(p(t,!1),1))},p=(t,e)=>{const r=d(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},g=t=>{const e=d(t);!f(t)&&t.isDirty()&&(a.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),a.setItem(e+"time",(new Date).getTime().toString()),(t=>{t.dispatch("StoreDraft")})(t))},y=t=>{const e=d(t);v(t)&&(t.setContent(a.getItem(e+"draft")??"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var D=tinymce.util.Tools.resolve("tinymce.EditorManager");const h=t=>e=>{e.setEnabled(v(t));const r=()=>e.setEnabled(v(t));return t.on("StoreDraft RestoreDraft RemoveDraft",r),()=>t.off("StoreDraft RestoreDraft RemoveDraft",r)};t.add("autosave",(t=>((t=>{const r=t.options.register,o=t=>{const r=e(t);return r?{value:n(t),valid:r}:{valid:!1,message:"Must be a string."}};r("autosave_ask_before_unload",{processor:"boolean",default:!0}),r("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),r("autosave_restore_when_empty",{processor:"boolean",default:!1}),r("autosave_interval",{processor:o,default:"30s"}),r("autosave_retention",{processor:o,default:"20m"})})(t),(t=>{t.editorManager.on("BeforeUnload",(t=>{let e;s.each(D.get(),(t=>{t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&u(t)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))})),e&&(t.preventDefault(),t.returnValue=e)}))})(t),(t=>{(t=>{const e=l(t);o.setEditorInterval(t,(()=>{g(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{y(t),p(t)})),t.focus()})(t)};t.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:h(t)}),t.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:e,onSetup:h(t)})})(t),t.on("init",(()=>{c(t)&&t.dom.isEmpty(t.getBody())&&y(t)})),(t=>({hasDraft:()=>v(t),storeDraft:()=>g(t),restoreDraft:()=>y(t),removeDraft:e=>p(t,e),isEmpty:e=>f(t,e)}))(t))))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("code",(e=>((e=>{e.addCommand("mceCodeEditor",(()=>{(e=>{const o=(e=>e.getContent({source_view:!0}))(e);e.windowManager.open({title:"Source Code",size:"large",body:{type:"panel",items:[{type:"textarea",name:"code"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{code:o},onSubmit:o=>{((e,o)=>{e.focus(),e.undoManager.transact((()=>{e.setContent(o)})),e.selection.setCursorLocation(),e.nodeChanged()})(e,o.getData().code),o.close()}})})(e)}))})(e),(e=>{const o=()=>e.execCommand("mceCodeEditor");e.ui.registry.addButton("code",{icon:"sourcecode",tooltip:"Source code",onAction:o}),e.ui.registry.addMenuItem("code",{icon:"sourcecode",text:"Source code",onAction:o})})(e),{})))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>typeof e===t,o=t=>"string"===(t=>{const e=typeof t;return null===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(o=r=t,(n=String).prototype.isPrototypeOf(o)||r.constructor?.name===n.name)?"string":e;var o,r,n})(t),r=e("boolean"),n=t=>!(t=>null==t)(t),i=e("function"),s=e("number"),l=(!1,()=>false);class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(t??"Called getOrDie on None")}static from(t){return n(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=(t,e)=>{for(let o=0,r=t.length;o<r;o++)e(t[o],o)},c=t=>{if(null==t)throw new Error("Node cannot be null or undefined");return{dom:t}},d=c,h=(t,e)=>{const o=t.dom;if(1!==o.nodeType)return!1;{const t=o;if(void 0!==t.matches)return t.matches(e);if(void 0!==t.msMatchesSelector)return t.msMatchesSelector(e);if(void 0!==t.webkitMatchesSelector)return t.webkitMatchesSelector(e);if(void 0!==t.mozMatchesSelector)return t.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")}};"undefined"!=typeof window?window:Function("return this;")();const m=t=>e=>(t=>t.dom.nodeType)(e)===t,g=m(1),f=m(3),v=m(9),p=m(11),y=(t,e)=>{t.dom.removeAttribute(e)},w=i(Element.prototype.attachShadow)&&i(Node.prototype.getRootNode)?t=>d(t.dom.getRootNode()):t=>v(t)?t:d(t.dom.ownerDocument),N=t=>d(t.dom.host),b=t=>{const e=f(t)?t.dom.parentNode:t.dom;if(null==e||null===e.ownerDocument)return!1;const o=e.ownerDocument;return(t=>{const e=w(t);return p(o=e)&&n(o.dom.host)?a.some(e):a.none();var o})(d(e)).fold((()=>o.body.contains(e)),(r=b,i=N,t=>r(i(t))));var r,i},S=t=>"rtl"===((t,e)=>{const o=t.dom,r=window.getComputedStyle(o).getPropertyValue(e);return""!==r||b(t)?r:((t,e)=>(t=>void 0!==t.style&&i(t.style.getPropertyValue))(t)?t.style.getPropertyValue(e):"")(o,e)})(t,"direction")?"rtl":"ltr",A=(t,e)=>((t,o)=>((t,e)=>{const o=[];for(let r=0,n=t.length;r<n;r++){const n=t[r];e(n,r)&&o.push(n)}return o})(((t,e)=>{const o=t.length,r=new Array(o);for(let n=0;n<o;n++){const o=t[n];r[n]=e(o,n)}return r})(t.dom.childNodes,d),(t=>h(t,e))))(t),T=("li",t=>g(t)&&"li"===t.dom.nodeName.toLowerCase());const C=(t,e)=>{const n=t.selection.getSelectedBlocks();n.length>0&&(u(n,(t=>{const n=d(t),c=T(n),m=((t,e)=>{return(e?(o=t,r="ol,ul",((t,e,o)=>{let n=t.dom;const s=i(o)?o:l;for(;n.parentNode;){n=n.parentNode;const t=d(n);if(h(t,r))return a.some(t);if(s(t))break}return a.none()})(o,0,n)):a.some(t)).getOr(t);var o,r,n})(n,c);var f;(f=m,(t=>a.from(t.dom.parentNode).map(d))(f).filter(g)).each((t=>{if(S(t)!==e?((t,e,n)=>{((t,e,n)=>{if(!(o(n)||r(n)||s(n)))throw console.error("Invalid call to Attribute.set. Key ",e,":: Value ",n,":: Element ",t),new Error("Attribute value was not simple");t.setAttribute(e,n+"")})(t.dom,e,n)})(m,"dir",e):S(m)!==e&&y(m,"dir"),c){const t=A(m,"li[dir]");u(t,(t=>y(t,"dir")))}}))})),t.nodeChanged())},D=(t,e)=>o=>{const r=t=>{const r=d(t.element);o.setActive(S(r)===e)};return t.on("NodeChange",r),()=>t.off("NodeChange",r)};t.add("directionality",(t=>{(t=>{t.addCommand("mceDirectionLTR",(()=>{C(t,"ltr")})),t.addCommand("mceDirectionRTL",(()=>{C(t,"rtl")}))})(t),(t=>{t.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>t.execCommand("mceDirectionLTR"),onSetup:D(t,"ltr")}),t.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>t.execCommand("mceDirectionRTL"),onSetup:D(t,"rtl")})})(t)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -645,6 +645,11 @@
name: 'Footnotes',
type: 'premium'
},
{
key: 'typography',
name: 'Advanced Typography',
type: 'premium'
},
{
key: 'mediaembed',
name: 'Enhanced Media Embed',
@@ -661,6 +666,11 @@
name: 'Format Painter',
type: 'premium'
},
{
key: 'inlinecss',
name: 'Inline CSS',
type: 'premium'
},
{
key: 'linkchecker',
name: 'Link Checker',
@@ -709,6 +719,11 @@
name: 'Spelling Autocorrect',
type: 'premium'
},
{
key: 'tableofcontents',
name: 'Table of Contents',
type: 'premium'
},
{
key: 'tinycomments',
name: 'Tiny Comments',
@@ -720,11 +735,6 @@
name: 'Tiny Drive',
type: 'premium',
slug: 'tinydrive-introduction'
},
{
key: 'tableofcontents',
name: 'Table of Contents',
type: 'premium'
}
], item => ({
...item,
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(s=r=e,(o=String).prototype.isPrototypeOf(s)||r.constructor?.name===o.name)?"string":t;var s,r,o})(t)===e,s=t("string"),r=t("object"),o=t("array"),n=("function",e=>"function"==typeof e);var c=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),i=tinymce.util.Tools.resolve("tinymce.EditorManager"),l=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Tools");const p=e=>t=>t.options.get(e),u=p("importcss_merge_classes"),m=p("importcss_exclusive"),f=p("importcss_selector_converter"),y=p("importcss_selector_filter"),h=p("importcss_groups"),d=p("importcss_append"),_=p("importcss_file_filter"),g=p("skin"),v=p("skin_url"),b=Array.prototype.push,x=/^\.(?:ephox|tiny-pageembed|mce)(?:[.-]+\w+)+$/,T=e=>s(e)?t=>-1!==t.indexOf(e):e instanceof RegExp?t=>e.test(t):e,S=(e,t)=>{let s={};const r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(!r)return;const o=r[1],n=r[2].substr(1).split(".").join(" "),c=a.makeMap("a,img");return r[1]?(s={title:t},e.schema.getTextBlockElements()[o]?s.block=o:e.schema.getBlockElements()[o]||c[o.toLowerCase()]?s.selector=o:s.inline=o):r[2]&&(s={inline:"span",title:t.substr(1),classes:n}),u(e)?s.classes=n:s.attributes={class:n},s},k=(e,t)=>null===t||m(e),w=e=>{e.on("init",(()=>{const t=(()=>{const e=[],t=[],s={};return{addItemToGroup:(e,r)=>{s[e]?s[e].push(r):(t.push(e),s[e]=[r])},addItem:t=>{e.push(t)},toFormats:()=>{return(r=t,n=e=>{const t=s[e];return 0===t.length?[]:[{title:e,items:t}]},(e=>{const t=[];for(let s=0,r=e.length;s<r;++s){if(!o(e[s]))throw new Error("Arr.flatten item "+s+" was not an array, input: "+e);b.apply(t,e[s])}return t})(((e,t)=>{const s=e.length,r=new Array(s);for(let o=0;o<s;o++){const s=e[o];r[o]=t(s,o)}return r})(r,n))).concat(e);var r,n}}})(),r={},n=T(y(e)),p=(e=>a.map(e,(e=>a.extend({},e,{original:e,selectors:{},filter:T(e.filter)}))))(h(e)),u=(t,s)=>{if(((e,t,s,r)=>!(k(e,s)?t in r:t in s.selectors))(e,t,s,r)){((e,t,s,r)=>{k(e,s)?r[t]=!0:s.selectors[t]=!0})(e,t,s,r);const o=((e,t,s,r)=>{let o;const n=f(e);return o=r&&r.selector_converter?r.selector_converter:n||(()=>S(e,s)),o.call(t,s,r)})(e,e.plugins.importcss,t,s);if(o){const t=o.name||c.DOM.uniqueId();return e.formatter.register(t,o),{title:o.title,format:t}}}return null};a.each(((e,t,r)=>{const o=[],n={},c=(t,n)=>{let p,u=t.href;if(u=(e=>{const t=l.cacheSuffix;return s(e)&&(e=e.replace("?"+t,"").replace("&"+t,"")),e})(u),u&&(!r||r(u,n))&&!((e,t)=>{const s=g(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+s,n=i.baseURL+"/skins/content/";return t===o+"/content"+(e.inline?".inline":"")+".min.css"||-1!==t.indexOf(n)}return!1})(e,u)){a.each(t.imports,(e=>{c(e,!0)}));try{p=t.cssRules||t.rules}catch(e){}a.each(p,(e=>{e.styleSheet?c(e.styleSheet,!0):e.selectorText&&a.each(e.selectorText.split(","),(e=>{o.push(a.trim(e))}))}))}};a.each(e.contentCSS,(e=>{n[e]=!0})),r||(r=(e,t)=>t||n[e]);try{a.each(t.styleSheets,(e=>{c(e)}))}catch(e){}return o})(e,e.getDoc(),T(_(e))),(e=>{if(!x.test(e)&&(!n||n(e))){const s=((e,t)=>a.grep(e,(e=>!e.filter||e.filter(t))))(p,e);if(s.length>0)a.each(s,(s=>{const r=u(e,s);r&&t.addItemToGroup(s.title,r)}));else{const s=u(e,null);s&&t.addItem(s)}}}));const m=t.toFormats();e.dispatch("addStyleModifications",{items:m,replace:!d(e)})}))};e.add("importcss",(e=>((e=>{const t=e.options.register,o=e=>s(e)||n(e)||r(e);t("importcss_merge_classes",{processor:"boolean",default:!0}),t("importcss_exclusive",{processor:"boolean",default:!0}),t("importcss_selector_converter",{processor:"function"}),t("importcss_selector_filter",{processor:o}),t("importcss_file_filter",{processor:o}),t("importcss_groups",{processor:"object[]"}),t("importcss_append",{processor:"boolean",default:!1})})(e),w(e),(e=>({convertSelectorToFormat:t=>S(e,t)}))(e))))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),a=t("insertdatetime_dateformat"),r=t("insertdatetime_timeformat"),n=t("insertdatetime_formats"),s=t("insertdatetime_element"),i="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),m="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),l="January February March April May June July August September October November December".split(" "),c=(e,t)=>{if((e=""+e).length<t)for(let a=0;a<t-e.length;a++)e="0"+e;return e},d=(e,t,a=new Date)=>(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+a.getFullYear())).replace("%y",""+a.getYear())).replace("%m",c(a.getMonth()+1,2))).replace("%d",c(a.getDate(),2))).replace("%H",""+c(a.getHours(),2))).replace("%M",""+c(a.getMinutes(),2))).replace("%S",""+c(a.getSeconds(),2))).replace("%I",""+((a.getHours()+11)%12+1))).replace("%p",a.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(l[a.getMonth()]))).replace("%b",""+e.translate(m[a.getMonth()]))).replace("%A",""+e.translate(o[a.getDay()]))).replace("%a",""+e.translate(i[a.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)){const a=d(e,t);let r;r=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const n=e.dom.getParent(e.selection.getStart(),"time");n?((e,t,a,r)=>{const n=e.dom.create("time",{datetime:a},r);e.dom.replace(n,t),e.selection.select(n,!0),e.selection.collapse(!1)})(e,n,r,a):e.insertContent('<time datetime="'+r+'">'+a+"</time>")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,r)=>{u(e,r??a(e))})),e.addCommand("mceInsertTime",((t,a)=>{u(e,a??r(e))}))})(e),(e=>{const t=n(e),a=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=n(e);return t.length>0?t[0]:r(e)})(e)),s=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===a.get(),fetch:a=>{a(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{s(a.get())},onItemAction:(e,t)=>{a.set(t),s(t)}});const i=e=>()=>{a.set(e),s(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:i(t)})))})})(e)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -422,8 +422,17 @@
const isOnlyTextSelected = editor => {
const inlineTextElements = editor.schema.getTextInlineElements();
const isElement = elm => elm.nodeType === 1 && !isAnchor(elm) && !has(inlineTextElements, elm.nodeName.toLowerCase());
const elements = collectNodesInRange(editor.selection.getRng(), isElement);
return elements.length === 0;
const isInBlockAnchor = getAnchorElement(editor).exists(anchor => anchor.hasAttribute('data-mce-block'));
if (isInBlockAnchor) {
return false;
}
const rng = editor.selection.getRng();
if (!rng.collapsed) {
const elements = collectNodesInRange(rng, isElement);
return elements.length === 0;
} else {
return true;
}
};
const isImageFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE' && /\bimage\b/i.test(elm.className);
const getLinkAttrs = data => {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=n=>e=>typeof e===n,a=e("boolean"),o=e("number"),t=n=>e=>e.options.get(n),i=t("nonbreaking_force_tab"),r=t("nonbreaking_wrap"),s=(n,e)=>{let a="";for(let o=0;o<e;o++)a+=n;return a},c=(n,e)=>{const a=r(n)||n.plugins.visualchars?`<span class="${(n=>!!n.plugins.visualchars&&n.plugins.visualchars.isEnabled())(n)?"mce-nbsp-wrap mce-nbsp":"mce-nbsp-wrap"}" contenteditable="false">${s("&nbsp;",e)}</span>`:s("&nbsp;",e);n.undoManager.transact((()=>n.insertContent(a)))};var l=tinymce.util.Tools.resolve("tinymce.util.VK");n.add("nonbreaking",(n=>{(n=>{const e=n.options.register;e("nonbreaking_force_tab",{processor:n=>a(n)?{value:n?3:0,valid:!0}:o(n)?{value:n,valid:!0}:{valid:!1,message:"Must be a boolean or number."},default:!1}),e("nonbreaking_wrap",{processor:"boolean",default:!0})})(n),(n=>{n.addCommand("mceNonBreaking",(()=>{c(n,1)}))})(n),(n=>{const e=()=>n.execCommand("mceNonBreaking");n.ui.registry.addButton("nonbreaking",{icon:"non-breaking",tooltip:"Nonbreaking space",onAction:e}),n.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:e})})(n),(n=>{const e=i(n);e>0&&n.on("keydown",(a=>{if(a.keyCode===l.TAB&&!a.isDefaultPrevented()){if(a.shiftKey)return;a.preventDefault(),a.stopImmediatePropagation(),c(n,e)}}))})(n)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env");const t=e=>a=>a.options.get(e),r=t("pagebreak_separator"),n=t("pagebreak_split_block"),o="mce-pagebreak",s=e=>{const t=`<img src="${a.transparentSrc}" class="mce-pagebreak" data-mce-resize="false" data-mce-placeholder />`;return e?`<p>${t}</p>`:t};e.add("pagebreak",(e=>{(e=>{const a=e.options.register;a("pagebreak_separator",{processor:"string",default:"\x3c!-- pagebreak --\x3e"}),a("pagebreak_split_block",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mcePageBreak",(()=>{e.insertContent(s(n(e)))}))})(e),(e=>{const a=()=>e.execCommand("mcePageBreak");e.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:a}),e.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:a})})(e),(e=>{const a=r(e),t=()=>n(e),c=new RegExp(a.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,(e=>"\\"+e)),"gi");e.on("BeforeSetContent",(e=>{e.content=e.content.replace(c,s(t()))})),e.on("PreInit",(()=>{e.serializer.addNodeFilter("img",(r=>{let n,s,c=r.length;for(;c--;)if(n=r[c],s=n.attr("class"),s&&-1!==s.indexOf(o)){const r=n.parent;if(r&&e.schema.getBlockElements()[r.name]&&t()){r.type=3,r.value=a,r.raw=!0,n.remove();continue}n.type=3,n.value=a,n.raw=!0}}))}))})(e),(e=>{e.on("ResolveName",(a=>{"IMG"===a.target.nodeName&&e.dom.hasClass(a.target,o)&&(a.name="pagebreak")}))})(e)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env"),o=tinymce.util.Tools.resolve("tinymce.util.Tools");const n=e=>t=>t.options.get(e),i=n("content_style"),s=n("content_css_cors"),c=n("body_class"),r=n("body_id");e.add("preview",(e=>{(e=>{e.addCommand("mcePreview",(()=>{(e=>{const n=(e=>{let n="";const a=e.dom.encode,l=i(e)??"";n+='<base href="'+a(e.documentBaseURI.getURI())+'">';const d=s(e)?' crossorigin="anonymous"':"";o.each(e.contentCSS,(t=>{n+='<link type="text/css" rel="stylesheet" href="'+a(e.documentBaseURI.toAbsolute(t))+'"'+d+">"})),l&&(n+='<style type="text/css">'+l+"</style>");const m=r(e),y=c(e),p='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(t.os.isMacOS()||t.os.isiOS()?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",u=e.getBody().dir,v=u?' dir="'+a(u)+'"':"";return"<!DOCTYPE html><html><head>"+n+'</head><body id="'+a(m)+'" class="mce-content-body '+a(y)+'"'+v+">"+e.getContent()+p+"</body></html>"})(e);e.windowManager.open({title:"Preview",size:"large",body:{type:"panel",items:[{name:"preview",type:"iframe",sandboxed:!0,transparent:!1}]},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{preview:n}}).focus("close")})(e)}))})(e),(e=>{const t=()=>e.execCommand("mcePreview");e.ui.registry.addButton("preview",{icon:"preview",tooltip:"Preview",onAction:t}),e.ui.registry.addMenuItem("preview",{icon:"preview",text:"Preview",onAction:t})})(e)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -267,6 +267,20 @@
}
Optional.singletonNone = new Optional(false);
typeof window !== 'undefined' ? window : Function('return this;')();
const ELEMENT = 1;
const name = element => {
const r = element.dom.nodeName;
return r.toLowerCase();
};
const has = (element, key) => {
const dom = element.dom;
return dom && dom.hasAttribute ? dom.hasAttribute(key) : false;
};
var ClosestOrAncestor = (is, ancestor, scope, a, isRoot) => {
if (is(scope, a)) {
return Optional.some(scope);
@@ -277,8 +291,6 @@
}
};
const ELEMENT = 1;
const fromHtml = (html, scope) => {
const doc = scope || document;
const div = doc.createElement('div');
@@ -335,13 +347,6 @@
}
};
typeof window !== 'undefined' ? window : Function('return this;')();
const name = element => {
const r = element.dom.nodeName;
return r.toLowerCase();
};
const ancestor$1 = (scope, predicate, isRoot) => {
let element = scope.dom;
const stop = isFunction(isRoot) ? isRoot : never;
@@ -356,11 +361,13 @@
}
return Optional.none();
};
const closest$1 = (scope, predicate, isRoot) => {
const closest$2 = (scope, predicate, isRoot) => {
const is = (s, test) => test(s);
return ClosestOrAncestor(is, ancestor$1, scope, predicate, isRoot);
};
const closest$1 = (scope, predicate, isRoot) => closest$2(scope, predicate, isRoot).isSome();
const ancestor = (scope, selector, isRoot) => ancestor$1(scope, e => is(e, selector), isRoot);
const closest = (scope, selector, isRoot) => {
const is$1 = (element, selector) => is(element, selector);
@@ -375,7 +382,7 @@
const sugarNode = SugarElement.fromDom(node);
const textBlockElementsMap = editor.schema.getTextBlockElements();
const isRoot = elem => elem.dom === editor.getBody();
return closest(sugarNode, 'table', isRoot).fold(() => closest$1(sugarNode, elem => name(elem) in textBlockElementsMap && editor.dom.isEmpty(elem.dom), isRoot).isSome(), never);
return !has(sugarNode, 'data-mce-bogus') && closest(sugarNode, 'table,[data-mce-bogus="all"]', isRoot).fold(() => closest$1(sugarNode, elem => name(elem) in textBlockElementsMap && editor.dom.isEmpty(elem.dom), isRoot), never);
},
items: insertToolbarItems,
position: 'line',
+2 -2
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>typeof t===e,o=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||n.constructor?.name===r.name)?"string":t;var o,n,r})(e));const n=t("boolean"),r=t("function"),i=e=>t=>t.options.get(e),s=i("quickbars_selection_toolbar"),a=i("quickbars_insert_toolbar"),l=i("quickbars_image_toolbar");let c=0;var u=tinymce.util.Tools.resolve("tinymce.Env"),d=tinymce.util.Tools.resolve("tinymce.util.Delay");const m=e=>{e.ui.registry.addButton("quickimage",{icon:"image",tooltip:"Insert image",onAction:()=>{(e=>new Promise((t=>{const o=document.createElement("input");o.type="file",o.accept="image/*",o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.opacity="0.001",document.body.appendChild(o),o.addEventListener("change",(e=>{t(Array.prototype.slice.call(e.target.files))}));const n=r=>{const i=()=>{t([]),o.parentNode?.removeChild(o)};u.os.isAndroid()&&"remove"!==r.type?d.setEditorTimeout(e,i,0):i(),e.off("focusin remove",n)};e.on("focusin remove",n),o.click()})))(e).then((t=>{if(t.length>0){const o=t[0];(e=>new Promise((t=>{const o=new FileReader;o.onloadend=()=>{t(o.result.split(",")[1])},o.readAsDataURL(e)})))(o).then((t=>{((e,t,o)=>{const n=e.editorUpload.blobCache,r=n.create((e=>{const t=(new Date).getTime(),o=Math.floor(1e9*Math.random());return c++,"mceu_"+o+c+String(t)})(),o,t);n.add(r),e.insertContent(e.dom.createHTML("img",{src:r.blobUri()}))})(e,t,o)}))}}))}}),e.ui.registry.addButton("quicktable",{icon:"table",tooltip:"Insert table",onAction:()=>{((e,t,o)=>{e.execCommand("mceInsertTable",!1,{rows:2,columns:2})})(e)}})},g=(!1,()=>false);class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return null==e?h.none():h.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);var b=(e,t,o,n,i)=>e(o,n)?h.some(o):r(i)&&i(o)?h.none():t(o,n,i);const p=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},f=p,v=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}};"undefined"!=typeof window?window:Function("return this;")();const y=(e,t,o)=>{let n=e.dom;const i=r(o)?o:g;for(;n.parentNode;){n=n.parentNode;const e=f(n);if(t(e))return h.some(e);if(i(e))break}return h.none()},k=(e,t,o)=>y(e,(e=>v(e,t)),o),w=e=>{const t=a(e);t.length>0&&e.ui.registry.addContextToolbar("quickblock",{predicate:t=>{const o=f(t),n=e.schema.getTextBlockElements(),r=t=>t.dom===e.getBody();return((e,t,o)=>b(((e,t)=>v(e,t)),k,e,"table",o))(o,0,r).fold((()=>((t,o,r)=>b(((e,t)=>t(e)),y,t,(t=>t.dom.nodeName.toLowerCase()in n&&e.dom.isEmpty(t.dom)),r))(o,0,r).isSome()),g)},items:t,position:"line",scope:"editor"})};e.add("quickbars",(e=>{(e=>{const t=e.options.register,r=e=>t=>{const r=n(t)||o(t);return r?n(t)?{value:t?e:"",valid:r}:{value:t.trim(),valid:r}:{valid:!1,message:"Must be a boolean or string."}},i="bold italic | quicklink h2 h3 blockquote";t("quickbars_selection_toolbar",{processor:r(i),default:i});const s="quickimage quicktable";t("quickbars_insert_toolbar",{processor:r(s),default:s});const a="alignleft aligncenter alignright";t("quickbars_image_toolbar",{processor:r(a),default:a})})(e),m(e),w(e),(e=>{const t=e=>"IMG"===e.nodeName||"FIGURE"===e.nodeName&&/image/i.test(e.className),o=l(e);o.length>0&&e.ui.registry.addContextToolbar("imageselection",{predicate:t,items:o,position:"node"});const n=s(e);n.length>0&&e.ui.registry.addContextToolbar("textselection",{predicate:o=>!t(o)&&!e.selection.isCollapsed()&&(t=>"false"!==e.dom.getContentEditableParent(t))(o),items:n,position:"selection",scope:"editor"})})(e)}))}();
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>typeof t===e,o=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(o=n=e,(r=String).prototype.isPrototypeOf(o)||n.constructor?.name===r.name)?"string":t;var o,n,r})(e));const n=t("boolean"),r=t("function"),i=e=>t=>t.options.get(e),s=i("quickbars_selection_toolbar"),a=i("quickbars_insert_toolbar"),l=i("quickbars_image_toolbar");let c=0;var u=tinymce.util.Tools.resolve("tinymce.Env"),d=tinymce.util.Tools.resolve("tinymce.util.Delay");const m=e=>{e.ui.registry.addButton("quickimage",{icon:"image",tooltip:"Insert image",onAction:()=>{(e=>new Promise((t=>{const o=document.createElement("input");o.type="file",o.accept="image/*",o.style.position="fixed",o.style.left="0",o.style.top="0",o.style.opacity="0.001",document.body.appendChild(o),o.addEventListener("change",(e=>{t(Array.prototype.slice.call(e.target.files))}));const n=r=>{const i=()=>{t([]),o.parentNode?.removeChild(o)};u.os.isAndroid()&&"remove"!==r.type?d.setEditorTimeout(e,i,0):i(),e.off("focusin remove",n)};e.on("focusin remove",n),o.click()})))(e).then((t=>{if(t.length>0){const o=t[0];(e=>new Promise((t=>{const o=new FileReader;o.onloadend=()=>{t(o.result.split(",")[1])},o.readAsDataURL(e)})))(o).then((t=>{((e,t,o)=>{const n=e.editorUpload.blobCache,r=n.create((e=>{const t=(new Date).getTime(),o=Math.floor(1e9*Math.random());return c++,"mceu_"+o+c+String(t)})(),o,t);n.add(r),e.insertContent(e.dom.createHTML("img",{src:r.blobUri()}))})(e,t,o)}))}}))}}),e.ui.registry.addButton("quicktable",{icon:"table",tooltip:"Insert table",onAction:()=>{((e,t,o)=>{e.execCommand("mceInsertTable",!1,{rows:2,columns:2})})(e)}})},g=(!1,()=>false);class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return null==e?h.none():h.some(e)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1),"undefined"!=typeof window?window:Function("return this;")();var b=(e,t,o,n,i)=>e(o,n)?h.some(o):r(i)&&i(o)?h.none():t(o,n,i);const p=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},f=p,v=(e,t)=>{const o=e.dom;if(1!==o.nodeType)return!1;{const e=o;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},y=(e,t,o)=>{let n=e.dom;const i=r(o)?o:g;for(;n.parentNode;){n=n.parentNode;const e=f(n);if(t(e))return h.some(e);if(i(e))break}return h.none()},k=(e,t,o)=>y(e,(e=>v(e,t)),o),w=e=>{const t=a(e);t.length>0&&e.ui.registry.addContextToolbar("quickblock",{predicate:t=>{const o=f(t),n=e.schema.getTextBlockElements(),r=t=>t.dom===e.getBody();return!((e,t)=>{const o=e.dom;return!(!o||!o.hasAttribute)&&o.hasAttribute("data-mce-bogus")})(o)&&((e,t,o)=>b(((e,t)=>v(e,t)),k,e,'table,[data-mce-bogus="all"]',o))(o,0,r).fold((()=>((e,t,o)=>((e,t,o)=>b(((e,t)=>t(e)),y,e,t,o))(e,t,o).isSome())(o,(t=>t.dom.nodeName.toLowerCase()in n&&e.dom.isEmpty(t.dom)),r)),g)},items:t,position:"line",scope:"editor"})};e.add("quickbars",(e=>{(e=>{const t=e.options.register,r=e=>t=>{const r=n(t)||o(t);return r?n(t)?{value:t?e:"",valid:r}:{value:t.trim(),valid:r}:{valid:!1,message:"Must be a boolean or string."}},i="bold italic | quicklink h2 h3 blockquote";t("quickbars_selection_toolbar",{processor:r(i),default:i});const s="quickimage quicktable";t("quickbars_insert_toolbar",{processor:r(s),default:s});const a="alignleft aligncenter alignright";t("quickbars_image_toolbar",{processor:r(a),default:a})})(e),m(e),w(e),(e=>{const t=e=>"IMG"===e.nodeName||"FIGURE"===e.nodeName&&/image/i.test(e.className),o=l(e);o.length>0&&e.ui.registry.addContextToolbar("imageselection",{predicate:t,items:o,position:"node"});const n=s(e);n.length>0&&e.ui.registry.addContextToolbar("textselection",{predicate:o=>!t(o)&&!e.selection.isCollapsed()&&(t=>"false"!==e.dom.getContentEditableParent(t))(o),items:n,position:"selection",scope:"editor"})})(e)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
+1 -1
View File
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const n=("function",e=>"function"==typeof e);var o=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),t=tinymce.util.Tools.resolve("tinymce.util.Tools");const a=e=>n=>n.options.get(e),c=a("save_enablewhendirty"),i=a("save_onsavecallback"),s=a("save_oncancelcallback"),r=(e,n)=>{e.notificationManager.open({text:n,type:"error"})},l=e=>n=>{const o=()=>{n.setEnabled(!c(e)||e.isDirty())};return o(),e.on("NodeChange dirty",o),()=>e.off("NodeChange dirty",o)};e.add("save",(e=>{(e=>{const n=e.options.register;n("save_enablewhendirty",{processor:"boolean",default:!0}),n("save_onsavecallback",{processor:"function"}),n("save_oncancelcallback",{processor:"function"})})(e),(e=>{e.ui.registry.addButton("save",{icon:"save",tooltip:"Save",enabled:!1,onAction:()=>e.execCommand("mceSave"),onSetup:l(e)}),e.ui.registry.addButton("cancel",{icon:"cancel",tooltip:"Cancel",enabled:!1,onAction:()=>e.execCommand("mceCancel"),onSetup:l(e)}),e.addShortcut("Meta+S","","mceSave")})(e),(e=>{e.addCommand("mceSave",(()=>{(e=>{const t=o.DOM.getParent(e.id,"form");if(c(e)&&!e.isDirty())return;e.save();const a=i(e);if(n(a))return a.call(e,e),void e.nodeChanged();t?(e.setDirty(!1),t.onsubmit&&!t.onsubmit()||("function"==typeof t.submit?t.submit():r(e,"Error: Form submit field collision.")),e.nodeChanged()):r(e,"Error: No form element found.")})(e)})),e.addCommand("mceCancel",(()=>{(e=>{const o=t.trim(e.startContent),a=s(e);n(a)?a.call(e,e):e.resetContent(o)})(e)}))})(e)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
@@ -1,4 +1,4 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const s=(t,s,o)=>{t.dom.toggleClass(t.getBody(),"mce-visualblocks"),o.set(!o.get()),((t,s)=>{t.dispatch("VisualBlocks",{state:s})})(t,o.get())},o=("visualblocks_default_state",t=>t.options.get("visualblocks_default_state"));const e=(t,s)=>o=>{o.setActive(s.get());const e=t=>o.setActive(t.state);return t.on("VisualBlocks",e),()=>t.off("VisualBlocks",e)};t.add("visualblocks",((t,l)=>{(t=>{(0,t.options.register)("visualblocks_default_state",{processor:"boolean",default:!1})})(t);const a=(t=>{let s=!1;return{get:()=>s,set:t=>{s=t}}})();((t,o,e)=>{t.addCommand("mceVisualBlocks",(()=>{s(t,0,e)}))})(t,0,a),((t,s)=>{const o=()=>t.execCommand("mceVisualBlocks");t.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:o,onSetup:e(t,s)}),t.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:o,onSetup:e(t,s)})})(t,a),((t,e,l)=>{t.on("PreviewFormats AfterPreviewFormats",(s=>{l.get()&&t.dom.toggleClass(t.getBody(),"mce-visualblocks","afterpreviewformats"===s.type)})),t.on("init",(()=>{o(t)&&s(t,0,l)}))})(t,0,a)}))}();
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
/**
* TinyMCE version 6.2.0 (2022-09-08)
* TinyMCE version 6.3.2 (2023-02-22)
*/
(function () {
File diff suppressed because one or more lines are too long
@@ -597,6 +597,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
@@ -616,6 +616,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -103,7 +103,6 @@ button::-moz-focus-inner {
}
.tox .accessibility-issue__description {
align-items: stretch;
border: 1px solid #161f29;
border-radius: 6px;
display: flex;
justify-content: space-between;
@@ -116,71 +115,91 @@ button::-moz-focus-inner {
display: flex;
margin-bottom: 4px;
}
.tox .accessibility-issue__description > *:last-child:not(:only-child) {
border-color: #161f29;
border-style: solid;
.tox .accessibility-issue__description > div > div .tox-icon svg {
display: block;
}
.tox .accessibility-issue__repair {
margin-top: 16px;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
background-color: rgba(0, 108, 231, 0.5);
border-color: rgba(0, 108, 231, 0.4);
background-color: rgba(0, 101, 216, 0.4);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child {
border-color: rgba(0, 108, 231, 0.4);
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon {
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
background-color: #006ce7;
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus {
background-color: #0060ce;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active {
background-color: #0054b4;
}
.tox .tox-dialog__body-content .accessibility-issue--warn {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description {
background-color: rgba(255, 165, 0, 0.5);
border-color: rgba(255, 165, 0, 0.8);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child {
border-color: rgba(255, 165, 0, 0.8);
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon {
color: #fff;
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
background-color: #FFE89D;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus {
background-color: #F2D574;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active {
background-color: #E8C657;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description {
background-color: rgba(204, 0, 0, 0.5);
border-color: rgba(204, 0, 0, 0.8);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child {
border-color: rgba(204, 0, 0, 0.8);
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon {
color: #fff;
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
background-color: #F2BFBF;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus {
background-color: #E9A4A4;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active {
background-color: #EE9494;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description {
background-color: rgba(120, 171, 70, 0.5);
border-color: rgba(120, 171, 70, 0.8);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child {
border-color: rgba(120, 171, 70, 0.8);
display: none;
}
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
color: #fff;
@@ -188,11 +207,9 @@ button::-moz-focus-inner {
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue__header h1,
.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,
.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 {
font-size: 14px;
margin-top: 0;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button {
@@ -204,10 +221,6 @@ button::-moz-focus-inner {
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 4px 4px 8px;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-left-width: 1px;
padding-left: 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
margin-right: 4px;
}
@@ -217,10 +230,6 @@ button::-moz-focus-inner {
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 8px 4px 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-right-width: 1px;
padding-right: 4px;
}
.tox .tox-anchorbar {
display: flex;
flex: 0 0 auto;
@@ -921,6 +930,22 @@ button::-moz-focus-inner {
.tox .tox-swatches__picker-btn:hover {
background: #3389ec;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg {
display: none;
fill: #fff;
height: 24px;
margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2);
width: 24px;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg path {
fill: #fff;
paint-order: stroke;
stroke: #222f3e;
stroke-width: 2px;
}
.tox div.tox-swatch:not(.tox-swatch--remove)[aria-checked="true"] svg {
display: block;
}
.tox:not([dir=rtl]) .tox-swatches__picker-btn {
margin-left: auto;
}
@@ -1554,6 +1579,12 @@ body.tox-dialog__disable-scroll {
.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header {
box-shadow: none;
}
.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty {
background: none;
border: none;
box-shadow: none;
padding: 0;
}
.tox-editor-dock-fadeout {
opacity: 0;
visibility: hidden;
@@ -2910,6 +2941,7 @@ body.tox-dialog__disable-scroll {
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
background-attachment: local;
background-color: #222F3E;
background-image: repeating-linear-gradient(rgba(255, 255, 255, 0.15) 0px 1px, transparent 1px 39px);
background-position: center top 40px;
@@ -2977,6 +3009,7 @@ body.tox-dialog__disable-scroll {
border: none;
border-radius: 6px;
box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15);
overscroll-behavior: none;
padding: 4px 0;
}
.tox-pop .tox-pop__dialog {
@@ -3062,6 +3095,47 @@ body.tox-dialog__disable-scroll {
top: 50%;
transform: translateY(-50%);
}
.tox .tox-view-wrap,
.tox .tox-view-wrap__slot-container {
background-color: #222F3E;
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view {
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view__header {
align-items: center;
display: flex;
font-size: 16px;
justify-content: space-between;
padding: 8px 8px 0 8px;
position: relative;
}
.tox .tox-view__header-start,
.tox .tox-view__header-end {
display: flex;
}
.tox .tox-view__pane {
height: 100%;
padding: 8px;
width: 100%;
}
.tox .tox-view__pane_panel {
border: 1px solid #161f29;
border-radius: 6px;
}
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *,
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * {
margin-left: 8px;
}
.tox[dir=rtl] .tox-view__header .tox-view__header-start > *,
.tox[dir=rtl] .tox-view__header .tox-view__header-end > * {
margin-right: 8px;
}
.tox .tox-well {
border: 1px solid #161f29;
border-radius: 6px;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -616,6 +616,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
@@ -616,6 +616,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -103,7 +103,6 @@ button::-moz-focus-inner {
}
.tox .accessibility-issue__description {
align-items: stretch;
border: 1px solid #eeeeee;
border-radius: 6px;
display: flex;
justify-content: space-between;
@@ -116,83 +115,101 @@ button::-moz-focus-inner {
display: flex;
margin-bottom: 4px;
}
.tox .accessibility-issue__description > *:last-child:not(:only-child) {
border-color: #eeeeee;
border-style: solid;
.tox .accessibility-issue__description > div > div .tox-icon svg {
display: block;
}
.tox .accessibility-issue__repair {
margin-top: 16px;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
background-color: rgba(0, 108, 231, 0.1);
border-color: #006ce7;
background-color: rgba(0, 101, 216, 0.1);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child {
border-color: #006ce7;
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
color: #006ce7;
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
fill: #006ce7;
}
.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon {
color: #006ce7;
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
background-color: #006ce7;
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus {
background-color: #0060ce;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active {
background-color: #0054b4;
}
.tox .tox-dialog__body-content .accessibility-issue--warn {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description {
background-color: rgba(255, 165, 0, 0.1);
border-color: rgba(255, 165, 0, 0.5);
background-color: rgba(255, 165, 0, 0.08);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child {
border-color: rgba(255, 165, 0, 0.5);
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
color: #cc8500;
color: #8f5d00;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
fill: #cc8500;
fill: #8f5d00;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon {
color: #cc8500;
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
background-color: #FFE89D;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus {
background-color: #F2D574;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active {
background-color: #E8C657;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description {
background-color: rgba(204, 0, 0, 0.1);
border-color: rgba(204, 0, 0, 0.4);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child {
border-color: rgba(204, 0, 0, 0.4);
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
color: #c00;
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
fill: #c00;
}
.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon {
color: #c00;
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
background-color: #F2BFBF;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus {
background-color: #E9A4A4;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active {
background-color: #EE9494;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description {
background-color: rgba(120, 171, 70, 0.1);
border-color: rgba(120, 171, 70, 0.4);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child {
border-color: rgba(120, 171, 70, 0.4);
display: none;
}
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
color: #78AB46;
color: #527530;
}
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
fill: #78AB46;
fill: #527530;
}
.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon {
color: #78AB46;
}
.tox .tox-dialog__body-content .accessibility-issue__header h1,
.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,
.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 {
font-size: 14px;
margin-top: 0;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button {
@@ -204,10 +221,6 @@ button::-moz-focus-inner {
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 4px 4px 8px;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-left-width: 1px;
padding-left: 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
margin-right: 4px;
}
@@ -217,10 +230,6 @@ button::-moz-focus-inner {
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 8px 4px 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-right-width: 1px;
padding-right: 4px;
}
.tox .tox-anchorbar {
display: flex;
flex: 0 0 auto;
@@ -921,6 +930,22 @@ button::-moz-focus-inner {
.tox .tox-swatches__picker-btn:hover {
background: #cce2fa;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg {
display: none;
fill: #222f3e;
height: 24px;
margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2);
width: 24px;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg path {
fill: #fff;
paint-order: stroke;
stroke: #222f3e;
stroke-width: 2px;
}
.tox div.tox-swatch:not(.tox-swatch--remove)[aria-checked="true"] svg {
display: block;
}
.tox:not([dir=rtl]) .tox-swatches__picker-btn {
margin-left: auto;
}
@@ -1554,6 +1579,12 @@ body.tox-dialog__disable-scroll {
.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header {
box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15);
}
.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty {
background: none;
border: none;
box-shadow: none;
padding: 0;
}
.tox-editor-dock-fadeout {
opacity: 0;
visibility: hidden;
@@ -2910,6 +2941,7 @@ body.tox-dialog__disable-scroll {
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
background-attachment: local;
background-color: #fff;
background-image: repeating-linear-gradient(#e3e3e3 0px 1px, transparent 1px 39px);
background-position: center top 40px;
@@ -2977,6 +3009,7 @@ body.tox-dialog__disable-scroll {
border: none;
border-radius: 6px;
box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15);
overscroll-behavior: none;
padding: 4px 0;
}
.tox-pop .tox-pop__dialog {
@@ -3062,6 +3095,47 @@ body.tox-dialog__disable-scroll {
top: 50%;
transform: translateY(-50%);
}
.tox .tox-view-wrap,
.tox .tox-view-wrap__slot-container {
background-color: #fff;
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view {
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view__header {
align-items: center;
display: flex;
font-size: 16px;
justify-content: space-between;
padding: 8px 8px 0 8px;
position: relative;
}
.tox .tox-view__header-start,
.tox .tox-view__header-end {
display: flex;
}
.tox .tox-view__pane {
height: 100%;
padding: 8px;
width: 100%;
}
.tox .tox-view__pane_panel {
border: 1px solid #eeeeee;
border-radius: 6px;
}
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *,
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * {
margin-left: 8px;
}
.tox[dir=rtl] .tox-view__header .tox-view__header-start > *,
.tox[dir=rtl] .tox-view__header .tox-view__header-end > * {
margin-right: 8px;
}
.tox .tox-well {
border: 1px solid #eeeeee;
border-radius: 6px;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -597,6 +597,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
@@ -616,6 +616,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -103,7 +103,6 @@ button::-moz-focus-inner {
}
.tox .accessibility-issue__description {
align-items: stretch;
border: 1px solid #000000;
border-radius: 3px;
display: flex;
justify-content: space-between;
@@ -116,71 +115,91 @@ button::-moz-focus-inner {
display: flex;
margin-bottom: 4px;
}
.tox .accessibility-issue__description > *:last-child:not(:only-child) {
border-color: #000000;
border-style: solid;
.tox .accessibility-issue__description > div > div .tox-icon svg {
display: block;
}
.tox .accessibility-issue__repair {
margin-top: 16px;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
background-color: rgba(32, 122, 183, 0.5);
border-color: #207ab7;
background-color: rgba(30, 113, 170, 0.4);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child {
border-color: #207ab7;
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon {
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
background-color: #207ab7;
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus {
background-color: #1c6ca1;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active {
background-color: #185d8c;
}
.tox .tox-dialog__body-content .accessibility-issue--warn {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description {
background-color: rgba(255, 165, 0, 0.5);
border-color: rgba(255, 165, 0, 0.8);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child {
border-color: rgba(255, 165, 0, 0.8);
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon {
color: #fff;
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
background-color: #FFE89D;
color: #2A3746;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus {
background-color: #F2D574;
color: #2A3746;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active {
background-color: #E8C657;
color: #2A3746;
}
.tox .tox-dialog__body-content .accessibility-issue--error {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description {
background-color: rgba(204, 0, 0, 0.5);
border-color: rgba(204, 0, 0, 0.8);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child {
border-color: rgba(204, 0, 0, 0.8);
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon {
color: #fff;
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
background-color: #F2BFBF;
color: #2A3746;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus {
background-color: #E9A4A4;
color: #2A3746;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active {
background-color: #EE9494;
color: #2A3746;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description {
background-color: rgba(120, 171, 70, 0.5);
border-color: rgba(120, 171, 70, 0.8);
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child {
border-color: rgba(120, 171, 70, 0.8);
display: none;
}
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
color: #fff;
@@ -188,11 +207,9 @@ button::-moz-focus-inner {
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
fill: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon {
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue__header h1,
.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,
.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 {
font-size: 14px;
margin-top: 0;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button {
@@ -204,10 +221,6 @@ button::-moz-focus-inner {
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 4px 4px 8px;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-left-width: 1px;
padding-left: 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
margin-right: 4px;
}
@@ -217,10 +230,6 @@ button::-moz-focus-inner {
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 8px 4px 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-right-width: 1px;
padding-right: 4px;
}
.tox .tox-anchorbar {
display: flex;
flex: 0 0 auto;
@@ -921,6 +930,22 @@ button::-moz-focus-inner {
.tox .tox-swatches__picker-btn:hover {
background: #4a5562;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg {
display: none;
fill: #fff;
height: 24px;
margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2);
width: 24px;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg path {
fill: #fff;
paint-order: stroke;
stroke: #222f3e;
stroke-width: 2px;
}
.tox div.tox-swatch:not(.tox-swatch--remove)[aria-checked="true"] svg {
display: block;
}
.tox:not([dir=rtl]) .tox-swatches__picker-btn {
margin-left: auto;
}
@@ -1554,6 +1579,12 @@ body.tox-dialog__disable-scroll {
.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header {
box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25);
}
.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty {
background: none;
border: none;
box-shadow: none;
padding: 0;
}
.tox-editor-dock-fadeout {
opacity: 0;
visibility: hidden;
@@ -2910,6 +2941,7 @@ body.tox-dialog__disable-scroll {
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
background-attachment: local;
background-color: #222f3e;
background-image: repeating-linear-gradient(#000000 0px 1px, transparent 1px 39px);
background-position: center top 39px;
@@ -2977,6 +3009,7 @@ body.tox-dialog__disable-scroll {
border: none;
border-radius: 3px;
box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15);
overscroll-behavior: none;
padding: 4px 0;
}
.tox-pop .tox-pop__dialog {
@@ -3062,6 +3095,47 @@ body.tox-dialog__disable-scroll {
top: 50%;
transform: translateY(-50%);
}
.tox .tox-view-wrap,
.tox .tox-view-wrap__slot-container {
background-color: #222f3e;
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view {
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view__header {
align-items: center;
display: flex;
font-size: 16px;
justify-content: space-between;
padding: 8px 8px 0 8px;
position: relative;
}
.tox .tox-view__header-start,
.tox .tox-view__header-end {
display: flex;
}
.tox .tox-view__pane {
height: 100%;
padding: 8px;
width: 100%;
}
.tox .tox-view__pane_panel {
border: 1px solid #000000;
border-radius: 3px;
}
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *,
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * {
margin-left: 8px;
}
.tox[dir=rtl] .tox-view__header .tox-view__header-start > *,
.tox[dir=rtl] .tox-view__header .tox-view__header-end > * {
margin-right: 8px;
}
.tox .tox-well {
border: 1px solid #000000;
border-radius: 3px;
@@ -3115,6 +3189,9 @@ body.tox-dialog__disable-scroll {
.tox.tox-tinymce-inline .tox-editor-header {
margin-bottom: -1px;
}
.tox.tox-tinymce-inline .tox-editor-container {
overflow: hidden;
}
.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header {
border-top: none;
box-shadow: none;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -616,6 +616,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
@@ -616,6 +616,9 @@ div.mce-footnotes li > a.mce-footnotes-backlink {
.mce-toc li {
list-style-type: none;
}
[data-mce-block] {
display: block;
}
table[style*="border-width: 0px"],
.mce-item-table:not([border]),
.mce-item-table[border="0"],
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -103,7 +103,6 @@ button::-moz-focus-inner {
}
.tox .accessibility-issue__description {
align-items: stretch;
border: 1px solid #cccccc;
border-radius: 3px;
display: flex;
justify-content: space-between;
@@ -116,83 +115,101 @@ button::-moz-focus-inner {
display: flex;
margin-bottom: 4px;
}
.tox .accessibility-issue__description > *:last-child:not(:only-child) {
border-color: #cccccc;
border-style: solid;
.tox .accessibility-issue__description > div > div .tox-icon svg {
display: block;
}
.tox .accessibility-issue__repair {
margin-top: 16px;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
background-color: rgba(32, 122, 183, 0.1);
border-color: rgba(32, 122, 183, 0.4);
background-color: rgba(30, 113, 170, 0.1);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child {
border-color: rgba(32, 122, 183, 0.4);
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
color: #207ab7;
}
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
fill: #207ab7;
}
.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon {
color: #207ab7;
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
background-color: #207ab7;
color: #fff;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus {
background-color: #1c6ca1;
}
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active {
background-color: #185d8c;
}
.tox .tox-dialog__body-content .accessibility-issue--warn {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description {
background-color: rgba(255, 165, 0, 0.1);
border-color: rgba(255, 165, 0, 0.5);
background-color: rgba(255, 165, 0, 0.08);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child {
border-color: rgba(255, 165, 0, 0.5);
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
color: #cc8500;
color: #8f5d00;
}
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
fill: #cc8500;
fill: #8f5d00;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon {
color: #cc8500;
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
background-color: #FFE89D;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus {
background-color: #F2D574;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active {
background-color: #E8C657;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error {
/* stylelint-disable-next-line no-descending-specificity */
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description {
background-color: rgba(204, 0, 0, 0.1);
border-color: rgba(204, 0, 0, 0.4);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child {
border-color: rgba(204, 0, 0, 0.4);
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
color: #c00;
}
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
fill: #c00;
}
.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon {
color: #c00;
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
background-color: #F2BFBF;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover,
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus {
background-color: #E9A4A4;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active {
background-color: #EE9494;
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description {
background-color: rgba(120, 171, 70, 0.1);
border-color: rgba(120, 171, 70, 0.4);
color: #222f3e;
}
.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child {
border-color: rgba(120, 171, 70, 0.4);
display: none;
}
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
color: #78AB46;
color: #527530;
}
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
fill: #78AB46;
fill: #527530;
}
.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon {
color: #78AB46;
}
.tox .tox-dialog__body-content .accessibility-issue__header h1,
.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1,
.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 {
font-size: 14px;
margin-top: 0;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button {
@@ -204,10 +221,6 @@ button::-moz-focus-inner {
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 4px 4px 8px;
}
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-left-width: 1px;
padding-left: 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
margin-right: 4px;
}
@@ -217,10 +230,6 @@ button::-moz-focus-inner {
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description {
padding: 4px 8px 4px 4px;
}
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child {
border-right-width: 1px;
padding-right: 4px;
}
.tox .tox-anchorbar {
display: flex;
flex: 0 0 auto;
@@ -921,6 +930,22 @@ button::-moz-focus-inner {
.tox .tox-swatches__picker-btn:hover {
background: #dee0e2;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg {
display: none;
fill: #222f3e;
height: 24px;
margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2);
width: 24px;
}
.tox div.tox-swatch:not(.tox-swatch--remove) svg path {
fill: #fff;
paint-order: stroke;
stroke: #222f3e;
stroke-width: 2px;
}
.tox div.tox-swatch:not(.tox-swatch--remove)[aria-checked="true"] svg {
display: block;
}
.tox:not([dir=rtl]) .tox-swatches__picker-btn {
margin-left: auto;
}
@@ -1554,6 +1579,12 @@ body.tox-dialog__disable-scroll {
.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header {
box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25);
}
.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty {
background: none;
border: none;
box-shadow: none;
padding: 0;
}
.tox-editor-dock-fadeout {
opacity: 0;
visibility: hidden;
@@ -2910,6 +2941,7 @@ body.tox-dialog__disable-scroll {
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
background-attachment: local;
background-color: #fff;
background-image: repeating-linear-gradient(#cccccc 0px 1px, transparent 1px 39px);
background-position: center top 39px;
@@ -2977,6 +3009,7 @@ body.tox-dialog__disable-scroll {
border: none;
border-radius: 3px;
box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15);
overscroll-behavior: none;
padding: 4px 0;
}
.tox-pop .tox-pop__dialog {
@@ -3062,6 +3095,47 @@ body.tox-dialog__disable-scroll {
top: 50%;
transform: translateY(-50%);
}
.tox .tox-view-wrap,
.tox .tox-view-wrap__slot-container {
background-color: #fff;
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view {
display: flex;
flex: 1;
flex-direction: column;
}
.tox .tox-view__header {
align-items: center;
display: flex;
font-size: 16px;
justify-content: space-between;
padding: 8px 8px 0 8px;
position: relative;
}
.tox .tox-view__header-start,
.tox .tox-view__header-end {
display: flex;
}
.tox .tox-view__pane {
height: 100%;
padding: 8px;
width: 100%;
}
.tox .tox-view__pane_panel {
border: 1px solid #cccccc;
border-radius: 3px;
}
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *,
.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * {
margin-left: 8px;
}
.tox[dir=rtl] .tox-view__header .tox-view__header-start > *,
.tox[dir=rtl] .tox-view__header .tox-view__header-end > * {
margin-right: 8px;
}
.tox .tox-well {
border: 1px solid #cccccc;
border-radius: 3px;
@@ -3115,6 +3189,9 @@ body.tox-dialog__disable-scroll {
.tox.tox-tinymce-inline .tox-editor-header {
margin-bottom: -1px;
}
.tox.tox-tinymce-inline .tox-editor-container {
overflow: hidden;
}
.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header {
border-top: none;
box-shadow: none;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More