Merge branch 'MDL-84167-main' of https://github.com/meirzamoodle/moodle
This commit is contained in:
@@ -102,6 +102,7 @@ tinymce.IconManager.add('default', {
|
||||
'lock': '<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3ZM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7Z" fill-rule="evenodd"/></svg>',
|
||||
'ltr': '<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5ZM4.4 16.2 6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',
|
||||
'math-equation': '<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 4.8c.1-.5.5-.8 1-.8h10a1 1 0 1 1 0 2h-9.2L8.3 19.2a1 1 0 0 1-1.7.4l-3.4-4.2a1 1 0 0 1 1.6-1.2l2 2.5L9 4.8Zm9.7 5.5c.4.4.4 1 0 1.4L17 13.5l1.8 1.8a1 1 0 1 1-1.4 1.4L15.5 15l-1.8 1.8a1 1 0 0 1-1.4-1.4l1.8-1.8-1.8-1.8a1 1 0 0 1 1.4-1.4l1.8 1.8 1.8-1.8a1 1 0 0 1 1.4 0Z"/></svg>',
|
||||
'mentions': '<svg height="24" width="24"><path d="M12 21a8.8 8.8 0 0 1-3.5-.7 9 9 0 0 1-2.9-2 9 9 0 0 1-1.9-2.8A8.8 8.8 0 0 1 3 12c0-1.3.2-2.4.7-3.5a9 9 0 0 1 4.8-4.8A8.8 8.8 0 0 1 12 3c1.3 0 2.4.2 3.5.7a9.1 9.1 0 0 1 4.8 4.8A8.7 8.7 0 0 1 21 12v1.4a3 3 0 0 1-.9 2.2 3 3 0 0 1-2.2.9c-.5 0-1-.1-1.5-.4a3.8 3.8 0 0 1-1.1-1 4.8 4.8 0 0 1-1.5 1 4.3 4.3 0 0 1-1.8.4c-1.2 0-2.3-.4-3.2-1.3-.9-.9-1.3-2-1.3-3.2s.4-2.3 1.3-3.2c.9-.9 2-1.3 3.2-1.3s2.3.4 3.2 1.3c.9.9 1.3 2 1.3 3.2v1.4c0 .4.1.7.4 1 .3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1V12c0-2-.7-3.8-2.1-5.2S14 4.7 12 4.7s-3.8.7-5.2 2.1S4.7 10 4.7 12s.7 3.8 2.1 5.2 3.2 2.1 5.2 2.1h4.5V21zm0-6.2c.8 0 1.4-.3 2-.8a2.7 2.7 0 0 0 .8-2c0-.8-.3-1.4-.8-2a2.7 2.7 0 0 0-2-.8c-.8 0-1.4.3-2 .8a2.7 2.7 0 0 0-.8 2c0 .8.3 1.4.8 2a2.7 2.7 0 0 0 2 .8z"/></svg>',
|
||||
'minus': '<svg width="24" height="24"><path d="M19 11a1 1 0 0 1 .1 2H5a1 1 0 0 1-.1-2H19Z"/></svg>',
|
||||
'more-drawer': '<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',
|
||||
'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>',
|
||||
@@ -189,6 +190,33 @@ tinymce.IconManager.add('default', {
|
||||
'unordered-list': '<svg width="24" height="24"><path d="M11 5h8c.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 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z" fill-rule="evenodd"/></svg>',
|
||||
'unselected': '<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6Z"/></svg>',
|
||||
'upload': '<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12ZM11 6.4 8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4Z" fill-rule="nonzero"/></svg>',
|
||||
'add-file': '<svg height="24" width="24"><path d="M2 7h2V4h3V2H4a2 2 0 0 0-2 2zm20 0h-2V4h-3V2h3a2 2 0 0 1 2 2zm0 2h-2v6h2zm0 8h-2v3h-3v2h3a2 2 0 0 0 2-2zM2 9h2v6H2zm0 8h2v3h3v2H4a2 2 0 0 1-2-2zm7 5v-2h6v2zm6-20v2H9V2zM6 17h12l-4-5-3 3.8-2-2.6z"/><path d="M2 7h2V4h3V2H4a2 2 0 0 0-2 2zm20 0h-2V4h-3V2h3a2 2 0 0 1 2 2zm0 2h-2v6h2zm0 8h-2v3h-3v2h3a2 2 0 0 0 2-2zM2 9h2v6H2zm0 8h2v3h3v2H4a2 2 0 0 1-2-2zm7 5v-2h6v2zm6-20v2H9V2zM6 17h12l-4-5-3 3.8-2-2.6z"/><path d="M6 17h12l-4-5-3 3.8-2-2.6z"/><path d="M6 17h12l-4-5-3 3.8-2-2.6z"/><path d="M6 17h12l-4-5-3 3.8-2-2.6z"/><path d="M6 17h12l-4-5-3 3.8-2-2.6z"/></svg>',
|
||||
'adjustments': '<svg width="24" height="24"><path d="M16 11a3 3 0 1 1 2.8-4H21v2h-2.2a3 3 0 0 1-2.8 2Zm0-2a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM3 9h8V7H3v2Zm5 10a3 3 0 1 0-2.8-4H3v2h2.2A3 3 0 0 0 8 19Zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm13 0h-8v-2h8v2Z"/></svg>',
|
||||
'alt-text': '<svg width="24" height="24"><path d="M3 20a2 2 0 0 1-1.4-.6A2 2 0 0 1 1 18V6c0-.6.2-1 .6-1.4A2 2 0 0 1 3 4h18c.6 0 1 .2 1.4.6.4.4.6.9.6 1.4v12c0 .6-.2 1-.6 1.4a2 2 0 0 1-1.4.6H3Zm0-2h18V6H3v12Zm1.5-3H6v-1.5h1.5V15H9v-5a1 1 0 0 0-.3-.7A1 1 0 0 0 8 9H5.5a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v5ZM6 12v-1.5h1.5V12H6Z"/><path d="M11 15V9h1.3v4.5h2V15H11Zm5.8-4.5V15h1.4v-4.5h1.3V9h-4v1.5h1.3Z"/></svg>',
|
||||
'blur': '<svg width="24" height="24"><path d="M19.3 9.3a1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3s.5-.1.7-.3a1 1 0 0 0 .3-.7 1 1 0 0 0-.3-.7A1 1 0 0 0 20 9a1 1 0 0 0-.7.3Zm-16 0a1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3s.5-.1.7-.3A1 1 0 0 0 5 10a1 1 0 0 0-.3-.7A1 1 0 0 0 4 9a1 1 0 0 0-.7.3Zm16 6a1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3s.5-.1.7-.3a1 1 0 0 0 .3-.7 1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3Zm-16 0a1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3s.5-.1.7-.3A1 1 0 0 0 5 16a1 1 0 0 0-.3-.7A1 1 0 0 0 4 15a1 1 0 0 0-.7.3Zm5-11A1 1 0 0 0 8 5a1 1 0 0 0 1 1c.3 0 .5-.1.7-.3A1 1 0 0 0 10 5a1 1 0 0 0-.3-.7A1 1 0 0 0 9 4a1 1 0 0 0-.7.3Zm6 0a1 1 0 0 0-.3.7 1 1 0 0 0 1 1c.3 0 .5-.1.7-.3A1 1 0 0 0 16 5a1 1 0 0 0-.3-.7A1 1 0 0 0 15 4a1 1 0 0 0-.7.3Zm-6 16a1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3s.5-.1.7-.3a1 1 0 0 0 .3-.7 1 1 0 0 0-.3-.7A1 1 0 0 0 9 20a1 1 0 0 0-.7.3Zm6 0a1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3s.5-.1.7-.3a1 1 0 0 0 .3-.7 1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3ZM7.6 8.6A2 2 0 0 0 7 10c0 .6.2 1 .6 1.4.4.4.8.6 1.4.6s1-.2 1.4-.6c.4-.4.6-.8.6-1.4s-.2-1-.6-1.4A2 2 0 0 0 9 8a2 2 0 0 0-1.4.6Zm0 6A2 2 0 0 0 7 16c0 .6.2 1 .6 1.4.4.4.8.6 1.4.6s1-.2 1.4-.6c.4-.4.6-.8.6-1.4s-.2-1-.6-1.4A2 2 0 0 0 9 14a2 2 0 0 0-1.4.6Zm6-6A2 2 0 0 0 13 10c0 .6.2 1 .6 1.4.4.4.8.6 1.4.6s1-.2 1.4-.6c.4-.4.6-.8.6-1.4s-.2-1-.6-1.4A2 2 0 0 0 15 8a2 2 0 0 0-1.4.6Zm0 6A2 2 0 0 0 13 16c0 .6.2 1 .6 1.4.4.4.8.6 1.4.6s1-.2 1.4-.6c.4-.4.6-.8.6-1.4s-.2-1-.6-1.4A2 2 0 0 0 15 14a2 2 0 0 0-1.4.6Z"/></svg>',
|
||||
'box': '<svg width="24" height="24"><path d="M3.8 7a1 1 0 0 0-.7.6l-.1 3V13.8a3.5 3.5 0 0 0 4 2.7c.8-.2 1.4-.5 2-1l.3-.3.3.2c.7.7 1.4 1 2.4 1.1 1.2 0 2.4-.6 3-1.6.9-1.2.8-2.8 0-4a3.7 3.7 0 0 0-2-1.2c-.4-.1-1.2-.1-1.6 0a3.4 3.4 0 0 0-1.7 1l-.3.2-.2-.1c-.4-.5-1.2-1-2-1.1-.6-.2-1.5 0-2 .2H5V9c0-1.3 0-1.3-.3-1.6a1 1 0 0 0-1-.3Zm12 2.6c-.3.2-.5.4-.6.8v.6l.9 1 .7 1v.1l-.8 1-.7 1a1 1 0 0 0 0 .7 1 1 0 0 0 1.3.6c.2 0 .3-.2 1-1l.5-.7.6.8.7.8c.4.3 1 .3 1.3 0l.2-.3a1 1 0 0 0 0-.8l-.8-1.2-.7-1a26 26 0 0 0 1.5-2 .8.8 0 0 0 .1-.4c0-.4-.1-.7-.5-.9H20c-.4 0-.5 0-1.2.8l-.7.8-.6-.7-.7-.9a1 1 0 0 0-1 0Zm-9 2 .4.1c.3.1.6.5.7.8l.1.6v.6c-.6 1-2 1.2-2.7.3-.3-.3-.3-.5-.3-1v-.5c.3-.5.7-.8 1.1-1a1.5 1.5 0 0 1 .7 0Zm5.7 0c.4 0 .8.4 1 .8l.2.6-.1.7c-.5.9-1.6 1.1-2.4.6a1.4 1.4 0 0 1-.6-1.1 1.4 1.4 0 0 1 .5-1.2 1.5 1.5 0 0 1 1.4-.4Z"/></svg>',
|
||||
'camera': '<svg height="24" width="24"><g clip-rule="evenodd" fill-rule="evenodd"><path d="M10 5.4a1 1 0 0 1 .8-.4h4.4a1 1 0 0 1 .8.4l1.2 1.8h2.3A2.5 2.5 0 0 1 22 9.6v8a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 4 17.6v-8a2.5 2.5 0 0 1 2.5-2.4h2.3zM11.4 7l-1.2 1.7a1 1 0 0 1-.8.5h-3a.5.5 0 0 0-.4.4v8a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.4h-2.9a1 1 0 0 1-.8-.5L14.6 7z"/><path d="M13 11.4a2 2 0 1 0 0 3.8 2 2 0 0 0 0-3.8zm-4 1.9a4 4 0 1 1 8 0 4 4 0 0 1-8 0z"/></g></svg>',
|
||||
'caption': '<svg height="24" width="24"><path d="M6 16h8v-2H6zm10 0h2v-2h-2zM4 20a2 2 0 0 1-1.5-.6A2 2 0 0 1 2 18V6c0-.6.2-1 .6-1.4A2 2 0 0 1 4 4h16c.6 0 1 .2 1.4.6.4.4.6.9.6 1.4v12c0 .6-.2 1-.6 1.4a2 2 0 0 1-1.4.6zm0-2h16V6H4z"/></svg>',
|
||||
'dropbox': '<svg height="24" width="24"><path clip-rule="evenodd" d="m6.4 9.3-3-2a1 1 0 0 1 0-1.6l4-2.5a1 1 0 0 1 1 0L12 5.5l3.6-2.3a1 1 0 0 1 1 0l4 2.5a1 1 0 0 1 0 1.7l-3 1.9 3 1.9a1 1 0 0 1 0 1.6l-2.9 1.9V16c0 .3-.1.6-.4.8l-4.5 3a1 1 0 0 1-1.2 0l-4.4-3a1 1 0 0 1-.5-.9v-1l-3.2-2.2a1 1 0 0 1 0-1.6zm3 0L12 7.5l2.6 1.8L12 11zM8.9 15v.4l3.3 2.3 3.4-2.3v-.2L12 13l-3.1 2zm-1-10-2 1.4 2 1.3 2-1.3zm8.2 0-2 1.4 2 1.3 2-1.3zm-2 6.9 2-1.3 2 1.3-2 1.3-2-1.3zm-8.3 0 2-1.3L10 12l-2 1.3-2-1.3z" fill-rule="evenodd"/></svg>',
|
||||
'evernote': '<svg width="24" height="24"><path fill-rule="evenodd" d="m9.5 3-.3.1-2.6 2.6C3.8 8.5 4 8.2 4 8.7c0 1.3.3 3 .6 4.3.5 2 1.1 3.2 2 3.7l1.2.3c1 .2 1.5.2 2.2.2 1.3 0 1.7 0 2.2-.4.3-.2.3-.4.4-1a38.4 38.4 0 0 1 .3-.4l.3.1 1.8.1h1.6v-1.8H14l-.1-.2a6.8 6.8 0 0 1-.5-1c-.2-.4-.3-.6-.5-.7a.8.8 0 0 0-.5-.1.9.9 0 0 0-.8.5l-.4 1.6-.3 1.5H9.4l-2-.3a1 1 0 0 1-.1-.2A10.1 10.1 0 0 1 6 9.7v-.2h4l.5-.5V5H12c.4.2.7.7.8 1.1a1 1 0 0 0 .2.6c.2.2.3.2 1 .3 1.2 0 2 .2 2.5.6.4.2.8.7 1 1.2.3 1.2.5 4 .3 6.4 0 1.8-.4 3.4-.8 4h-.7a8 8 0 0 1-.8 0c-.2 0-.3-.3-.2-.5a.5.5 0 0 1 .4-.3h.9v-1.8H16c-.7 0-.9 0-1.2.2-.9.4-1.4 1.2-1.4 2.1l.1.4.1.2a1 1 0 0 1 .1.2c.3.7.8 1.2 1.4 1.3l1.2.1h1.2a2 2 0 0 0 1-.8 9 9 0 0 0 1.1-4.3c.2-3 0-6.3-.4-7.7A4.3 4.3 0 0 0 16 5.3a7 7 0 0 0-1.3-.2 7.2 7.2 0 0 1-.4 0 5.5 5.5 0 0 1 0-.3c-.2-.5-.6-1-1.2-1.4a3 3 0 0 0-.5-.2c-.4-.2-.5-.2-1.8-.2a26.5 26.5 0 0 0-1.3 0Zm-.8 4v.7H7.2l.7-.8.8-.7v.7Zm7 3.5c-.4 0-.7.5-.9 1v.7h.3c.7 0 1.1.2 1.5.6l.3.2.3-.6V11a1 1 0 0 0-.6-.4 2 2 0 0 0-.8 0Z" clip-rule="evenodd"/></svg>',
|
||||
'exposure': '<svg width="24" height="24"><path d="M5 21a2 2 0 0 1-1.4-.6A2 2 0 0 1 3 19V5c0-.6.2-1 .6-1.4A2 2 0 0 1 5 3h14c.6 0 1 .2 1.4.6.4.4.6.8.6 1.4v14c0 .6-.2 1-.6 1.4a2 2 0 0 1-1.4.6H5Zm0-2h14V5L5 19Zm9.5-1v-2h-2v-1.5h2v-2H16v2h2V16h-2v2h-1.5ZM6 8.5h5V7H6v1.5Z"/></svg>',
|
||||
'fb': '<svg width="24" height="24"><path fill-rule="evenodd" d="M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-11 6.7V14H8.1v-2.5h2v-1C10 8.2 11.5 7 12.8 7H16v2.5h-2.4c-.8 0-1 .7-1 1.3v.7h3.2l-1 2.5h-2v5a7 7 0 1 0-2.8-.2Z" clip-rule="evenodd"/></svg>',
|
||||
'flickr': '<svg width="24" height="24"><path d="M8.2 15.3c1.7 0 3.1-1.4 3.1-3.1A3.2 3.2 0 0 0 8.1 9 3.2 3.2 0 0 0 5 12.2c0 1.7 1.4 3 3.2 3Zm7.6 0c1.7 0 3.2-1.4 3.2-3.1a3.2 3.2 0 0 0-6.3 0c0 1.7 1.4 3 3.1 3Z"/></svg>',
|
||||
'folder': '<svg width="24" height="24"><path fill-rule="evenodd" d="M5.6 6a.6.6 0 0 0-.6.6v11.2a.6.6 0 0 0 .6.6h12.8a.6.6 0 0 0 .6-.6V9a.6.6 0 0 0-.6-.6h-7.2a1 1 0 0 1-.8-.4L9 6H5.6ZM3.8 4.8A2.6 2.6 0 0 1 5.6 4h4a1 1 0 0 1 .8.4l1.3 2h6.7A2.6 2.6 0 0 1 21 9v8.8a2.6 2.6 0 0 1-2.6 2.6H5.6A2.6 2.6 0 0 1 3 17.8V6.6c0-.7.3-1.4.8-1.8Z" clip-rule="evenodd"/></svg>',
|
||||
'google-drive': '<svg height="24" width="24"><path clip-rule="evenodd" d="M8.7 4.5a1 1 0 0 1 .9-.5h4.8a1 1 0 0 1 .9.5l5.6 9.7a1 1 0 0 1 0 1l-2.4 4.2a1 1 0 0 1-.9.5H6.4a1 1 0 0 1-.9-.5l-2.4-4.2a1 1 0 0 1 0-1zM10.2 6l-4.5 7.7h2.5L12.7 6h-2.5zm4.2 1 4.4 7.7-1.2 2.2-4.4-7.7zM12 11.2l-1.5 2.5h3zm2.6 4.5H5.7L7 17.9h8.9l-1.3-2.2z" fill-rule="evenodd"/></svg>',
|
||||
'google-photos': '<svg width="24" height="24"><path fill-rule="evenodd" d="M12.4 3c-.8 0-1.4.7-1.4 1.4v3.2a5 5 0 0 0-8 4c0 .8.6 1.4 1.4 1.4h3.2a5 5 0 0 0-1 3 5 5 0 0 0 5 5c.8 0 1.4-.6 1.4-1.4v-3.2a5 5 0 0 0 8-4c0-.8-.7-1.4-1.4-1.4h-3.2a5 5 0 0 0-4-8Zm.6 8V5a3 3 0 0 1 2.4 3 3 3 0 0 1-2.4 3Zm-2 0H5a3 3 0 0 1 3-2.4 3 3 0 0 1 3 2.4Zm2 2a3 3 0 0 0 3 2.4 3 3 0 0 0 3-2.4h-6Zm-4.4 3a3 3 0 0 1 2.4-3v6a3 3 0 0 1-2.4-3Z" clip-rule="evenodd"/></svg>',
|
||||
'grayscale': '<svg height="24" width="24"><g clip-rule="evenodd" fill-rule="evenodd"><path d="M12 15v2a5 5 0 0 0 0-10v2a3 3 0 1 0 0 6zm0 0a3 3 0 1 0 0-6z"/><path d="M5 21a2 2 0 0 1-1.4-.6A2 2 0 0 1 3 19V5c0-.6.2-1 .6-1.4A2 2 0 0 1 5 3h14c.6 0 1 .2 1.4.6.4.4.6.8.6 1.4v14c0 .6-.2 1-.6 1.4a2 2 0 0 1-1.4.6zm7-2h7V5h-7v2a5 5 0 0 0 0 10z"/></g></svg>',
|
||||
'huddle': '<svg height="24" width="24"><path d="M10.3 5.6V8h.8v-2l3.5 2 4.3-2.5L14.6 3l-4.3 2.6zM14.6 8v5.2l4.3-2.6V5.6L14.6 8zM6 13.3v2.5h.9v-2l3.4 2 4.3-2.5-4.3-2.6zm4.3 2.6V21l4.3-2.6v-5.1l-4.3 2.6z"/></svg>',
|
||||
'image-decorative': '<svg width="24" height="24"><path d="M12 10c.3 0 .5-.1.7-.3A1 1 0 0 0 13 9a1 1 0 0 0-.3-.7A1 1 0 0 0 12 8a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7 1 1 0 0 0 1 1Zm0 6a3 3 0 0 1-1.8-.5A3 3 0 0 1 9.1 14a2 2 0 0 0-.2 0 3 3 0 0 1-2.5-1 3 3 0 0 1-.9-2.2A3 3 0 0 1 6.2 9a3.4 3.4 0 0 1-.5-1 3 3 0 0 1-.2-1 3 3 0 0 1 1-2.2A3 3 0 0 1 8.8 4H9a3 3 0 0 1 1.1-1.4A3 3 0 0 1 12 2a3 3 0 0 1 1.8.5c.5.4.9.9 1.1 1.5h.2a3 3 0 0 1 2.5.8 3 3 0 0 1 .9 2.3c0 .3 0 .7-.2 1a2.8 2.8 0 0 1-.5.9l.5 1 .2 1a3 3 0 0 1-1 2.2 3 3 0 0 1-2.4.9 1.8 1.8 0 0 0-.2 0 3 3 0 0 1-1.1 1.4 3 3 0 0 1-1.8.5Zm0 7a8.7 8.7 0 0 1 .7-3.5 9.2 9.2 0 0 1 2-2.8 9.2 9.2 0 0 1 2.8-2A8.6 8.6 0 0 1 21 14a8.6 8.6 0 0 1-.7 3.5 9.2 9.2 0 0 1-2 2.8 9.2 9.2 0 0 1-2.8 2 8.6 8.6 0 0 1-3.5.7Zm2.5-2.5a6.8 6.8 0 0 0 2.4-1.5 6.8 6.8 0 0 0 1.7-2.6c-1 .4-1.8 1-2.6 1.7a6.8 6.8 0 0 0-1.5 2.4ZM12 23a8.6 8.6 0 0 0-.7-3.5 9.2 9.2 0 0 0-2-2.9 9.2 9.2 0 0 0-2.8-1.9A8.6 8.6 0 0 0 3 14a8.7 8.7 0 0 0 .7 3.5 9.2 9.2 0 0 0 2 2.9 9.2 9.2 0 0 0 2.8 1.9 8.6 8.6 0 0 0 3.5.7Zm-2.5-2.5A6.8 6.8 0 0 1 7.2 19a6.8 6.8 0 0 1-1.6-2.6c.9.4 1.7 1 2.5 1.7a6.8 6.8 0 0 1 1.6 2.4Zm5.9-8.4c.3 0 .5-.1.8-.4.2-.2.3-.5.3-.8 0-.2 0-.4-.2-.6a1.3 1.3 0 0 0-.5-.4l-.8-.4a3 3 0 0 1-.2.5 3.8 3.8 0 0 1-.2.5 2.5 2.5 0 0 1-.3.4 4 4 0 0 1-.4.4l.8.6a.8.8 0 0 0 .3.1h.4ZM15 8.5l.8-.4.5-.4.2-.6a1.1 1.1 0 0 0-.3-.8 1 1 0 0 0-.8-.4 1.1 1.1 0 0 0-.7.2l-.8.6.4.4.3.4a3.9 3.9 0 0 1 .4 1Zm-4-2.3a2.7 2.7 0 0 1 1-.2 2.7 2.7 0 0 1 1 .2l.2-1.1c0-.3-.1-.6-.4-.8A1.2 1.2 0 0 0 12 4c-.3 0-.6.1-.8.3-.3.2-.4.5-.3.8v1.1Zm1 7.8c.3 0 .6-.1.8-.3.3-.2.4-.5.3-.8v-1.1a2.7 2.7 0 0 1-1.1.2 2.7 2.7 0 0 1-1-.2l-.2 1.1c0 .3.1.6.4.8.2.2.5.3.8.3ZM9 8.5a3 3 0 0 1 .4-1l.3-.4.4-.4-.8-.6A.9.9 0 0 0 9 6a1.2 1.2 0 0 0-.3 0c-.4 0-.6 0-.9.3a1.1 1.1 0 0 0-.3.8c0 .2 0 .4.2.6l.5.4.9.4Zm-.3 3.6H9l.3-.2.8-.6a5.5 5.5 0 0 1-.4-.4 2.1 2.1 0 0 1-.3-.4 3.8 3.8 0 0 1-.2-.5 3 3 0 0 1-.1-.5l-1 .4-.4.4a1.1 1.1 0 0 0-.2.6c0 .3.2.6.4.8.2.2.4.4.7.4Z"/></svg>',
|
||||
'image-enhancements': '<svg height="24" width="24"><path d="M5.3 21a2 2 0 0 1-1.5-.6 2 2 0 0 1-.6-1.4V5c0-.6.2-1 .6-1.4A2 2 0 0 1 5.2 3H13v2H5.2v14h14v-8h2v8c0 .6-.1 1-.5 1.4a2 2 0 0 1-1.4.6z"/><path d="M11 9a4 4 0 0 0 4 4 4 4 0 0 0-4 4 4 4 0 0 0-4-4 4 4 0 0 0 4-4zm5.5-6c.2 2.1 2.2 4.1 4.5 4.5-2.3.4-4.3 2.4-4.5 4.5A5.2 5.2 0 0 0 12 7.5 5.2 5.2 0 0 0 16.5 3z"/></svg>',
|
||||
'instagram': '<svg height="24" width="24"><path clip-rule="evenodd" d="M10.1 9a4 4 0 1 1 4.4 6.6A4 4 0 0 1 10.1 9zm2.2 1.3a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" fill-rule="evenodd"/><path d="M16 9.3a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6z"/><path clip-rule="evenodd" d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm3-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z" fill-rule="evenodd"/></svg>',
|
||||
'onedrive': '<svg height="24" width="24"><path d="M4 13.7h1zm16 .7h-1zm-11.7-4A4.4 4.4 0 0 1 12.1 8V6a6.4 6.4 0 0 0-5.6 3.4l1.8 1zM12.1 8c2 0 3.6 1.4 4 2.8l2-.5A6.3 6.3 0 0 0 12 6v2zm8.1 6.8-9.8-5.5-1 1.8 9.8 5.5 1-1.8zm-9.8-5.5A5 5 0 0 0 3 13.7h2A3 3 0 0 1 9.5 11l1-1.8zM3 13.7a5 5 0 0 0 1 2.8l1.5-1.1a3 3 0 0 1-.5-1.7zm15.8 1.6a2.3 2.3 0 0 1-2 1.4v2a4.3 4.3 0 0 0 3.9-2.6zm-2 1.4H8v2h8.7zm-8.8 0a3 3 0 0 1-2.5-1.3L4 16.5a5 5 0 0 0 4 2.2v-2zm12.7-.6c.2-.6.3-1.1.3-1.7h-2c0 .3 0 .6-.2.9zm.3-1.7c0-3-3.1-5.1-6-4l.8 1.9a2.3 2.3 0 0 1 3.2 2h2zm-6-4L4.4 15l.8 1.9 10.7-4.6-.7-1.8z"/></svg>',
|
||||
'revert-changes': '<svg height="24" width="24"><path d="m8.9 18.8.4 3.2H13v-2h-2v-2.6a4.6 4.6 0 0 1-1.6-.6 5.9 5.9 0 0 1-1.3-1l-2.5 1-1-1.7 2.2-1.6a4 4 0 0 1-.2-.7 5.9 5.9 0 0 1 0-.8v-.8l.2-.8-2.2-1.6 1-1.7 2.5 1a6 6 0 0 1 1.2-.9l1.4-.6.4-2.6h2l.3 2.6A5.6 5.6 0 0 1 16 8.2l2.5-1 1 1.6-2.2 1.7.2.7v.8a5 5 0 0 1 0 1h2a2.6 2.6 0 0 0 0-.5V11.3l2.6-2-2.8-4.7-3 1.3a8.2 8.2 0 0 0-.5-.4 3.8 3.8 0 0 0-.6-.3L14.8 2H9.3l-.4 3.2a5 5 0 0 0-1.2.7l-3-1.3L2 9.4l2.6 2V12.6l-2.6 2 2.7 4.7 3-1.3a8 8 0 0 0 1.2.7z"/><path d="m14.5 20.3 2.1-2-2.1-2.2 1.4-1.4 2.1 2.1 2.1-2 1.4 1.3-2 2.1 2 2.1-1.4 1.4-2.1-2-2.1 2zM12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></svg>',
|
||||
'saturation': '<svg width="24" height="24"><path fill-rule="evenodd" d="M12 20.5a6 6 0 1 1-5.9-10.2 6 6 0 1 1 11.8 0A6 6 0 1 1 12 20.5Zm-1.1-7.7a6 6 0 0 0-.2.3 4.3 4.3 0 0 1-2-1.3c.9.1 1.6.5 2.2 1Zm2.4.3a6 6 0 0 0-.2-.3 4.3 4.3 0 0 1 2.2-1 4.3 4.3 0 0 1-2 1.3ZM12.2 15a6.3 6.3 0 0 1-.4 0 4.3 4.3 0 0 0 .2 2.5 4.3 4.3 0 0 0 .2-2.5Zm.9 4.2a6 6 0 0 0 .8-4.5 6 6 0 0 0 3.4-2.8 4.3 4.3 0 0 1-1.3 8.4 4.3 4.3 0 0 1-2.9-1.1Zm-2.2 0a4.3 4.3 0 1 1-4.2-7.3 6 6 0 0 0 3.4 2.8 6 6 0 0 0 .8 4.5Zm-3-9.2a4.3 4.3 0 1 1 8.3 0 6 6 0 0 0-4.2 1.5A6 6 0 0 0 7.8 10Z" clip-rule="evenodd"/></svg>',
|
||||
'transform-image': '<svg height="24" width="24"><path d="M3 21v-6h2V9H3V3h6v2h6V3h6v6h-2v6h2v6h-6v-2H9v2zm6-4h6v-2h2V9h-2V7H9v2H7v6h2zM5 7h2V5H5zm12 0h2V5h-2zm0 12h2v-2h-2zM5 19h2v-2H5z"/></svg>',
|
||||
'vibrance': '<svg height="24" width="24"><path clip-rule="evenodd" d="M12 20 22 4H2zm2.6-8 1.3-2H8l1.3 2h5.2zm-1.2 2h-2.8l1.4 2.2zm5-8L17 8H7L5.6 6h12.8z" fill-rule="evenodd"/></svg>',
|
||||
'vk': '<svg width="24" height="24"><path fill-rule="evenodd" d="M14.8 17.4a2 2 0 0 1-1.3.7 8 8 0 0 1-7.7-3.6c-1.4-2-2.2-4.4-2.6-5.7L3 8.6A2 2 0 0 1 5 6h2.5c.4 0 .8.1 1.2.4A2 2 0 0 1 9.8 6h3.5a2 2 0 0 1 1.4.6 2 2 0 0 1 1.5-.6h2.4a2 2 0 0 1 2 2.5c-.5 1.5-1.2 2.6-1.8 3.6a12.5 12.5 0 0 1 2 3.2A2 2 0 0 1 19 18h-2.6a2 2 0 0 1-1.3-.5 6.9 6.9 0 0 1-.3-.2Zm.5-2.5-1.2-1a3 3 0 0 0-.8-.2v2.4h-1.7a5.6 5.6 0 0 1-.3 0c-3-.7-4.7-3.7-5.6-6.1A38.1 38.1 0 0 1 5 8.1V8h2.5a80.5 80.5 0 0 1 1.2 2.5c.6 1.2 1.2 2 2 2.1V9l-.9-1h3.5v4.1a5 5 0 0 0 .4-.3c.7-.7 1.2-1.4 1.6-2.2l.2-.3.7-1.3h2.4a8.5 8.5 0 0 1-.8 2l-1.3 2-.3.3a10.5 10.5 0 0 1 2.8 3.8h-2.6l-.8-.9a20.6 20.6 0 0 0-.3-.3Z" clip-rule="evenodd"/></svg>',
|
||||
'warmth': '<svg height="24" width="24"><path d="M12 21.1c-1.4 0-2.6-.5-3.6-1.5s-1.5-2.1-1.5-3.5c0-.8.2-1.6.6-2.2A5 5 0 0 1 8.9 12v-6c0-.8.3-1.5 1-2.1a2.9 2.9 0 0 1 2-.9c.9 0 1.6.3 2.2.9.5.6.8 1.3.8 2.1v6a5 5 0 0 1 1.5 1.8A4.9 4.9 0 0 1 17 16c0 1.4-.5 2.6-1.4 3.5s-2.2 1.5-3.6 1.5zm-3-5h6c0-.5-.2-1-.4-1.4a3 3 0 0 0-.9-1l-.8-.6v-7a1 1 0 0 0-.3-.7A1 1 0 0 0 12 5a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v7l-.8.6a2.9 2.9 0 0 0-.9 1 3 3 0 0 0-.3 1.4z"/></svg>',
|
||||
'user': '<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24Zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7ZM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13Z" fill-rule="nonzero"/></svg>',
|
||||
'vertical-align': '<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 0 1 1.2 1.5l-.1.1-4.1 3-4-3a1 1 0 0 1 1-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8 4 2.9a1 1 0 0 1-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 0 1-1-1v-4l-2 1.3a1 1 0 0 1-1.2-.1l-.1-.1a1 1 0 0 1 .1-1.3l.1-.1 4.1-3z"/></g></svg>',
|
||||
'visualblocks': '<svg width="24" height="24"><path d="M9 19v2H7v-2h2Zm-4 0v2a2 2 0 0 1-2-2h2Zm8 0v2h-2v-2h2Zm8 0a2 2 0 0 1-2 2v-2h2Zm-4 0v2h-2v-2h2ZM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15ZM5 15v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 11v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 7v2H3V7h2Zm16 0v2h-2V7h2ZM5 3v2H3c0-1.1.9-2 2-2Zm8 0v2h-2V3h2Zm6 0a2 2 0 0 1 2 2h-2V3ZM9 3v2H7V3h2Zm8 0v2h-2V3h2Z" fill-rule="evenodd"/></svg>',
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -750,6 +750,7 @@
|
||||
|
||||
const isShadowRoot = dos => isDocumentFragment(dos) && isNonNullable(dos.dom.host);
|
||||
const getRootNode = e => SugarElement.fromDom(e.dom.getRootNode());
|
||||
const getContentContainer = dos => isShadowRoot(dos) ? dos : SugarElement.fromDom(documentOrOwner(dos).dom.body);
|
||||
const getShadowRoot = e => {
|
||||
const r = getRootNode(e);
|
||||
return isShadowRoot(r) ? Optional.some(r) : Optional.none();
|
||||
@@ -1511,7 +1512,7 @@
|
||||
});
|
||||
return columnsGroup;
|
||||
};
|
||||
const generate$1 = list => {
|
||||
const generate$2 = list => {
|
||||
const access = {};
|
||||
const cells = [];
|
||||
const tableOpt = head(list).map(rowData => rowData.element).bind(table);
|
||||
@@ -1569,7 +1570,7 @@
|
||||
};
|
||||
const fromTable = table => {
|
||||
const list = fromTable$1(table);
|
||||
return generate$1(list);
|
||||
return generate$2(list);
|
||||
};
|
||||
const justCells = warehouse => bind$2(warehouse.all, w => w.cells);
|
||||
const justColumns = warehouse => values(warehouse.columns);
|
||||
@@ -1577,7 +1578,7 @@
|
||||
const getColumnAt = (warehouse, columnIndex) => Optional.from(warehouse.columns[columnIndex]);
|
||||
const Warehouse = {
|
||||
fromTable,
|
||||
generate: generate$1,
|
||||
generate: generate$2,
|
||||
getAt,
|
||||
findItem,
|
||||
filterItems,
|
||||
@@ -2498,6 +2499,26 @@
|
||||
return options.isSet('table_default_styles') ? defaultStyles : determineDefaultTableStyles(editor, defaultStyles);
|
||||
};
|
||||
const tableUseColumnGroup = option('table_use_colgroups');
|
||||
const fixedContainerSelector = option('fixed_toolbar_container');
|
||||
const fixedToolbarContainerTarget = option('fixed_toolbar_container_target');
|
||||
const fixedContainerTarget = editor => {
|
||||
var _a;
|
||||
if (!editor.inline) {
|
||||
return Optional.none();
|
||||
}
|
||||
const selector = (_a = fixedContainerSelector(editor)) !== null && _a !== void 0 ? _a : '';
|
||||
if (selector.length > 0) {
|
||||
return descendant(body$1(), selector);
|
||||
}
|
||||
const element = fixedToolbarContainerTarget(editor);
|
||||
if (isNonNullable(element)) {
|
||||
return Optional.some(SugarElement.fromDom(element));
|
||||
}
|
||||
return Optional.none();
|
||||
};
|
||||
const useFixedContainer = editor => editor.inline && fixedContainerTarget(editor).isSome();
|
||||
const getUiMode = option('ui_mode');
|
||||
const isSplitUiMode = editor => !useFixedContainer(editor) && getUiMode(editor) === 'split';
|
||||
|
||||
const closest = target => closest$1(target, '[contenteditable]');
|
||||
const isEditable$1 = (element, assumeEditable = false) => {
|
||||
@@ -3024,13 +3045,32 @@
|
||||
});
|
||||
};
|
||||
const serializeElements = (editor, elements) => map$1(elements, elm => editor.selection.serializer.serialize(elm.dom, {})).join('');
|
||||
const getTextContent = elements => map$1(elements, element => element.dom.innerText).join('');
|
||||
const getTextContent = (editor, replicaElements) => {
|
||||
const doc = editor.getDoc();
|
||||
const dos = getRootNode(SugarElement.fromDom(editor.getBody()));
|
||||
const offscreenDiv = SugarElement.fromTag('div', doc);
|
||||
set$2(offscreenDiv, 'data-mce-bogus', 'all');
|
||||
setAll(offscreenDiv, {
|
||||
position: 'fixed',
|
||||
left: '-9999999px',
|
||||
top: '0',
|
||||
overflow: 'hidden',
|
||||
opacity: '0'
|
||||
});
|
||||
const root = getContentContainer(dos);
|
||||
append(offscreenDiv, replicaElements);
|
||||
append$1(root, offscreenDiv);
|
||||
const textContent = offscreenDiv.dom.innerText;
|
||||
remove$6(offscreenDiv);
|
||||
return textContent;
|
||||
};
|
||||
const registerEvents = (editor, actions) => {
|
||||
editor.on('BeforeGetContent', e => {
|
||||
const multiCellContext = cells => {
|
||||
e.preventDefault();
|
||||
extractSelected(cells).each(elements => {
|
||||
e.content = e.format === 'text' ? getTextContent(elements) : serializeElements(editor, elements);
|
||||
extractSelected(cells).each(replicaElements => {
|
||||
const content = e.format === 'text' ? getTextContent(editor, replicaElements) : serializeElements(editor, replicaElements);
|
||||
e.content = content;
|
||||
});
|
||||
};
|
||||
if (e.selection === true) {
|
||||
@@ -4023,7 +4063,7 @@
|
||||
return replaceIn(grid, targetCells, comparator, substitution, replace, Optional.none, always);
|
||||
};
|
||||
|
||||
const generate = cases => {
|
||||
const generate$1 = cases => {
|
||||
if (!isArray(cases)) {
|
||||
throw new Error('cases must be an array');
|
||||
}
|
||||
@@ -4086,7 +4126,7 @@
|
||||
});
|
||||
return adt;
|
||||
};
|
||||
const Adt = { generate };
|
||||
const Adt = { generate: generate$1 };
|
||||
|
||||
const adt$6 = Adt.generate([
|
||||
{ none: [] },
|
||||
@@ -4708,9 +4748,9 @@
|
||||
const eraseRows = run(opEraseRows, onCells, noop, prune, Generators.modification);
|
||||
const makeColumnsHeader = run(opMakeColumnsHeader, onUnlockedCells, noop, noop, headerCellGenerator);
|
||||
const unmakeColumnsHeader = run(opUnmakeColumnsHeader, onUnlockedCells, noop, noop, bodyCellGenerator);
|
||||
const makeRowsHeader = run(opMakeRowsHeader, onUnlockedCells, noop, noop, headerCellGenerator);
|
||||
const makeRowsBody = run(opMakeRowsBody, onUnlockedCells, noop, noop, bodyCellGenerator);
|
||||
const makeRowsFooter = run(opMakeRowsFooter, onUnlockedCells, noop, noop, bodyCellGenerator);
|
||||
const makeRowsHeader = run(opMakeRowsHeader, onCells, noop, noop, headerCellGenerator);
|
||||
const makeRowsBody = run(opMakeRowsBody, onCells, noop, noop, bodyCellGenerator);
|
||||
const makeRowsFooter = run(opMakeRowsFooter, onCells, noop, noop, bodyCellGenerator);
|
||||
const makeCellsHeader = run(opMakeCellsHeader, onUnlockedCells, noop, noop, headerCellGenerator);
|
||||
const unmakeCellsHeader = run(opUnmakeCellsHeader, onUnlockedCells, noop, noop, bodyCellGenerator);
|
||||
const mergeCells = run(opMergeCells, onUnlockedMergable, resize, noop, Generators.merging);
|
||||
@@ -6525,7 +6565,7 @@
|
||||
} else if (selection.extend) {
|
||||
try {
|
||||
setLegacyRtlRange(win, selection, start, soffset, finish, foffset);
|
||||
} catch (e) {
|
||||
} catch (_a) {
|
||||
doSetRange(win, finish, foffset, start, soffset);
|
||||
}
|
||||
} else {
|
||||
@@ -7709,7 +7749,7 @@
|
||||
set$2(target, 'data-initial-' + dir, getCssValue(target, dir));
|
||||
add(target, resizeBarDragging);
|
||||
set$1(target, 'opacity', '0.2');
|
||||
resizing.go(wire.parent());
|
||||
resizing.go(wire.dragContainer());
|
||||
};
|
||||
const mousedown = bind(wire.parent(), 'mousedown', event => {
|
||||
if (isRowBar(event.target)) {
|
||||
@@ -7813,11 +7853,23 @@
|
||||
};
|
||||
const TableResize = { create };
|
||||
|
||||
const random = () => window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967295;
|
||||
|
||||
let unique = 0;
|
||||
const generate = prefix => {
|
||||
const date = new Date();
|
||||
const time = date.getTime();
|
||||
const random$1 = Math.floor(random() * 1000000000);
|
||||
unique++;
|
||||
return prefix + '_' + random$1 + unique + String(time);
|
||||
};
|
||||
|
||||
const only = (element, isResizable) => {
|
||||
const parent = isDocument(element) ? documentElement(element) : element;
|
||||
return {
|
||||
parent: constant(parent),
|
||||
view: constant(element),
|
||||
dragContainer: constant(parent),
|
||||
origin: constant(SugarPosition(0, 0)),
|
||||
isResizable
|
||||
};
|
||||
@@ -7827,6 +7879,7 @@
|
||||
return {
|
||||
parent: constant(chrome),
|
||||
view: constant(editable),
|
||||
dragContainer: constant(chrome),
|
||||
origin,
|
||||
isResizable
|
||||
};
|
||||
@@ -7835,31 +7888,58 @@
|
||||
return {
|
||||
parent: constant(chrome),
|
||||
view: constant(editable),
|
||||
dragContainer: constant(chrome),
|
||||
origin: constant(SugarPosition(0, 0)),
|
||||
isResizable
|
||||
};
|
||||
};
|
||||
const scrollable = (editable, chrome, dragContainer, isResizable) => {
|
||||
return {
|
||||
parent: constant(chrome),
|
||||
view: constant(editable),
|
||||
dragContainer: constant(dragContainer),
|
||||
origin: () => absolute(chrome),
|
||||
isResizable
|
||||
};
|
||||
};
|
||||
const ResizeWire = {
|
||||
only,
|
||||
detached,
|
||||
body
|
||||
body,
|
||||
scrollable
|
||||
};
|
||||
|
||||
const createContainer = () => {
|
||||
const createContainer = position => {
|
||||
const id = generate('resizer-container');
|
||||
const container = SugarElement.fromTag('div');
|
||||
set$2(container, 'id', id);
|
||||
setAll(container, {
|
||||
position: 'static',
|
||||
position,
|
||||
height: '0',
|
||||
width: '0',
|
||||
padding: '0',
|
||||
margin: '0',
|
||||
border: '0'
|
||||
});
|
||||
append$1(body$1(), container);
|
||||
return container;
|
||||
};
|
||||
const getInlineResizeWire = (editor, isResizable) => {
|
||||
const isSplitUiMode$1 = isSplitUiMode(editor);
|
||||
const editorBody = SugarElement.fromDom(editor.getBody());
|
||||
const container = createContainer(isSplitUiMode$1 ? 'relative' : 'static');
|
||||
const body = body$1();
|
||||
if (isSplitUiMode$1) {
|
||||
after$5(editorBody, container);
|
||||
return ResizeWire.scrollable(editorBody, container, body, isResizable);
|
||||
}
|
||||
append$1(body, container);
|
||||
return ResizeWire.body(editorBody, container, isResizable);
|
||||
};
|
||||
const get = (editor, isResizable) => {
|
||||
return editor.inline ? ResizeWire.body(SugarElement.fromDom(editor.getBody()), createContainer(), isResizable) : ResizeWire.only(SugarElement.fromDom(editor.getDoc()), isResizable);
|
||||
if (editor.inline) {
|
||||
return getInlineResizeWire(editor, isResizable);
|
||||
}
|
||||
return ResizeWire.only(SugarElement.fromDom(editor.getDoc()), isResizable);
|
||||
};
|
||||
const remove = (editor, wire) => {
|
||||
if (editor.inline) {
|
||||
@@ -7938,7 +8018,9 @@
|
||||
if (hasTableObjectResizing(editor) && hasTableResizeBars(editor)) {
|
||||
const resizing = lazyResizingBehaviour();
|
||||
const sz = TableResize.create(rawWire, resizing, lazySizing);
|
||||
sz.on();
|
||||
if (!editor.mode.isReadOnly()) {
|
||||
sz.on();
|
||||
}
|
||||
sz.events.startDrag.bind(_event => {
|
||||
selectionRng.set(editor.selection.getRng());
|
||||
});
|
||||
@@ -7962,7 +8044,7 @@
|
||||
});
|
||||
editor.on('ObjectResizeStart', e => {
|
||||
const targetElm = e.target;
|
||||
if (isTable(targetElm)) {
|
||||
if (isTable(targetElm) && !editor.mode.isReadOnly()) {
|
||||
const table = SugarElement.fromDom(targetElm);
|
||||
each$2(editor.dom.select('.mce-clonedresizable'), clone => {
|
||||
editor.dom.addClass(clone, 'mce-' + getTableColumnResizingBehaviour(editor) + '-columns');
|
||||
@@ -7993,25 +8075,26 @@
|
||||
fireTableModified(editor, table.dom, styleModified);
|
||||
}
|
||||
});
|
||||
editor.on('SwitchMode', () => {
|
||||
const showResizeBars = () => {
|
||||
tableResize.on(resize => {
|
||||
if (editor.mode.isReadOnly()) {
|
||||
resize.hideBars();
|
||||
} else {
|
||||
resize.showBars();
|
||||
}
|
||||
resize.on();
|
||||
resize.showBars();
|
||||
});
|
||||
};
|
||||
const hideResizeBars = () => {
|
||||
tableResize.on(resize => {
|
||||
resize.off();
|
||||
resize.hideBars();
|
||||
});
|
||||
};
|
||||
editor.on('DisabledStateChange', e => {
|
||||
e.state ? hideResizeBars() : showResizeBars();
|
||||
});
|
||||
editor.on('SwitchMode', () => {
|
||||
editor.mode.isReadOnly() ? hideResizeBars() : showResizeBars();
|
||||
});
|
||||
editor.on('dragstart dragend', e => {
|
||||
tableResize.on(resize => {
|
||||
if (e.type === 'dragstart') {
|
||||
resize.hideBars();
|
||||
resize.off();
|
||||
} else {
|
||||
resize.on();
|
||||
resize.showBars();
|
||||
}
|
||||
});
|
||||
e.type === 'dragstart' ? hideResizeBars() : showResizeBars();
|
||||
});
|
||||
editor.on('remove', () => {
|
||||
destroy();
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -749,7 +749,7 @@
|
||||
const rng = editor.selection.getRng();
|
||||
return isDetails(rng.startContainer) && rng.collapsed && rng.startOffset === 0;
|
||||
};
|
||||
const isInsertAllowed = editor => !isInSummary(editor) && editor.dom.isEditable(editor.selection.getNode());
|
||||
const isInsertAllowed = editor => !isInSummary(editor) && editor.dom.isEditable(editor.selection.getNode()) && !editor.mode.isReadOnly();
|
||||
const getSelectedDetails = editor => Optional.from(editor.dom.getParent(editor.selection.getNode(), isDetails));
|
||||
const isDetailsSelected = editor => getSelectedDetails(editor).isSome();
|
||||
const insertBogus = element => {
|
||||
@@ -829,16 +829,18 @@
|
||||
});
|
||||
};
|
||||
const removeAccordion = editor => {
|
||||
getSelectedDetails(editor).each(details => {
|
||||
const {nextSibling} = details;
|
||||
if (nextSibling) {
|
||||
editor.selection.select(nextSibling, true);
|
||||
editor.selection.collapse(true);
|
||||
} else {
|
||||
insertAndSelectParagraphAfter(editor, details);
|
||||
}
|
||||
details.remove();
|
||||
});
|
||||
if (!editor.mode.isReadOnly()) {
|
||||
getSelectedDetails(editor).each(details => {
|
||||
const {nextSibling} = details;
|
||||
if (nextSibling) {
|
||||
editor.selection.select(nextSibling, true);
|
||||
editor.selection.collapse(true);
|
||||
} else {
|
||||
insertAndSelectParagraphAfter(editor, details);
|
||||
}
|
||||
details.remove();
|
||||
});
|
||||
}
|
||||
};
|
||||
const toggleAllAccordions = (editor, state) => {
|
||||
const accordions = Array.from(editor.getBody().querySelectorAll('details'));
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -39,8 +39,6 @@
|
||||
const isNullable = a => a === null || a === undefined;
|
||||
const isNonNullable = a => !isNullable(a);
|
||||
|
||||
var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
||||
|
||||
class Optional {
|
||||
constructor(tag, value) {
|
||||
this.tag = tag;
|
||||
@@ -134,6 +132,9 @@
|
||||
}
|
||||
Optional.singletonNone = new Optional(false);
|
||||
|
||||
const nativeIndexOf = Array.prototype.indexOf;
|
||||
const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);
|
||||
const contains = (xs, x) => rawIndexOf(xs, x) > -1;
|
||||
const findUntil = (xs, pred, until) => {
|
||||
for (let i = 0, len = xs.length; i < len; i++) {
|
||||
const x = xs[i];
|
||||
@@ -146,6 +147,32 @@
|
||||
return Optional.none();
|
||||
};
|
||||
|
||||
const keys = Object.keys;
|
||||
const each = (obj, f) => {
|
||||
const props = keys(obj);
|
||||
for (let k = 0, len = props.length; k < len; k++) {
|
||||
const i = props[k];
|
||||
const x = obj[i];
|
||||
f(x, i);
|
||||
}
|
||||
};
|
||||
const map = (obj, f) => {
|
||||
return tupleMap(obj, (x, i) => ({
|
||||
k: i,
|
||||
v: f(x, i)
|
||||
}));
|
||||
};
|
||||
const tupleMap = (obj, f) => {
|
||||
const r = {};
|
||||
each(obj, (x, i) => {
|
||||
const tuple = f(x, i);
|
||||
r[tuple.k] = tuple.v;
|
||||
});
|
||||
return r;
|
||||
};
|
||||
|
||||
var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
||||
|
||||
const isCustomList = list => /\btox\-/.test(list.className);
|
||||
const isChildOfBody = (editor, elm) => {
|
||||
return editor.dom.isChildOf(elm, editor.getBody());
|
||||
@@ -162,7 +189,7 @@
|
||||
const isWithinNonEditable = (editor, element) => element !== null && !editor.dom.isEditable(element);
|
||||
const isWithinNonEditableList = (editor, element) => {
|
||||
const parentList = editor.dom.getParent(element, 'ol,ul,dl');
|
||||
return isWithinNonEditable(editor, parentList) && editor.selection.isEditable();
|
||||
return isWithinNonEditable(editor, parentList) || !editor.selection.isEditable();
|
||||
};
|
||||
const setNodeChangeHandler = (editor, nodeChangeHandler) => {
|
||||
const initialNode = editor.selection.getNode();
|
||||
@@ -184,12 +211,19 @@
|
||||
const updateButtonState = (editor, parents) => {
|
||||
const element = editor.selection.getStart(true);
|
||||
api.setActive(inList(editor, parents, nodeName));
|
||||
api.setEnabled(!isWithinNonEditableList(editor, element) && editor.selection.isEditable());
|
||||
api.setEnabled(!isWithinNonEditableList(editor, element));
|
||||
};
|
||||
const nodeChangeHandler = e => updateButtonState(editor, e.parents);
|
||||
return setNodeChangeHandler(editor, nodeChangeHandler);
|
||||
};
|
||||
const addSplitButton = (editor, id, tooltip, cmd, nodeName, styles) => {
|
||||
const listStyleTypeAliases = {
|
||||
'lower-latin': 'lower-alpha',
|
||||
'upper-latin': 'upper-alpha',
|
||||
'lower-alpha': 'lower-latin',
|
||||
'upper-alpha': 'upper-latin'
|
||||
};
|
||||
const stylesContainsAliasMap = map(listStyleTypeAliases, alias => contains(styles, alias));
|
||||
editor.ui.registry.addSplitButton(id, {
|
||||
tooltip,
|
||||
icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',
|
||||
@@ -216,7 +250,7 @@
|
||||
},
|
||||
select: value => {
|
||||
const listStyleType = getSelectedStyleType(editor);
|
||||
return listStyleType.map(listStyle => value === listStyle).getOr(false);
|
||||
return listStyleType.exists(listStyle => value === listStyle || listStyleTypeAliases[listStyle] === value && !stylesContainsAliasMap[value]);
|
||||
},
|
||||
onSetup: makeSetupHandler(editor, nodeName)
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,s)=>{const r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===s?null:{"list-style-type":s})},s=t=>e=>e.options.get(t),r=s("advlist_number_styles"),n=s("advlist_bullet_styles"),i=t=>null==t,l=t=>!i(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(null!=t?t:"Called getOrDie on None")}static from(t){return l(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=>l(e)&&t.test(e.nodeName),d=u(/^(OL|UL|DL)$/),g=u(/^(TH|TD)$/),c=t=>i(t)||"default"===t?"":t,h=(t,e)=>s=>((t,e)=>{const s=t.selection.getNode();return e({parents:t.dom.getParents(s),element:s}),t.on("NodeChange",e),()=>t.off("NodeChange",e)})(t,(r=>((t,r)=>{const n=t.selection.getStart(!0);s.setActive(((t,e,s)=>((t,e,s)=>{for(let e=0,n=t.length;e<n;e++){const n=t[e];if(d(r=n)&&!/\btox\-/.test(r.className))return a.some(n);if(s(n,e))break}var r;return a.none()})(e,0,g).exists((e=>e.nodeName===s&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))))(t,r,e)),s.setEnabled(!((t,e)=>{const s=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&!t.dom.isEditable(e))(t,s)&&t.selection.isEditable()})(t,n)&&t.selection.isEditable())})(t,r.parents))),m=(t,s,r,n,i,l)=>{l.length>1?((t,s,r,n,i,l)=>{t.ui.registry.addSplitButton(s,{tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(o.map(l,(t=>{const e="OL"===i?"num":"bull",s="disc"===t||"decimal"===t?"default":t,r=c(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:r,icon:"list-"+e+"-"+s,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(s,r)=>{e(t,i,r)},select:e=>{const s=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),s=t.dom.getStyle(e,"listStyleType");return a.from(s)})(t);return s.map((t=>e===t)).getOr(!1)},onSetup:h(t,i)})})(t,s,r,n,i,l):((t,s,r,n,i,l)=>{t.ui.registry.addToggleButton(s,{active:!1,tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",onSetup:h(t,i),onAction:()=>t.queryCommandState(n)||""===l?t.execCommand(n):e(t,i,l)})})(t,s,r,n,i,c(l[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=>{m(t,"numlist","Numbered list","InsertOrderedList","OL",r(t)),m(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((s,r)=>{e(t,"UL",r["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((s,r)=>{e(t,"OL",r["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the List Styles plugin.")}))}();
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,s)=>{const r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===s?null:{"list-style-type":s})},s=t=>e=>e.options.get(t),r=s("advlist_number_styles"),n=s("advlist_bullet_styles"),l=t=>null==t,i=t=>!l(t);class o{constructor(t,e){this.tag=t,this.value=e}static some(t){return new o(!0,t)}static none(){return o.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?o.some(t(this.value)):o.none()}bind(t){return this.tag?t(this.value):o.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:o.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(null!=t?t:"Called getOrDie on None")}static from(t){return i(t)?o.some(t):o.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()"}}o.singletonNone=new o(!1);const a=Array.prototype.indexOf,u=Object.keys;var d=tinymce.util.Tools.resolve("tinymce.util.Tools");const c=t=>e=>i(e)&&t.test(e.nodeName),h=c(/^(OL|UL|DL)$/),g=c(/^(TH|TD)$/),p=t=>l(t)||"default"===t?"":t,m=(t,e)=>s=>((t,e)=>{const s=t.selection.getNode();return e({parents:t.dom.getParents(s),element:s}),t.on("NodeChange",e),()=>t.off("NodeChange",e)})(t,(r=>((t,r)=>{const n=t.selection.getStart(!0);s.setActive(((t,e,s)=>((t,e,s)=>{for(let e=0,n=t.length;e<n;e++){const n=t[e];if(h(r=n)&&!/\btox\-/.test(r.className))return o.some(n);if(s(n,e))break}var r;return o.none()})(e,0,g).exists((e=>e.nodeName===s&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))))(t,r,e)),s.setEnabled(!((t,e)=>{const s=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&!t.dom.isEditable(e))(t,s)||!t.selection.isEditable()})(t,n))})(t,r.parents))),v=(t,s,r,n,l,i)=>{const c={"lower-latin":"lower-alpha","upper-latin":"upper-alpha","lower-alpha":"lower-latin","upper-alpha":"upper-latin"},h=(g=t=>{return e=i,s=t,a.call(e,s)>-1;var e,s},((t,e)=>{const s={};return((t,e)=>{const s=u(t);for(let r=0,n=s.length;r<n;r++){const n=s[r];e(t[n],n)}})(t,((t,r)=>{const n=e(t,r);s[n.k]=n.v})),s})(c,((t,e)=>({k:e,v:g(t)}))));var g;t.ui.registry.addSplitButton(s,{tooltip:r,icon:"OL"===l?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(d.map(i,(t=>{const e="OL"===l?"num":"bull",s="disc"===t||"decimal"===t?"default":t,r=p(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:r,icon:"list-"+e+"-"+s,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(s,r)=>{e(t,l,r)},select:e=>{const s=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),s=t.dom.getStyle(e,"listStyleType");return o.from(s)})(t);return s.exists((t=>e===t||c[t]===e&&!h[e]))},onSetup:m(t,l)})},y=(t,s,r,n,l,i)=>{i.length>1?v(t,s,r,n,l,i):((t,s,r,n,l,i)=>{t.ui.registry.addToggleButton(s,{active:!1,tooltip:r,icon:"OL"===l?"ordered-list":"unordered-list",onSetup:m(t,l),onAction:()=>t.queryCommandState(n)||""===i?t.execCommand(n):e(t,l,i)})})(t,s,r,n,l,p(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=>{y(t,"numlist","Numbered list","InsertOrderedList","OL",r(t)),y(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((s,r)=>{e(t,"UL",r["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((s,r)=>{e(t,"OL",r["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the List Styles plugin.")}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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)}},u=e=>t=>{const o=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",o),o(),()=>{e.off("NodeChange",o)}};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=>{const o=e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind,n=u(e)(t);return()=>{o(),n()}}}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:t,onSetup:u(e)})})(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)}))}))}();
|
||||
!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=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)}},u=e=>t=>{const o=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",o),o(),()=>{e.off("NodeChange",o)}};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=>{const o=e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind,n=u(e)(t);return()=>{o(),n()}}}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:t,onSetup:u(e)})})(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 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -110,7 +110,7 @@
|
||||
const voidElements = editor.schema.getVoidElements();
|
||||
const autoLinkPattern = getAutoLinkPattern(editor);
|
||||
const {dom, selection} = editor;
|
||||
if (dom.getParent(selection.getNode(), 'a[href]') !== null) {
|
||||
if (dom.getParent(selection.getNode(), 'a[href]') !== null || editor.mode.isReadOnly()) {
|
||||
return null;
|
||||
}
|
||||
const rng = selection.getRng();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e));const l=(void 0,e=>undefined===e);const i=e=>!(e=>null==e)(e),c=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)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:i,selection:d}=e;if(null!==i.getParent(d.getNode(),"a[href]"))return null;const m=d.getRng(),k=u(i,(e=>{return i.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),c.call(t,n))||"false"===i.getContentEditable(e);var t,n})),{container:p,offset:y}=((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}})(m.endContainer,m.endOffset),w=null!==(o=i.getParent(p,i.isBlock))&&void 0!==o?o:i.getRoot(),h=k.backwards(p,y+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}),w);if(!h)return null;let v=h.container;const _=k.backwards(h.container,h.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),w),A=i.createRng();_?A.setStart(_.container,_.offset):A.setStart(v,0),A.setEnd(h.container,h.offset);const C=A.toString().replace(/\uFEFF/g,"").match(s);if(C){let t=C[0];return $="www.",(b=t).length>=4&&b.substr(0,4)===$?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:A,url:t}}var b,$;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:i}=t,c=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:i};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,i),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(c),e.nodeChanged()},p=e=>{const t=m(e,-1);i(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);i(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)}))}();
|
||||
!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=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)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e);const l=e=>undefined===e;const i=e=>!(e=>null==e)(e),c=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)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:i,selection:d}=e;if(null!==i.getParent(d.getNode(),"a[href]")||e.mode.isReadOnly())return null;const m=d.getRng(),k=u(i,(e=>{return i.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),c.call(t,n))||"false"===i.getContentEditable(e);var t,n})),{container:p,offset:y}=((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}})(m.endContainer,m.endOffset),w=null!==(o=i.getParent(p,i.isBlock))&&void 0!==o?o:i.getRoot(),h=k.backwards(p,y+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}),w);if(!h)return null;let v=h.container;const _=k.backwards(h.container,h.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),w),A=i.createRng();_?A.setStart(_.container,_.offset):A.setStart(v,0),A.setEnd(h.container,h.offset);const C=A.toString().replace(/\uFEFF/g,"").match(s);if(C){let t=C[0];return $="www.",(b=t).length>=4&&b.substr(0,4)===$?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:A,url:t}}var b,$;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:i}=t,c=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:i};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,i),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(c),e.nodeChanged()},p=e=>{const t=m(e,-1);i(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);i(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 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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),n=o("min_height"),s=o("max_height"),i=o("autoresize_overflow_padding"),r=o("autoresize_bottom_margin"),g=(e,t)=>{const o=e.getBody();o&&(o.style.overflowY=t?"":"hidden",t||(o.scrollTop=0))},l=(e,t,o,n)=>{var s;const i=parseInt(null!==(s=e.getStyle(t,o,n))&&void 0!==s?s:"",10);return isNaN(i)?0:i},a=(e,o,r,c)=>{var d;const u=e.dom,h=e.getDoc();if(!h)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void g(e,!0);const m=h.documentElement,f=c?c():i(e),p=null!==(d=n(e))&&void 0!==d?d:e.getElement().offsetHeight;let y=p;const S=l(u,m,"margin-top",!0),v=l(u,m,"margin-bottom",!0);let C=m.offsetHeight+S+v+f;C<0&&(C=0);const H=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;C+H>p&&(y=C+H);const b=s(e);b&&y>b?(y=b,g(e,!0)):g(e,!1);const w=o.get();if(w.set&&(e.dom.setStyles(e.getDoc().documentElement,{"min-height":0}),e.dom.setStyles(e.getBody(),{"min-height":"inherit"})),y!==w.totalHeight&&(C-f!==w.contentHeight||!w.set)){const n=y-w.totalHeight;if(u.setStyle(e.getContainer(),"height",y+"px"),o.set({totalHeight:y,contentHeight:C,set:!0}),(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"===(null==e?void 0:e.type.toLowerCase())){const t=e;return!0===t.selection||!0===t.paste}return!1})(r)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&n<0&&a(e,o,r,c)}};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 o=(e=>{let t={totalHeight:0,contentHeight:0,set:!1};return{get:()=>t,set:e=>{t=e}}})();((e,t)=>{e.addCommand("mceAutoResize",(()=>{a(e,t)}))})(e,o),((e,o)=>{const n=()=>r(e);e.on("init",(s=>{const r=i(e),g=e.dom;g.setStyles(e.getDoc().documentElement,{height:"auto"}),t.browser.isEdge()||t.browser.isIE()?g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r,"min-height":0}):g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r}),a(e,o,s,n)})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(t=>{a(e,o,t,n)}))})(e,o)}}))}();
|
||||
!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),n=o("min_height"),s=o("max_height"),i=o("autoresize_overflow_padding"),r=o("autoresize_bottom_margin"),g=(e,t)=>{const o=e.getBody();o&&(o.style.overflowY=t?"":"hidden",t||(o.scrollTop=0))},l=(e,t,o,n)=>{var s;const i=parseInt(null!==(s=e.getStyle(t,o,n))&&void 0!==s?s:"",10);return isNaN(i)?0:i},a=(e,o,r,c)=>{var d;const u=e.dom,h=e.getDoc();if(!h)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void g(e,!0);const m=h.documentElement,f=c?c():i(e),p=null!==(d=n(e))&&void 0!==d?d:e.getElement().offsetHeight;let y=p;const S=l(u,m,"margin-top",!0),v=l(u,m,"margin-bottom",!0);let C=m.offsetHeight+S+v+f;C<0&&(C=0);const H=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;C+H>p&&(y=C+H);const b=s(e);b&&y>b?(y=b,g(e,!0)):g(e,!1);const w=o.get();if(w.set&&(e.dom.setStyles(e.getDoc().documentElement,{"min-height":0}),e.dom.setStyles(e.getBody(),{"min-height":"inherit"})),y!==w.totalHeight&&(C-f!==w.contentHeight||!w.set)){const n=y-w.totalHeight;if(u.setStyle(e.getContainer(),"height",y+"px"),o.set({totalHeight:y,contentHeight:C,set:!0}),(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"===(null==e?void 0:e.type.toLowerCase())){const t=e;return!0===t.selection||!0===t.paste}return!1})(r)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&n<0&&a(e,o,r,c)}};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 o=(()=>{let e={totalHeight:0,contentHeight:0,set:!1};return{get:()=>e,set:t=>{e=t}}})();((e,t)=>{e.addCommand("mceAutoResize",(()=>{a(e,t)}))})(e,o),((e,o)=>{const n=()=>r(e);e.on("init",(s=>{const r=i(e),g=e.dom;g.setStyles(e.getDoc().documentElement,{height:"auto"}),t.browser.isEdge()||t.browser.isIE()?g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r,"min-height":0}):g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r}),a(e,o,s,n)})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(t=>{a(e,o,t,n)}))})(e,o)}}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -190,8 +190,9 @@
|
||||
};
|
||||
|
||||
const makeSetupHandler = editor => api => {
|
||||
api.setEnabled(hasDraft(editor));
|
||||
const editorEventCallback = () => api.setEnabled(hasDraft(editor));
|
||||
const shouldEnable = () => hasDraft(editor) && !editor.mode.isReadOnly();
|
||||
api.setEnabled(shouldEnable());
|
||||
const editorEventCallback = () => api.setEnabled(shouldEnable());
|
||||
editor.on('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);
|
||||
return () => editor.off('StoreDraft RestoreDraft RemoveDraft', editorEventCallback);
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":e;var r,o,a,s})(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"),l=i("autosave_restore_when_empty"),c=i("autosave_interval"),d=i("autosave_retention"),m=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)},v=(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)}}},f=t=>{var e;const r=parseInt(null!==(e=a.getItem(m(t)+"time"))&&void 0!==e?e:"0",10)||0;return!((new Date).getTime()-r>d(t)&&(p(t,!1),1))},p=(t,e)=>{const r=m(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},g=t=>{const e=m(t);!v(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=>{var e;const r=m(t);f(t)&&(t.setContent(null!==(e=a.getItem(r+"draft"))&&void 0!==e?e:"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var D=tinymce.util.Tools.resolve("tinymce.EditorManager");const h=t=>e=>{e.setEnabled(f(t));const r=()=>e.setEnabled(f(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=c(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",(()=>{l(t)&&t.dom.isEmpty(t.getBody())&&y(t)})),(t=>({hasDraft:()=>f(t),storeDraft:()=>g(t),restoreDraft:()=>y(t),removeDraft:e=>p(t,e),isEmpty:e=>v(t,e)}))(t))))}();
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=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)||(null===(s=o.constructor)||void 0===s?void 0:s.name)===a.name)?"string":e;var r,o,a,s})(t);const r=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"),l=i("autosave_restore_when_empty"),c=i("autosave_interval"),d=i("autosave_retention"),m=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)},v=(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)}}},f=t=>{var e;const r=parseInt(null!==(e=a.getItem(m(t)+"time"))&&void 0!==e?e:"0",10)||0;return!((new Date).getTime()-r>d(t)&&(p(t,!1),1))},p=(t,e)=>{const r=m(t);a.removeItem(r+"draft"),a.removeItem(r+"time"),!1!==e&&(t=>{t.dispatch("RemoveDraft")})(t)},y=t=>{const e=m(t);!v(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))},g=t=>{var e;const r=m(t);f(t)&&(t.setContent(null!==(e=a.getItem(r+"draft"))&&void 0!==e?e:"",{format:"raw"}),(t=>{t.dispatch("RestoreDraft")})(t))};var D=tinymce.util.Tools.resolve("tinymce.EditorManager");const h=t=>e=>{const r=()=>f(t)&&!t.mode.isReadOnly();e.setEnabled(r());const o=()=>e.setEnabled(r());return t.on("StoreDraft RestoreDraft RemoveDraft",o),()=>t.off("StoreDraft RestoreDraft RemoveDraft",o)};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=c(t);o.setEditorInterval(t,(()=>{y(t)}),e)})(t);const e=()=>{(t=>{t.undoManager.transact((()=>{g(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",(()=>{l(t)&&t.dom.isEmpty(t.getBody())&&g(t)})),(t=>({hasDraft:()=>f(t),storeDraft:()=>y(t),restoreDraft:()=>g(t),removeDraft:e=>p(t,e),isEmpty:e=>v(t,e)}))(t))))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===n.name)?"string":e;var o,r,n,i})(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(null!=t?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(11),y=(t,e)=>{t.dom.removeAttribute(e)},p=t=>d(t.dom.host),w=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=(t=>d(t.dom.getRootNode()))(t);return v(o=e)&&n(o.dom.host)?a.some(e):a.none();var o})(d(e)).fold((()=>o.body.contains(e)),(r=w,i=p,t=>r(i(t))));var r,i},b=t=>"rtl"===((t,e)=>{const o=t.dom,r=window.getComputedStyle(o).getPropertyValue(e);return""!==r||w(t)?r:((t,e)=>(t=>void 0!==t.style&&i(t.style.getPropertyValue))(t)?t.style.getPropertyValue(e):"")(o,e)})(t,"direction")?"rtl":"ltr",S=(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),N=("li",t=>g(t)&&"li"===t.dom.nodeName.toLowerCase());const A=(t,e,n)=>{u(e,(e=>{const c=d(e),m=N(c),f=((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})(c,m);var v;(v=f,(t=>a.from(t.dom.parentNode).map(d))(v).filter(g)).each((e=>{if(t.setStyle(f.dom,"direction",null),b(e)===n?y(f,"dir"):((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)})(f,"dir",n),b(f)!==n&&t.setStyle(f.dom,"direction",n),m){const e=S(f,"li[dir],li[style]");u(e,(e=>{y(e,"dir"),t.setStyle(e.dom,"direction",null)}))}}))}))},T=(t,e)=>{t.selection.isEditable()&&(A(t.dom,t.selection.getSelectedBlocks(),e),t.nodeChanged())},C=(t,e)=>o=>{const r=r=>{const n=d(r.element);o.setActive(b(n)===e),o.setEnabled(t.selection.isEditable())};return t.on("NodeChange",r),o.setEnabled(t.selection.isEditable()),()=>t.off("NodeChange",r)};t.add("directionality",(t=>{(t=>{t.addCommand("mceDirectionLTR",(()=>{T(t,"ltr")})),t.addCommand("mceDirectionRTL",(()=>{T(t,"rtl")}))})(t),(t=>{t.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>t.execCommand("mceDirectionLTR"),onSetup:C(t,"ltr")}),t.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>t.execCommand("mceDirectionRTL"),onSetup:C(t,"rtl")})})(t)}))}();
|
||||
!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)||(null===(i=r.constructor)||void 0===i?void 0:i.name)===n.name)?"string":e;var o,r,n,i})(t),r=e("boolean"),n=t=>!(t=>null==t)(t),i=e("function"),s=e("number"),l=()=>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(null!=t?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(11),y=(t,e)=>{t.dom.removeAttribute(e)},p=t=>d(t.dom.host),w=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=(t=>d(t.dom.getRootNode()))(t);return v(o=e)&&n(o.dom.host)?a.some(e):a.none();var o})(d(e)).fold((()=>o.body.contains(e)),(r=w,i=p,t=>r(i(t))));var r,i},b=t=>"rtl"===((t,e)=>{const o=t.dom,r=window.getComputedStyle(o).getPropertyValue(e);return""!==r||w(t)?r:((t,e)=>(t=>void 0!==t.style&&i(t.style.getPropertyValue))(t)?t.style.getPropertyValue(e):"")(o,e)})(t,"direction")?"rtl":"ltr",S=(t,e)=>(t=>((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),N=t=>g(t)&&"li"===t.dom.nodeName.toLowerCase();const A=(t,e,n)=>{u(e,(e=>{const c=d(e),m=N(c),f=((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})(c,m);var v;(v=f,(t=>a.from(t.dom.parentNode).map(d))(v).filter(g)).each((e=>{if(t.setStyle(f.dom,"direction",null),b(e)===n?y(f,"dir"):((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)})(f,"dir",n),b(f)!==n&&t.setStyle(f.dom,"direction",n),m){const e=S(f,"li[dir],li[style]");u(e,(e=>{y(e,"dir"),t.setStyle(e.dom,"direction",null)}))}}))}))},T=(t,e)=>{t.selection.isEditable()&&(A(t.dom,t.selection.getSelectedBlocks(),e),t.nodeChanged())},C=(t,e)=>o=>{const r=r=>{const n=d(r.element);o.setActive(b(n)===e),o.setEnabled(t.selection.isEditable())};return t.on("NodeChange",r),o.setEnabled(t.selection.isEditable()),()=>t.off("NodeChange",r)};t.add("directionality",(t=>{(t=>{t.addCommand("mceDirectionLTR",(()=>{T(t,"ltr")})),t.addCommand("mceDirectionRTL",(()=>{T(t,"rtl")}))})(t),(t=>{t.ui.registry.addToggleButton("ltr",{tooltip:"Left to right",icon:"ltr",onAction:()=>t.execCommand("mceDirectionLTR"),onSetup:C(t,"ltr")}),t.ui.registry.addToggleButton("rtl",{tooltip:"Right to left",icon:"rtl",onAction:()=>t.execCommand("mceDirectionRTL"),onSetup:C(t,"rtl")})})(t)}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -1228,14 +1228,16 @@
|
||||
icon: 'fullscreen',
|
||||
shortcut: 'Meta+Shift+F',
|
||||
onAction,
|
||||
onSetup: makeSetupHandler(editor, fullscreenState)
|
||||
onSetup: makeSetupHandler(editor, fullscreenState),
|
||||
context: 'any'
|
||||
});
|
||||
editor.ui.registry.addToggleButton('fullscreen', {
|
||||
tooltip: 'Fullscreen',
|
||||
icon: 'fullscreen',
|
||||
onAction,
|
||||
onSetup: makeSetupHandler(editor, fullscreenState),
|
||||
shortcut: 'Meta+Shift+F'
|
||||
shortcut: 'Meta+Shift+F',
|
||||
context: 'any'
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -59,13 +59,15 @@
|
||||
editor.ui.registry.addButton('help', {
|
||||
icon: 'help',
|
||||
tooltip: 'Help',
|
||||
onAction: dialogOpener
|
||||
onAction: dialogOpener,
|
||||
context: 'any'
|
||||
});
|
||||
editor.ui.registry.addMenuItem('help', {
|
||||
text: 'Help',
|
||||
icon: 'help',
|
||||
shortcut: 'Alt+0',
|
||||
onAction: dialogOpener
|
||||
onAction: dialogOpener,
|
||||
context: 'any'
|
||||
});
|
||||
};
|
||||
|
||||
@@ -633,6 +635,11 @@
|
||||
name: 'Image Editing',
|
||||
type: 'premium'
|
||||
},
|
||||
{
|
||||
key: 'uploadcare',
|
||||
name: 'Image Optimizer Powered by Uploadcare',
|
||||
type: 'premium'
|
||||
},
|
||||
{
|
||||
key: 'importword',
|
||||
name: 'Import from Word',
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -322,13 +322,12 @@
|
||||
const getImageSize = url => new Promise(callback => {
|
||||
const img = document.createElement('img');
|
||||
const done = dimensions => {
|
||||
img.onload = img.onerror = null;
|
||||
if (img.parentNode) {
|
||||
img.parentNode.removeChild(img);
|
||||
}
|
||||
callback(dimensions);
|
||||
};
|
||||
img.onload = () => {
|
||||
img.addEventListener('load', () => {
|
||||
const width = parseIntAndGetMax(img.width, img.clientWidth);
|
||||
const height = parseIntAndGetMax(img.height, img.clientHeight);
|
||||
const dimensions = {
|
||||
@@ -336,10 +335,10 @@
|
||||
height
|
||||
};
|
||||
done(Promise.resolve(dimensions));
|
||||
};
|
||||
img.onerror = () => {
|
||||
});
|
||||
img.addEventListener('error', () => {
|
||||
done(Promise.reject(`Failed to get image dimensions for: ${ url }`));
|
||||
};
|
||||
});
|
||||
const style = img.style;
|
||||
style.visibility = 'hidden';
|
||||
style.position = 'fixed';
|
||||
@@ -742,6 +741,7 @@
|
||||
write(css => normalizeCss$1(editor, css), data, image);
|
||||
syncSrcAttr(editor, image);
|
||||
if (isFigure(image.parentNode)) {
|
||||
editor.dom.setStyle(image, 'float', '');
|
||||
const figure = image.parentNode;
|
||||
splitTextBlock(editor, figure);
|
||||
editor.selection.select(image.parentNode);
|
||||
@@ -1289,7 +1289,9 @@
|
||||
finalize();
|
||||
}).catch(err => {
|
||||
finalize();
|
||||
helpers.alertErr(err);
|
||||
helpers.alertErr(err, () => {
|
||||
api.focus('fileinput');
|
||||
});
|
||||
});
|
||||
} else {
|
||||
helpers.addToBlobCache(blobInfo);
|
||||
@@ -1370,8 +1372,8 @@
|
||||
const addToBlobCache = editor => blobInfo => {
|
||||
editor.editorUpload.blobCache.add(blobInfo);
|
||||
};
|
||||
const alertErr = editor => message => {
|
||||
editor.windowManager.alert(message);
|
||||
const alertErr = editor => (message, callback) => {
|
||||
editor.windowManager.alert(message, callback);
|
||||
};
|
||||
const normalizeCss = editor => cssText => normalizeCss$1(editor, cssText);
|
||||
const parseStyle = editor => cssText => editor.dom.parseStyle(cssText);
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -175,7 +175,7 @@
|
||||
});
|
||||
try {
|
||||
rules = styleSheet.cssRules || styleSheet.rules;
|
||||
} catch (e) {
|
||||
} catch (_a) {
|
||||
}
|
||||
global.each(rules, cssRule => {
|
||||
if (isCssImportRule(cssRule) && cssRule.styleSheet) {
|
||||
@@ -199,7 +199,7 @@
|
||||
global.each(doc.styleSheets, styleSheet => {
|
||||
append(styleSheet);
|
||||
});
|
||||
} catch (e) {
|
||||
} catch (_a) {
|
||||
}
|
||||
return selectors;
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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)||(null===(n=r.constructor)||void 0===n?void 0:n.name)===o.name)?"string":t;var s,r,o,n})(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"),d=p("importcss_groups"),h=p("importcss_append"),g=p("importcss_file_filter"),_=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),M=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)}))))(d(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=_(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+s,n=i.baseURL+"/skins/content/",c=e.editorManager.suffix;return t===o+"/content"+(e.inline?".inline":"")+`${c}.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&&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(g(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:!h(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),M(e),(e=>({convertSelectorToFormat:t=>S(e,t)}))(e))))}();
|
||||
!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)||(null===(n=r.constructor)||void 0===n?void 0:n.name)===o.name)?"string":t;var s,r,o,n})(t)===e,s=t("string"),r=t("object"),o=t("array"),n=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"),d=p("importcss_groups"),h=p("importcss_append"),g=p("importcss_file_filter"),_=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),M=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)}))))(d(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=_(e);if(s){const r=v(e),o=r?e.documentBaseURI.toAbsolute(r):i.baseURL+"/skins/ui/"+s,n=i.baseURL+"/skins/content/",c=e.editorManager.suffix;return t===o+"/content"+(e.inline?".inline":"")+`${c}.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&&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(g(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:!h(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),M(e),(e=>({convertSelectorToFormat:t=>S(e,t)}))(e))))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -80,7 +80,7 @@
|
||||
editor.selection.collapse(false);
|
||||
};
|
||||
const insertDateTime = (editor, format) => {
|
||||
if (shouldInsertTimeElement(editor)) {
|
||||
if (shouldInsertTimeElement(editor) && editor.selection.isEditable()) {
|
||||
const userTime = getDateTime(editor, format);
|
||||
let computerTime;
|
||||
if (/%[HMSIp]/.test(format)) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),a=t("insertdatetime_dateformat"),n=t("insertdatetime_timeformat"),r=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(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),m="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(m[a.getMonth()]))).replace("%b",""+e.translate(l[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 n;n=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,a,n)=>{const r=e.dom.create("time",{datetime:a},n);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,n,a):e.insertContent('<time datetime="'+n+'">'+a+"</time>")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};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,n)=>{u(e,null!=n?n:a(e))})),e.addCommand("mceInsertTime",((t,a)=>{u(e,null!=a?a:n(e))}))})(e),(e=>{const t=r(e),a=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:n(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)},onSetup:g(e)});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)}))),onSetup:g(e)})})(e)}))}();
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),a=t("insertdatetime_dateformat"),n=t("insertdatetime_timeformat"),r=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(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),m="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(m[a.getMonth()]))).replace("%b",""+e.translate(l[a.getMonth()]))).replace("%A",""+e.translate(o[a.getDay()]))).replace("%a",""+e.translate(i[a.getDay()]))).replace("%%","%"),u=(e,t)=>{if(s(e)&&e.selection.isEditable()){const a=d(e,t);let n;n=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const r=e.dom.getParent(e.selection.getStart(),"time");r?((e,t,a,n)=>{const r=e.dom.create("time",{datetime:a},n);e.dom.replace(r,t),e.selection.select(r,!0),e.selection.collapse(!1)})(e,r,n,a):e.insertContent('<time datetime="'+n+'">'+a+"</time>")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};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,n)=>{u(e,null!=n?n:a(e))})),e.addCommand("mceInsertTime",((t,a)=>{u(e,null!=a?a:n(e))}))})(e),(e=>{const t=r(e),a=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=r(e);return t.length>0?t[0]:n(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)},onSetup:g(e)});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)}))),onSetup:g(e)})})(e)}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -279,6 +279,7 @@
|
||||
processor: 'boolean',
|
||||
default: false
|
||||
});
|
||||
registerOption('link_attributes_postprocess', { processor: 'function' });
|
||||
};
|
||||
const assumeExternalTargets = option('link_assume_external_targets');
|
||||
const hasContextToolbar = option('link_context_toolbar');
|
||||
@@ -291,6 +292,7 @@
|
||||
const shouldShowLinkTitle = option('link_title');
|
||||
const allowUnsafeLinkTarget = option('allow_unsafe_link_target');
|
||||
const useQuickLink = option('link_quicklink');
|
||||
const attributesPostProcess = option('link_attributes_postprocess');
|
||||
|
||||
const keys = Object.keys;
|
||||
const hasOwnProperty = Object.hasOwnProperty;
|
||||
@@ -436,7 +438,10 @@
|
||||
}
|
||||
});
|
||||
editor.dom.setAttribs(anchorElm, linkAttrs);
|
||||
editor.selection.select(anchorElm);
|
||||
const rng = editor.dom.createRng();
|
||||
rng.setStartAfter(anchorElm);
|
||||
rng.setEndAfter(anchorElm);
|
||||
editor.selection.setRng(rng);
|
||||
};
|
||||
const createLink = (editor, selectedElm, text, linkAttrs) => {
|
||||
const dom = editor.dom;
|
||||
@@ -445,6 +450,11 @@
|
||||
} else {
|
||||
text.fold(() => {
|
||||
editor.execCommand('mceInsertLink', false, linkAttrs);
|
||||
const end = editor.selection.getEnd();
|
||||
const rng = dom.createRng();
|
||||
rng.setStartAfter(end);
|
||||
rng.setEndAfter(end);
|
||||
editor.selection.setRng(rng);
|
||||
}, text => {
|
||||
editor.insertContent(dom.createHTML('a', linkAttrs, dom.encode(text)));
|
||||
});
|
||||
@@ -454,6 +464,10 @@
|
||||
const selectedElm = editor.selection.getNode();
|
||||
const anchorElm = getAnchorElement(editor, selectedElm);
|
||||
const linkAttrs = applyLinkOverrides(editor, getLinkAttrs(data));
|
||||
const attributesPostProcess$1 = attributesPostProcess(editor);
|
||||
if (isNonNullable(attributesPostProcess$1)) {
|
||||
attributesPostProcess$1(linkAttrs);
|
||||
}
|
||||
editor.undoManager.transact(() => {
|
||||
if (data.href === attachState.href) {
|
||||
attachState.attach();
|
||||
@@ -751,7 +765,7 @@
|
||||
const parseJson = text => {
|
||||
try {
|
||||
return Optional.some(JSON.parse(text));
|
||||
} catch (err) {
|
||||
} catch (_a) {
|
||||
return Optional.none();
|
||||
}
|
||||
};
|
||||
@@ -1031,6 +1045,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
const removeFromStart = (str, numChars) => {
|
||||
return str.substring(numChars);
|
||||
};
|
||||
|
||||
const checkRange = (str, substr, start) => substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;
|
||||
const removeLeading = (str, prefix) => {
|
||||
return startsWith(str, prefix) ? removeFromStart(str, prefix.length) : str;
|
||||
};
|
||||
const startsWith = (str, prefix) => {
|
||||
return checkRange(str, prefix, 0);
|
||||
};
|
||||
|
||||
var global = tinymce.util.Tools.resolve('tinymce.util.VK');
|
||||
|
||||
const appendClickRemove = (link, evt) => {
|
||||
@@ -1058,7 +1084,7 @@
|
||||
if (a) {
|
||||
const href = getHref(a);
|
||||
if (/^#/.test(href)) {
|
||||
const targetEl = editor.dom.select(href);
|
||||
const targetEl = editor.dom.select(`${ href },[name="${ removeLeading(href, '#') }"]`);
|
||||
if (targetEl.length) {
|
||||
editor.selection.scrollIntoView(targetEl[0], true);
|
||||
}
|
||||
@@ -1205,7 +1231,7 @@
|
||||
};
|
||||
const onSetupLink = buttonApi => {
|
||||
const node = editor.selection.getNode();
|
||||
buttonApi.setEnabled(isInAnchor(editor, node));
|
||||
buttonApi.setEnabled(isInAnchor(editor, node) && editor.selection.isEditable());
|
||||
return noop;
|
||||
};
|
||||
const getLinkText = value => {
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -836,11 +836,11 @@
|
||||
const isWithinNonEditable = (editor, element) => element !== null && !editor.dom.isEditable(element);
|
||||
const selectionIsWithinNonEditableList = editor => {
|
||||
const parentList = getParentList(editor);
|
||||
return isWithinNonEditable(editor, parentList);
|
||||
return isWithinNonEditable(editor, parentList) || !editor.selection.isEditable();
|
||||
};
|
||||
const isWithinNonEditableList = (editor, element) => {
|
||||
const parentList = editor.dom.getParent(element, 'ol,ul,dl');
|
||||
return isWithinNonEditable(editor, parentList);
|
||||
return isWithinNonEditable(editor, parentList) || !editor.selection.isEditable();
|
||||
};
|
||||
const setNodeChangeHandler = (editor, nodeChangeHandler) => {
|
||||
const initialNode = editor.selection.getNode();
|
||||
@@ -1831,7 +1831,14 @@
|
||||
const backspaceDeleteRange = editor => {
|
||||
if (hasListSelection(editor)) {
|
||||
editor.undoManager.transact(() => {
|
||||
let shouldFireInput = true;
|
||||
const inputHandler = () => shouldFireInput = false;
|
||||
editor.on('input', inputHandler);
|
||||
editor.execCommand('Delete');
|
||||
editor.off('input', inputHandler);
|
||||
if (shouldFireInput) {
|
||||
editor.dispatch('input');
|
||||
}
|
||||
normalizeLists(editor.dom, editor.getBody());
|
||||
});
|
||||
return true;
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=n=>e=>typeof e===n,o=e("boolean"),a=e("number"),t=n=>e=>e.options.get(n),i=t("nonbreaking_force_tab"),s=t("nonbreaking_wrap"),r=(n,e)=>{let o="";for(let a=0;a<e;a++)o+=n;return o},c=(n,e)=>{const o=s(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">${r(" ",e)}</span>`:r(" ",e);n.undoManager.transact((()=>n.insertContent(o)))};var l=tinymce.util.Tools.resolve("tinymce.util.VK");const u=n=>e=>{const o=()=>{e.setEnabled(n.selection.isEditable())};return n.on("NodeChange",o),o(),()=>{n.off("NodeChange",o)}};n.add("nonbreaking",(n=>{(n=>{const e=n.options.register;e("nonbreaking_force_tab",{processor:n=>o(n)?{value:n?3:0,valid:!0}:a(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,onSetup:u(n)}),n.ui.registry.addMenuItem("nonbreaking",{icon:"non-breaking",text:"Nonbreaking space",onAction:e,onSetup:u(n)})})(n),(n=>{const e=i(n);e>0&&n.on("keydown",(o=>{if(o.keyCode===l.TAB&&!o.isDefaultPrevented()){if(o.shiftKey)return;o.preventDefault(),o.stopImmediatePropagation(),c(n,e)}}))})(n)}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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),n=t("pagebreak_separator"),o=t("pagebreak_split_block"),r="mce-pagebreak",s=e=>{const t=`<img src="${a.transparentSrc}" class="${r}" data-mce-resize="false" data-mce-placeholder />`;return e?`<p>${t}</p>`:t},c=e=>a=>{const t=()=>{a.setEnabled(e.selection.isEditable())};return e.on("NodeChange",t),t(),()=>{e.off("NodeChange",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(o(e)))}))})(e),(e=>{const a=()=>e.execCommand("mcePageBreak");e.ui.registry.addButton("pagebreak",{icon:"page-break",tooltip:"Page break",onAction:a,onSetup:c(e)}),e.ui.registry.addMenuItem("pagebreak",{text:"Page break",icon:"page-break",onAction:a,onSetup:c(e)})})(e),(e=>{const a=n(e),t=()=>o(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",(n=>{let o,s,c=n.length;for(;c--;)if(o=n[c],s=o.attr("class"),s&&-1!==s.indexOf(r)){const n=o.parent;if(n&&e.schema.getBlockElements()[n.name]&&t()){n.type=3,n.value=a,n.raw=!0,o.remove();continue}o.type=3,o.value=a,o.raw=!0}}))}))})(e),(e=>{e.on("ResolveName",(a=>{"IMG"===a.target.nodeName&&e.dom.hasClass(a.target,r)&&(a.name="pagebreak")}))})(e)}))}();
|
||||
@@ -1,13 +1,509 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
var global$2 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
||||
var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
||||
|
||||
var global$1 = tinymce.util.Tools.resolve('tinymce.Env');
|
||||
const eq = t => a => t === a;
|
||||
const isUndefined = eq(undefined);
|
||||
const isNullable = a => a === null || a === undefined;
|
||||
const isNonNullable = a => !isNullable(a);
|
||||
|
||||
class Optional {
|
||||
constructor(tag, value) {
|
||||
this.tag = tag;
|
||||
this.value = value;
|
||||
}
|
||||
static some(value) {
|
||||
return new Optional(true, value);
|
||||
}
|
||||
static none() {
|
||||
return Optional.singletonNone;
|
||||
}
|
||||
fold(onNone, onSome) {
|
||||
if (this.tag) {
|
||||
return onSome(this.value);
|
||||
} else {
|
||||
return onNone();
|
||||
}
|
||||
}
|
||||
isSome() {
|
||||
return this.tag;
|
||||
}
|
||||
isNone() {
|
||||
return !this.tag;
|
||||
}
|
||||
map(mapper) {
|
||||
if (this.tag) {
|
||||
return Optional.some(mapper(this.value));
|
||||
} else {
|
||||
return Optional.none();
|
||||
}
|
||||
}
|
||||
bind(binder) {
|
||||
if (this.tag) {
|
||||
return binder(this.value);
|
||||
} else {
|
||||
return Optional.none();
|
||||
}
|
||||
}
|
||||
exists(predicate) {
|
||||
return this.tag && predicate(this.value);
|
||||
}
|
||||
forall(predicate) {
|
||||
return !this.tag || predicate(this.value);
|
||||
}
|
||||
filter(predicate) {
|
||||
if (!this.tag || predicate(this.value)) {
|
||||
return this;
|
||||
} else {
|
||||
return Optional.none();
|
||||
}
|
||||
}
|
||||
getOr(replacement) {
|
||||
return this.tag ? this.value : replacement;
|
||||
}
|
||||
or(replacement) {
|
||||
return this.tag ? this : replacement;
|
||||
}
|
||||
getOrThunk(thunk) {
|
||||
return this.tag ? this.value : thunk();
|
||||
}
|
||||
orThunk(thunk) {
|
||||
return this.tag ? this : thunk();
|
||||
}
|
||||
getOrDie(message) {
|
||||
if (!this.tag) {
|
||||
throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
|
||||
} else {
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
static from(value) {
|
||||
return isNonNullable(value) ? Optional.some(value) : Optional.none();
|
||||
}
|
||||
getOrNull() {
|
||||
return this.tag ? this.value : null;
|
||||
}
|
||||
getOrUndefined() {
|
||||
return this.value;
|
||||
}
|
||||
each(worker) {
|
||||
if (this.tag) {
|
||||
worker(this.value);
|
||||
}
|
||||
}
|
||||
toArray() {
|
||||
return this.tag ? [this.value] : [];
|
||||
}
|
||||
toString() {
|
||||
return this.tag ? `some(${ this.value })` : 'none()';
|
||||
}
|
||||
}
|
||||
Optional.singletonNone = new Optional(false);
|
||||
|
||||
const constant = value => {
|
||||
return () => {
|
||||
return value;
|
||||
};
|
||||
};
|
||||
const never = constant(false);
|
||||
|
||||
const findUntil = (xs, pred, until) => {
|
||||
for (let i = 0, len = xs.length; i < len; i++) {
|
||||
const x = xs[i];
|
||||
if (pred(x, i)) {
|
||||
return Optional.some(x);
|
||||
} else if (until(x, i)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return Optional.none();
|
||||
};
|
||||
const find$1 = (xs, pred) => {
|
||||
return findUntil(xs, pred, never);
|
||||
};
|
||||
const findMap = (arr, f) => {
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
const r = f(arr[i], i);
|
||||
if (r.isSome()) {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
return Optional.none();
|
||||
};
|
||||
|
||||
typeof window !== 'undefined' ? window : Function('return this;')();
|
||||
|
||||
const cached = f => {
|
||||
let called = false;
|
||||
let r;
|
||||
return (...args) => {
|
||||
if (!called) {
|
||||
called = true;
|
||||
r = f.apply(null, args);
|
||||
}
|
||||
return r;
|
||||
};
|
||||
};
|
||||
|
||||
const DeviceType = (os, browser, userAgent, mediaMatch) => {
|
||||
const isiPad = os.isiOS() && /ipad/i.test(userAgent) === true;
|
||||
const isiPhone = os.isiOS() && !isiPad;
|
||||
const isMobile = os.isiOS() || os.isAndroid();
|
||||
const isTouch = isMobile || mediaMatch('(pointer:coarse)');
|
||||
const isTablet = isiPad || !isiPhone && isMobile && mediaMatch('(min-device-width:768px)');
|
||||
const isPhone = isiPhone || isMobile && !isTablet;
|
||||
const iOSwebview = browser.isSafari() && os.isiOS() && /safari/i.test(userAgent) === false;
|
||||
const isDesktop = !isPhone && !isTablet && !iOSwebview;
|
||||
return {
|
||||
isiPad: constant(isiPad),
|
||||
isiPhone: constant(isiPhone),
|
||||
isTablet: constant(isTablet),
|
||||
isPhone: constant(isPhone),
|
||||
isTouch: constant(isTouch),
|
||||
isAndroid: os.isAndroid,
|
||||
isiOS: os.isiOS,
|
||||
isWebView: constant(iOSwebview),
|
||||
isDesktop: constant(isDesktop)
|
||||
};
|
||||
};
|
||||
|
||||
const firstMatch = (regexes, s) => {
|
||||
for (let i = 0; i < regexes.length; i++) {
|
||||
const x = regexes[i];
|
||||
if (x.test(s)) {
|
||||
return x;
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
};
|
||||
const find = (regexes, agent) => {
|
||||
const r = firstMatch(regexes, agent);
|
||||
if (!r) {
|
||||
return {
|
||||
major: 0,
|
||||
minor: 0
|
||||
};
|
||||
}
|
||||
const group = i => {
|
||||
return Number(agent.replace(r, '$' + i));
|
||||
};
|
||||
return nu$2(group(1), group(2));
|
||||
};
|
||||
const detect$3 = (versionRegexes, agent) => {
|
||||
const cleanedAgent = String(agent).toLowerCase();
|
||||
if (versionRegexes.length === 0) {
|
||||
return unknown$2();
|
||||
}
|
||||
return find(versionRegexes, cleanedAgent);
|
||||
};
|
||||
const unknown$2 = () => {
|
||||
return nu$2(0, 0);
|
||||
};
|
||||
const nu$2 = (major, minor) => {
|
||||
return {
|
||||
major,
|
||||
minor
|
||||
};
|
||||
};
|
||||
const Version = {
|
||||
nu: nu$2,
|
||||
detect: detect$3,
|
||||
unknown: unknown$2
|
||||
};
|
||||
|
||||
const detectBrowser$1 = (browsers, userAgentData) => {
|
||||
return findMap(userAgentData.brands, uaBrand => {
|
||||
const lcBrand = uaBrand.brand.toLowerCase();
|
||||
return find$1(browsers, browser => {
|
||||
var _a;
|
||||
return lcBrand === ((_a = browser.brand) === null || _a === void 0 ? void 0 : _a.toLowerCase());
|
||||
}).map(info => ({
|
||||
current: info.name,
|
||||
version: Version.nu(parseInt(uaBrand.version, 10), 0)
|
||||
}));
|
||||
});
|
||||
};
|
||||
|
||||
const detect$2 = (candidates, userAgent) => {
|
||||
const agent = String(userAgent).toLowerCase();
|
||||
return find$1(candidates, candidate => {
|
||||
return candidate.search(agent);
|
||||
});
|
||||
};
|
||||
const detectBrowser = (browsers, userAgent) => {
|
||||
return detect$2(browsers, userAgent).map(browser => {
|
||||
const version = Version.detect(browser.versionRegexes, userAgent);
|
||||
return {
|
||||
current: browser.name,
|
||||
version
|
||||
};
|
||||
});
|
||||
};
|
||||
const detectOs = (oses, userAgent) => {
|
||||
return detect$2(oses, userAgent).map(os => {
|
||||
const version = Version.detect(os.versionRegexes, userAgent);
|
||||
return {
|
||||
current: os.name,
|
||||
version
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
const contains = (str, substr, start = 0, end) => {
|
||||
const idx = str.indexOf(substr, start);
|
||||
if (idx !== -1) {
|
||||
return isUndefined(end) ? true : idx + substr.length <= end;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
const normalVersionRegex = /.*?version\/\ ?([0-9]+)\.([0-9]+).*/;
|
||||
const checkContains = target => {
|
||||
return uastring => {
|
||||
return contains(uastring, target);
|
||||
};
|
||||
};
|
||||
const browsers = [
|
||||
{
|
||||
name: 'Edge',
|
||||
versionRegexes: [/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],
|
||||
search: uastring => {
|
||||
return contains(uastring, 'edge/') && contains(uastring, 'chrome') && contains(uastring, 'safari') && contains(uastring, 'applewebkit');
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'Chromium',
|
||||
brand: 'Chromium',
|
||||
versionRegexes: [
|
||||
/.*?chrome\/([0-9]+)\.([0-9]+).*/,
|
||||
normalVersionRegex
|
||||
],
|
||||
search: uastring => {
|
||||
return contains(uastring, 'chrome') && !contains(uastring, 'chromeframe');
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'IE',
|
||||
versionRegexes: [
|
||||
/.*?msie\ ?([0-9]+)\.([0-9]+).*/,
|
||||
/.*?rv:([0-9]+)\.([0-9]+).*/
|
||||
],
|
||||
search: uastring => {
|
||||
return contains(uastring, 'msie') || contains(uastring, 'trident');
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'Opera',
|
||||
versionRegexes: [
|
||||
normalVersionRegex,
|
||||
/.*?opera\/([0-9]+)\.([0-9]+).*/
|
||||
],
|
||||
search: checkContains('opera')
|
||||
},
|
||||
{
|
||||
name: 'Firefox',
|
||||
versionRegexes: [/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],
|
||||
search: checkContains('firefox')
|
||||
},
|
||||
{
|
||||
name: 'Safari',
|
||||
versionRegexes: [
|
||||
normalVersionRegex,
|
||||
/.*?cpu os ([0-9]+)_([0-9]+).*/
|
||||
],
|
||||
search: uastring => {
|
||||
return (contains(uastring, 'safari') || contains(uastring, 'mobile/')) && contains(uastring, 'applewebkit');
|
||||
}
|
||||
}
|
||||
];
|
||||
const oses = [
|
||||
{
|
||||
name: 'Windows',
|
||||
search: checkContains('win'),
|
||||
versionRegexes: [/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]
|
||||
},
|
||||
{
|
||||
name: 'iOS',
|
||||
search: uastring => {
|
||||
return contains(uastring, 'iphone') || contains(uastring, 'ipad');
|
||||
},
|
||||
versionRegexes: [
|
||||
/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,
|
||||
/.*cpu os ([0-9]+)_([0-9]+).*/,
|
||||
/.*cpu iphone os ([0-9]+)_([0-9]+).*/
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Android',
|
||||
search: checkContains('android'),
|
||||
versionRegexes: [/.*?android\ ?([0-9]+)\.([0-9]+).*/]
|
||||
},
|
||||
{
|
||||
name: 'macOS',
|
||||
search: checkContains('mac os x'),
|
||||
versionRegexes: [/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]
|
||||
},
|
||||
{
|
||||
name: 'Linux',
|
||||
search: checkContains('linux'),
|
||||
versionRegexes: []
|
||||
},
|
||||
{
|
||||
name: 'Solaris',
|
||||
search: checkContains('sunos'),
|
||||
versionRegexes: []
|
||||
},
|
||||
{
|
||||
name: 'FreeBSD',
|
||||
search: checkContains('freebsd'),
|
||||
versionRegexes: []
|
||||
},
|
||||
{
|
||||
name: 'ChromeOS',
|
||||
search: checkContains('cros'),
|
||||
versionRegexes: [/.*?chrome\/([0-9]+)\.([0-9]+).*/]
|
||||
}
|
||||
];
|
||||
const PlatformInfo = {
|
||||
browsers: constant(browsers),
|
||||
oses: constant(oses)
|
||||
};
|
||||
|
||||
const edge = 'Edge';
|
||||
const chromium = 'Chromium';
|
||||
const ie = 'IE';
|
||||
const opera = 'Opera';
|
||||
const firefox = 'Firefox';
|
||||
const safari = 'Safari';
|
||||
const unknown$1 = () => {
|
||||
return nu$1({
|
||||
current: undefined,
|
||||
version: Version.unknown()
|
||||
});
|
||||
};
|
||||
const nu$1 = info => {
|
||||
const current = info.current;
|
||||
const version = info.version;
|
||||
const isBrowser = name => () => current === name;
|
||||
return {
|
||||
current,
|
||||
version,
|
||||
isEdge: isBrowser(edge),
|
||||
isChromium: isBrowser(chromium),
|
||||
isIE: isBrowser(ie),
|
||||
isOpera: isBrowser(opera),
|
||||
isFirefox: isBrowser(firefox),
|
||||
isSafari: isBrowser(safari)
|
||||
};
|
||||
};
|
||||
const Browser = {
|
||||
unknown: unknown$1,
|
||||
nu: nu$1,
|
||||
edge: constant(edge),
|
||||
chromium: constant(chromium),
|
||||
ie: constant(ie),
|
||||
opera: constant(opera),
|
||||
firefox: constant(firefox),
|
||||
safari: constant(safari)
|
||||
};
|
||||
|
||||
const windows = 'Windows';
|
||||
const ios = 'iOS';
|
||||
const android = 'Android';
|
||||
const linux = 'Linux';
|
||||
const macos = 'macOS';
|
||||
const solaris = 'Solaris';
|
||||
const freebsd = 'FreeBSD';
|
||||
const chromeos = 'ChromeOS';
|
||||
const unknown = () => {
|
||||
return nu({
|
||||
current: undefined,
|
||||
version: Version.unknown()
|
||||
});
|
||||
};
|
||||
const nu = info => {
|
||||
const current = info.current;
|
||||
const version = info.version;
|
||||
const isOS = name => () => current === name;
|
||||
return {
|
||||
current,
|
||||
version,
|
||||
isWindows: isOS(windows),
|
||||
isiOS: isOS(ios),
|
||||
isAndroid: isOS(android),
|
||||
isMacOS: isOS(macos),
|
||||
isLinux: isOS(linux),
|
||||
isSolaris: isOS(solaris),
|
||||
isFreeBSD: isOS(freebsd),
|
||||
isChromeOS: isOS(chromeos)
|
||||
};
|
||||
};
|
||||
const OperatingSystem = {
|
||||
unknown,
|
||||
nu,
|
||||
windows: constant(windows),
|
||||
ios: constant(ios),
|
||||
android: constant(android),
|
||||
linux: constant(linux),
|
||||
macos: constant(macos),
|
||||
solaris: constant(solaris),
|
||||
freebsd: constant(freebsd),
|
||||
chromeos: constant(chromeos)
|
||||
};
|
||||
|
||||
const detect$1 = (userAgent, userAgentDataOpt, mediaMatch) => {
|
||||
const browsers = PlatformInfo.browsers();
|
||||
const oses = PlatformInfo.oses();
|
||||
const browser = userAgentDataOpt.bind(userAgentData => detectBrowser$1(browsers, userAgentData)).orThunk(() => detectBrowser(browsers, userAgent)).fold(Browser.unknown, Browser.nu);
|
||||
const os = detectOs(oses, userAgent).fold(OperatingSystem.unknown, OperatingSystem.nu);
|
||||
const deviceType = DeviceType(os, browser, userAgent, mediaMatch);
|
||||
return {
|
||||
browser,
|
||||
os,
|
||||
deviceType
|
||||
};
|
||||
};
|
||||
const PlatformDetection = { detect: detect$1 };
|
||||
|
||||
const mediaMatch = query => window.matchMedia(query).matches;
|
||||
let platform = cached(() => PlatformDetection.detect(window.navigator.userAgent, Optional.from(window.navigator.userAgentData), mediaMatch));
|
||||
const detect = () => platform();
|
||||
|
||||
const isMacOS = () => detect().os.isMacOS();
|
||||
const isiOS = () => detect().os.isiOS();
|
||||
|
||||
const getPreventClicksOnLinksScript = () => {
|
||||
const isMacOSOrIOS = isMacOS() || isiOS();
|
||||
const fn = isMacOSOrIOS => {
|
||||
document.addEventListener('click', e => {
|
||||
for (let elm = e.target; elm; elm = elm.parentNode) {
|
||||
if (elm.nodeName === 'A') {
|
||||
const anchor = elm;
|
||||
const href = anchor.getAttribute('href');
|
||||
if (href && href.startsWith('#')) {
|
||||
e.preventDefault();
|
||||
const targetElement = document.getElementById(href.substring(1));
|
||||
if (targetElement) {
|
||||
targetElement.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
return;
|
||||
}
|
||||
const isMetaKeyPressed = isMacOSOrIOS ? e.metaKey : e.ctrlKey && !e.altKey;
|
||||
if (!isMetaKeyPressed) {
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
}
|
||||
}, false);
|
||||
};
|
||||
return `<script>(${ fn.toString() })(${ isMacOSOrIOS })</script>`;
|
||||
};
|
||||
|
||||
var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
||||
|
||||
@@ -22,7 +518,7 @@
|
||||
let headHtml = '';
|
||||
const encode = editor.dom.encode;
|
||||
const contentStyle = (_a = getContentStyle(editor)) !== null && _a !== void 0 ? _a : '';
|
||||
headHtml += '<base href="' + encode(editor.documentBaseURI.getURI()) + '">';
|
||||
headHtml += `<base href="${ encode(editor.documentBaseURI.getURI()) }">`;
|
||||
const cors = shouldUseContentCssCors(editor) ? ' crossorigin="anonymous"' : '';
|
||||
global.each(editor.contentCSS, url => {
|
||||
headHtml += '<link type="text/css" rel="stylesheet" href="' + encode(editor.documentBaseURI.toAbsolute(url)) + '"' + cors + '>';
|
||||
@@ -32,11 +528,9 @@
|
||||
}
|
||||
const bodyId = getBodyId(editor);
|
||||
const bodyClass = getBodyClass(editor);
|
||||
const isMetaKeyPressed = global$1.os.isMacOS() || global$1.os.isiOS() ? 'e.metaKey' : 'e.ctrlKey && !e.altKey';
|
||||
const preventClicksOnLinksScript = '<script>' + 'document.addEventListener && document.addEventListener("click", function(e) {' + 'for (var elm = e.target; elm; elm = elm.parentNode) {' + 'if (elm.nodeName === "A" && !(' + isMetaKeyPressed + ')) {' + 'e.preventDefault();' + '}' + '}' + '}, false);' + '</script> ';
|
||||
const directionality = editor.getBody().dir;
|
||||
const dirAttr = directionality ? ' dir="' + encode(directionality) + '"' : '';
|
||||
const previewHtml = '<!DOCTYPE html>' + '<html>' + '<head>' + headHtml + '</head>' + '<body id="' + encode(bodyId) + '" class="mce-content-body ' + encode(bodyClass) + '"' + dirAttr + '>' + editor.getContent() + preventClicksOnLinksScript + '</body>' + '</html>';
|
||||
const previewHtml = '<!DOCTYPE html>' + '<html>' + '<head>' + headHtml + '</head>' + '<body id="' + encode(bodyId) + '" class="mce-content-body ' + encode(bodyClass) + '"' + dirAttr + '>' + editor.getContent() + getPreventClicksOnLinksScript() + '</body>' + '</html>';
|
||||
return previewHtml;
|
||||
};
|
||||
|
||||
@@ -76,17 +570,19 @@
|
||||
editor.ui.registry.addButton('preview', {
|
||||
icon: 'preview',
|
||||
tooltip: 'Preview',
|
||||
onAction
|
||||
onAction,
|
||||
context: 'any'
|
||||
});
|
||||
editor.ui.registry.addMenuItem('preview', {
|
||||
icon: 'preview',
|
||||
text: 'Preview',
|
||||
onAction
|
||||
onAction,
|
||||
context: 'any'
|
||||
});
|
||||
};
|
||||
|
||||
var Plugin = () => {
|
||||
global$2.add('preview', editor => {
|
||||
global$1.add('preview', editor => {
|
||||
register$1(editor);
|
||||
register(editor);
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -7,78 +7,6 @@
|
||||
|
||||
var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
||||
|
||||
const hasProto = (v, constructor, predicate) => {
|
||||
var _a;
|
||||
if (predicate(v, constructor.prototype)) {
|
||||
return true;
|
||||
} else {
|
||||
return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
|
||||
}
|
||||
};
|
||||
const typeOf = x => {
|
||||
const t = typeof x;
|
||||
if (x === null) {
|
||||
return 'null';
|
||||
} else if (t === 'object' && Array.isArray(x)) {
|
||||
return 'array';
|
||||
} else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
|
||||
return 'string';
|
||||
} else {
|
||||
return t;
|
||||
}
|
||||
};
|
||||
const isType = type => value => typeOf(value) === type;
|
||||
const isSimpleType = type => value => typeof value === type;
|
||||
const isString = isType('string');
|
||||
const isBoolean = isSimpleType('boolean');
|
||||
const isNullable = a => a === null || a === undefined;
|
||||
const isNonNullable = a => !isNullable(a);
|
||||
const isFunction = isSimpleType('function');
|
||||
|
||||
const option = name => editor => editor.options.get(name);
|
||||
const register = editor => {
|
||||
const registerOption = editor.options.register;
|
||||
const toolbarProcessor = defaultValue => value => {
|
||||
const valid = isBoolean(value) || isString(value);
|
||||
if (valid) {
|
||||
if (isBoolean(value)) {
|
||||
return {
|
||||
value: value ? defaultValue : '',
|
||||
valid
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
value: value.trim(),
|
||||
valid
|
||||
};
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
valid: false,
|
||||
message: 'Must be a boolean or string.'
|
||||
};
|
||||
}
|
||||
};
|
||||
const defaultSelectionToolbar = 'bold italic | quicklink h2 h3 blockquote';
|
||||
registerOption('quickbars_selection_toolbar', {
|
||||
processor: toolbarProcessor(defaultSelectionToolbar),
|
||||
default: defaultSelectionToolbar
|
||||
});
|
||||
const defaultInsertToolbar = 'quickimage quicktable';
|
||||
registerOption('quickbars_insert_toolbar', {
|
||||
processor: toolbarProcessor(defaultInsertToolbar),
|
||||
default: defaultInsertToolbar
|
||||
});
|
||||
const defaultImageToolbar = 'alignleft aligncenter alignright';
|
||||
registerOption('quickbars_image_toolbar', {
|
||||
processor: toolbarProcessor(defaultImageToolbar),
|
||||
default: defaultImageToolbar
|
||||
});
|
||||
};
|
||||
const getTextSelectionToolbarItems = option('quickbars_selection_toolbar');
|
||||
const getInsertToolbarItems = option('quickbars_insert_toolbar');
|
||||
const getImageToolbarItems = option('quickbars_image_toolbar');
|
||||
|
||||
const random = () => window.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967295;
|
||||
|
||||
let unique = 0;
|
||||
@@ -155,20 +83,100 @@
|
||||
fileInput.click();
|
||||
});
|
||||
|
||||
const register$1 = editor => {
|
||||
editor.on('PreInit', () => {
|
||||
if (!editor.queryCommandSupported('QuickbarInsertImage')) {
|
||||
editor.addCommand('QuickbarInsertImage', () => {
|
||||
pickFile(editor).then(files => {
|
||||
if (files.length > 0) {
|
||||
const blob = files[0];
|
||||
blobToBase64(blob).then(base64 => {
|
||||
insertBlob(editor, base64, blob);
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const hasProto = (v, constructor, predicate) => {
|
||||
var _a;
|
||||
if (predicate(v, constructor.prototype)) {
|
||||
return true;
|
||||
} else {
|
||||
return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
|
||||
}
|
||||
};
|
||||
const typeOf = x => {
|
||||
const t = typeof x;
|
||||
if (x === null) {
|
||||
return 'null';
|
||||
} else if (t === 'object' && Array.isArray(x)) {
|
||||
return 'array';
|
||||
} else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
|
||||
return 'string';
|
||||
} else {
|
||||
return t;
|
||||
}
|
||||
};
|
||||
const isType = type => value => typeOf(value) === type;
|
||||
const isSimpleType = type => value => typeof value === type;
|
||||
const isString = isType('string');
|
||||
const isBoolean = isSimpleType('boolean');
|
||||
const isNullable = a => a === null || a === undefined;
|
||||
const isNonNullable = a => !isNullable(a);
|
||||
const isFunction = isSimpleType('function');
|
||||
|
||||
const option = name => editor => editor.options.get(name);
|
||||
const register = editor => {
|
||||
const registerOption = editor.options.register;
|
||||
const toolbarProcessor = defaultValue => value => {
|
||||
const valid = isBoolean(value) || isString(value);
|
||||
if (valid) {
|
||||
if (isBoolean(value)) {
|
||||
return {
|
||||
value: value ? defaultValue : '',
|
||||
valid
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
value: value.trim(),
|
||||
valid
|
||||
};
|
||||
}
|
||||
} else {
|
||||
return {
|
||||
valid: false,
|
||||
message: 'Must be a boolean or string.'
|
||||
};
|
||||
}
|
||||
};
|
||||
const defaultSelectionToolbar = 'bold italic | quicklink h2 h3 blockquote';
|
||||
registerOption('quickbars_selection_toolbar', {
|
||||
processor: toolbarProcessor(defaultSelectionToolbar),
|
||||
default: defaultSelectionToolbar
|
||||
});
|
||||
const defaultInsertToolbar = 'quickimage quicktable';
|
||||
registerOption('quickbars_insert_toolbar', {
|
||||
processor: toolbarProcessor(defaultInsertToolbar),
|
||||
default: defaultInsertToolbar
|
||||
});
|
||||
const defaultImageToolbar = 'alignleft aligncenter alignright';
|
||||
registerOption('quickbars_image_toolbar', {
|
||||
processor: toolbarProcessor(defaultImageToolbar),
|
||||
default: defaultImageToolbar
|
||||
});
|
||||
};
|
||||
const getTextSelectionToolbarItems = option('quickbars_selection_toolbar');
|
||||
const getInsertToolbarItems = option('quickbars_insert_toolbar');
|
||||
const getImageToolbarItems = option('quickbars_image_toolbar');
|
||||
|
||||
const setupButtons = editor => {
|
||||
editor.ui.registry.addButton('quickimage', {
|
||||
icon: 'image',
|
||||
tooltip: 'Insert image',
|
||||
onAction: () => {
|
||||
pickFile(editor).then(files => {
|
||||
if (files.length > 0) {
|
||||
const blob = files[0];
|
||||
blobToBase64(blob).then(base64 => {
|
||||
insertBlob(editor, base64, blob);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
onAction: () => editor.execCommand('QuickbarInsertImage')
|
||||
});
|
||||
editor.ui.registry.addButton('quicktable', {
|
||||
icon: 'table',
|
||||
@@ -438,6 +446,7 @@
|
||||
var Plugin = () => {
|
||||
global$1.add('quickbars', editor => {
|
||||
register(editor);
|
||||
register$1(editor);
|
||||
setupButtons(editor);
|
||||
addToEditor$1(editor);
|
||||
addToEditor(editor);
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const o=("function",e=>"function"==typeof e);var n=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),t=tinymce.util.Tools.resolve("tinymce.util.Tools");const a=e=>o=>o.options.get(e),c=a("save_enablewhendirty"),i=a("save_onsavecallback"),s=a("save_oncancelcallback"),r=(e,o)=>{e.notificationManager.open({text:o,type:"error"})},l=e=>o=>{const n=()=>{o.setEnabled(!c(e)||e.isDirty())};return n(),e.on("NodeChange dirty",n),()=>e.off("NodeChange dirty",n)};e.add("save",(e=>{(e=>{const o=e.options.register;o("save_enablewhendirty",{processor:"boolean",default:!0}),o("save_onsavecallback",{processor:"function"}),o("save_oncancelcallback",{processor:"function"})})(e),(e=>{e.ui.registry.addButton("save",{icon:"save",tooltip:"Save",enabled:!1,onAction:()=>e.execCommand("mceSave"),onSetup:l(e),shortcut:"Meta+S"}),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=n.DOM.getParent(e.id,"form");if(c(e)&&!e.isDirty())return;e.save();const a=i(e);if(o(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 n=t.trim(e.startContent),a=s(e);o(a)?a.call(e,e):e.resetContent(n)})(e)}))})(e)}))}();
|
||||
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const o=e=>"function"==typeof e;var t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),n=tinymce.util.Tools.resolve("tinymce.util.Tools");const a=e=>o=>o.options.get(e),c=a("save_enablewhendirty"),i=a("save_onsavecallback"),s=a("save_oncancelcallback"),r=(e,o)=>{e.notificationManager.open({text:o,type:"error"})},l=e=>o=>{const t=()=>{o.setEnabled(!c(e)||e.isDirty())};return t(),e.on("NodeChange dirty",t),()=>e.off("NodeChange dirty",t)};e.add("save",(e=>{(e=>{const o=e.options.register;o("save_enablewhendirty",{processor:"boolean",default:!0}),o("save_onsavecallback",{processor:"function"}),o("save_oncancelcallback",{processor:"function"})})(e),(e=>{e.ui.registry.addButton("save",{icon:"save",tooltip:"Save",enabled:!1,onAction:()=>e.execCommand("mceSave"),onSetup:l(e),shortcut:"Meta+S"}),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 n=t.DOM.getParent(e.id,"form");if(c(e)&&!e.isDirty())return;e.save();const a=i(e);if(o(a))return a.call(e,e),void e.nodeChanged();n?(e.setDirty(!1),n.onsubmit&&!n.onsubmit()||("function"==typeof n.submit?n.submit():r(e,"Error: Form submit field collision.")),e.nodeChanged()):r(e,"Error: No form element found.")})(e)})),e.addCommand("mceCancel",(()=>{(e=>{const t=n.trim(e.startContent),a=s(e);o(a)?a.call(e,e):e.resetContent(t)})(e)}))})(e)}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -73,13 +73,15 @@
|
||||
icon: 'visualblocks',
|
||||
tooltip: 'Show blocks',
|
||||
onAction,
|
||||
onSetup: toggleActiveState(editor, enabledState)
|
||||
onSetup: toggleActiveState(editor, enabledState),
|
||||
context: 'any'
|
||||
});
|
||||
editor.ui.registry.addToggleMenuItem('visualblocks', {
|
||||
text: 'Show blocks',
|
||||
icon: 'visualblocks',
|
||||
onAction,
|
||||
onSetup: toggleActiveState(editor, enabledState)
|
||||
onSetup: toggleActiveState(editor, enabledState),
|
||||
context: 'any'
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
!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)}))}();
|
||||
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const o=(t,o,e)=>{t.dom.toggleClass(t.getBody(),"mce-visualblocks"),e.set(!e.get()),((t,o)=>{t.dispatch("VisualBlocks",{state:o})})(t,e.get())},e=t=>t.options.get("visualblocks_default_state");const s=(t,o)=>e=>{e.setActive(o.get());const s=t=>e.setActive(t.state);return t.on("VisualBlocks",s),()=>t.off("VisualBlocks",s)};t.add("visualblocks",((t,l)=>{(t=>{(0,t.options.register)("visualblocks_default_state",{processor:"boolean",default:!1})})(t);const a=(()=>{let t=!1;return{get:()=>t,set:o=>{t=o}}})();((t,e,s)=>{t.addCommand("mceVisualBlocks",(()=>{o(t,0,s)}))})(t,0,a),((t,o)=>{const e=()=>t.execCommand("mceVisualBlocks");t.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:e,onSetup:s(t,o),context:"any"}),t.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:e,onSetup:s(t,o),context:"any"})})(t,a),((t,s,l)=>{t.on("PreviewFormats AfterPreviewFormats",(o=>{l.get()&&t.dom.toggleClass(t.getBody(),"mce-visualblocks","afterpreviewformats"===o.type)})),t.on("init",(()=>{e(t)&&o(t,0,l)}))})(t,0,a)}))}();
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -533,13 +533,15 @@
|
||||
tooltip: 'Show invisible characters',
|
||||
icon: 'visualchars',
|
||||
onAction,
|
||||
onSetup: toggleActiveState(editor, toggleState)
|
||||
onSetup: toggleActiveState(editor, toggleState),
|
||||
context: 'any'
|
||||
});
|
||||
editor.ui.registry.addToggleMenuItem('visualchars', {
|
||||
text: 'Show invisible characters',
|
||||
icon: 'visualchars',
|
||||
onAction,
|
||||
onSetup: toggleActiveState(editor, toggleState)
|
||||
onSetup: toggleActiveState(editor, toggleState),
|
||||
context: 'any'
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* TinyMCE version 7.3.0 (2024-08-07)
|
||||
* TinyMCE version 7.7.1 (2025-03-05)
|
||||
*/
|
||||
|
||||
(function () {
|
||||
@@ -389,12 +389,14 @@
|
||||
editor.ui.registry.addButton('wordcount', {
|
||||
tooltip: 'Word count',
|
||||
icon: 'character-count',
|
||||
onAction
|
||||
onAction,
|
||||
context: 'any'
|
||||
});
|
||||
editor.ui.registry.addMenuItem('wordcount', {
|
||||
text: 'Word count',
|
||||
icon: 'character-count',
|
||||
onAction
|
||||
onAction,
|
||||
context: 'any'
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,3 +1,11 @@
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||
}
|
||||
@@ -25,23 +33,40 @@
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
outline: 3px solid #1b3b60;
|
||||
}
|
||||
.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
outline: 3px solid #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #1b3b60;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #1b3b60;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] {
|
||||
background-color: #1b3b60;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected]:has(img[data-mce-selected],
|
||||
> audio[data-mce-selected],
|
||||
> video[data-mce-selected],
|
||||
span.mce-preview-object[data-mce-selected]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] span.mce-preview-object:not([data-mce-selected]) {
|
||||
box-shadow: 0 0 0 5px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #fed635;
|
||||
outline: 3px solid #006ce7;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
@@ -84,7 +109,6 @@ pre[class*="language-"] {
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
/* Code blocks */
|
||||
@@ -522,10 +546,6 @@ tiny-math-inline {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #4099ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||
outline: none;
|
||||
}
|
||||
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||
background-color: #4099ff;
|
||||
}
|
||||
@@ -624,6 +644,60 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-item-table[border="0"] caption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.tox-uc-loading-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox-uc-loading-spinner-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tox-uc-loading-spinner {
|
||||
width: min(24px, 30%);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #006ce7;
|
||||
border-bottom-color: transparent;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox-uploadcare-placeholder {
|
||||
all: initial;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
height: 80px;
|
||||
--tox-uploadcare-placeholder--content-cursor: auto !important;
|
||||
--tox-uploadcare-placeholder--content-color: rgba(34, 47, 62, 0.7);
|
||||
--tox-uploadcare-placeholder--content-background-color: #fff;
|
||||
--tox-uploadcare-placeholder--content-border: 2px solid #e3e3e3;
|
||||
--tox-uploadcare-placeholder--content-font-family: monospace, sans-serif;
|
||||
--tox-uploadcare-placeholder--content-height: 100%;
|
||||
--tox-uploadcare-placeholder--content-width: 100%;
|
||||
--tox-uploadcare-placeholder--content-display: inline-flex;
|
||||
--tox-uploadcare-placeholder--content-align-items: center;
|
||||
--tox-uploadcare-placeholder--content-justify-content: center;
|
||||
--tox-uploadcare-placeholder--content-gap: 8px;
|
||||
--tox-uploadcare-placeholder--icon-fill: rgba(34, 47, 62, 0.7);
|
||||
--tox-uc-loading-spinner-wrapper-display-none: none;
|
||||
--tox-uc-loading-spinner-wrapper-display: flex;
|
||||
--tox-uc-loading-spinner-wrapper-position: absolute;
|
||||
--tox-uc-loading-spinner-wrapper-top: 0;
|
||||
--tox-uc-loading-spinner-wrapper-left: 0;
|
||||
--tox-uc-loading-spinner-wrapper-width: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-height: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-justify-content: center;
|
||||
--tox-uc-loading-spinner-wrapper-align-items: center;
|
||||
--tox-uc-loading-spinner-aspect-ratio: 1 / 1;
|
||||
--tox-uc-loading-spinner-width: min(24px, 30%);
|
||||
--tox-uc-loading-spinner-border-radius: 50%;
|
||||
--tox-uc-loading-spinner-border: 3px solid #006ce7;
|
||||
--tox-uc-loading-spinner-border-bottom-color: transparent;
|
||||
--tox-uc-loading-spinner-animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
@@ -761,6 +835,35 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-shy::after {
|
||||
content: '-';
|
||||
}
|
||||
[data-ephox-foam-a11y-violation] {
|
||||
outline: 2px solid;
|
||||
position: relative;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation] {
|
||||
outline-width: 4px;
|
||||
transition: outline-width 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-info] {
|
||||
outline-color: #99c4f5;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-warn] {
|
||||
outline-color: #ffeb99;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-error] {
|
||||
outline-color: #eb9999;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="info"] {
|
||||
outline-color: #99c4f5;
|
||||
background-color: #e6f0fd;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="warning"] {
|
||||
outline-color: #ffeb99;
|
||||
background-color: #fffae6;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="error"] {
|
||||
outline-color: #eb9999;
|
||||
background-color: #fae6e6;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||
}
|
||||
@@ -25,23 +33,40 @@
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
outline: 3px solid #ffe796;
|
||||
}
|
||||
.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe796;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] {
|
||||
background-color: #ffcf30;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected]:has(img[data-mce-selected],
|
||||
> audio[data-mce-selected],
|
||||
> video[data-mce-selected],
|
||||
span.mce-preview-object[data-mce-selected]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] span.mce-preview-object:not([data-mce-selected]) {
|
||||
box-shadow: 0 0 0 5px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
@@ -84,7 +109,6 @@ pre[class*="language-"] {
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
pre[class*="language-"]::selection,
|
||||
@@ -534,10 +558,6 @@ tiny-math-inline {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||
outline: none;
|
||||
}
|
||||
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
@@ -636,6 +656,60 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-item-table[border="0"] caption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.tox-uc-loading-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox-uc-loading-spinner-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tox-uc-loading-spinner {
|
||||
width: min(24px, 30%);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #006ce7;
|
||||
border-bottom-color: transparent;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox-uploadcare-placeholder {
|
||||
all: initial;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
height: 80px;
|
||||
--tox-uploadcare-placeholder--content-cursor: auto !important;
|
||||
--tox-uploadcare-placeholder--content-color: rgba(34, 47, 62, 0.7);
|
||||
--tox-uploadcare-placeholder--content-background-color: #fff;
|
||||
--tox-uploadcare-placeholder--content-border: 2px solid #e3e3e3;
|
||||
--tox-uploadcare-placeholder--content-font-family: monospace, sans-serif;
|
||||
--tox-uploadcare-placeholder--content-height: 100%;
|
||||
--tox-uploadcare-placeholder--content-width: 100%;
|
||||
--tox-uploadcare-placeholder--content-display: inline-flex;
|
||||
--tox-uploadcare-placeholder--content-align-items: center;
|
||||
--tox-uploadcare-placeholder--content-justify-content: center;
|
||||
--tox-uploadcare-placeholder--content-gap: 8px;
|
||||
--tox-uploadcare-placeholder--icon-fill: rgba(34, 47, 62, 0.7);
|
||||
--tox-uc-loading-spinner-wrapper-display-none: none;
|
||||
--tox-uc-loading-spinner-wrapper-display: flex;
|
||||
--tox-uc-loading-spinner-wrapper-position: absolute;
|
||||
--tox-uc-loading-spinner-wrapper-top: 0;
|
||||
--tox-uc-loading-spinner-wrapper-left: 0;
|
||||
--tox-uc-loading-spinner-wrapper-width: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-height: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-justify-content: center;
|
||||
--tox-uc-loading-spinner-wrapper-align-items: center;
|
||||
--tox-uc-loading-spinner-aspect-ratio: 1 / 1;
|
||||
--tox-uc-loading-spinner-width: min(24px, 30%);
|
||||
--tox-uc-loading-spinner-border-radius: 50%;
|
||||
--tox-uc-loading-spinner-border: 3px solid #006ce7;
|
||||
--tox-uc-loading-spinner-border-bottom-color: transparent;
|
||||
--tox-uc-loading-spinner-animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
@@ -773,3 +847,32 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-shy::after {
|
||||
content: '-';
|
||||
}
|
||||
[data-ephox-foam-a11y-violation] {
|
||||
outline: 2px solid;
|
||||
position: relative;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation] {
|
||||
outline-width: 4px;
|
||||
transition: outline-width 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-info] {
|
||||
outline-color: #006ce7;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-warn] {
|
||||
outline-color: #FFCC00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-error] {
|
||||
outline-color: #c00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="info"] {
|
||||
outline-color: #006ce7;
|
||||
background-color: #e6f0fd;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="warning"] {
|
||||
outline-color: #FFCC00;
|
||||
background-color: #fffae6;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="error"] {
|
||||
outline-color: #c00;
|
||||
background-color: #fae6e6;
|
||||
}
|
||||
|
||||
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -97,19 +97,40 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-icon--flip svg {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.tox .accessibility-issue__header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.tox #accessibility-issue__subheader {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .accessbility-sr-only {
|
||||
position: absolute;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(0 0 99.9% 99.9%);
|
||||
overflow: hidden;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.tox .accessibility-issue__description {
|
||||
align-items: stretch;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.tox .accessibility-issue__description > div {
|
||||
padding-bottom: 4px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .accessibility-issue__description > div > div {
|
||||
align-items: center;
|
||||
@@ -119,18 +140,32 @@ button::-moz-focus-inner {
|
||||
.tox .accessibility-issue__description > div > div .tox-icon svg {
|
||||
display: block;
|
||||
}
|
||||
.tox .accessibility-issue__repair {
|
||||
.tox #accessibility-issue__contentID {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.tox #accessibility-issue__contentID span:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tox #accessibility-issue__document {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
.tox .accessibility-issue__repair {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error {
|
||||
color: #eb9999;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
|
||||
background-color: rgba(0, 101, 216, 0.4);
|
||||
background-color: #1f354f;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
color: #99c4f5;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
|
||||
fill: #fff;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #99c4f5;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
|
||||
background-color: #006ce7;
|
||||
@@ -143,18 +178,16 @@ button::-moz-focus-inner {
|
||||
.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);
|
||||
background-color: #383f38;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
color: #ffeb99;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
|
||||
fill: #fff;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #ffeb99;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
|
||||
background-color: #FFE89D;
|
||||
@@ -169,18 +202,16 @@ button::-moz-focus-inner {
|
||||
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);
|
||||
background-color: #332a38;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
color: #eb9999;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
|
||||
fill: #fff;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #eb9999;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
|
||||
background-color: #F2BFBF;
|
||||
@@ -205,12 +236,11 @@ button::-moz-focus-inner {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #fff;
|
||||
}
|
||||
.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 {
|
||||
@@ -220,7 +250,7 @@ button::-moz-focus-inner {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
|
||||
padding: 4px 4px 4px 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
|
||||
margin-right: 4px;
|
||||
@@ -499,6 +529,11 @@ button::-moz-focus-inner {
|
||||
display: block;
|
||||
fill: currentColor;
|
||||
}
|
||||
.tox-context-form__group .tox-button--icon,
|
||||
.tox-context-form__group .tox-button.tox-button--icon {
|
||||
margin: 6px 1px 5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
.tox .tox-button-link {
|
||||
background: 0;
|
||||
border: none;
|
||||
@@ -644,9 +679,6 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-bar .tox-checkbox {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.tox {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__group {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
@@ -706,55 +738,20 @@ button::-moz-focus-inner {
|
||||
border-radius: 3px;
|
||||
padding: 4px;
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--enabled {
|
||||
.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #2b3b4e;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--active {
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #006ce7;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover {
|
||||
background-color: #599fef;
|
||||
color: #fff;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover {
|
||||
border-radius: 3px;
|
||||
outline: solid 1px;
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
border: solid 1px;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active {
|
||||
background-color: #2b3b4e;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:hover {
|
||||
background-color: #2f4055;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus {
|
||||
background-color: #2f4055;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus::after {
|
||||
border-radius: 3px;
|
||||
bottom: 0;
|
||||
box-shadow: 0 0 0 2px #fff ;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus::after {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--grid .tox-collection__item--enabled {
|
||||
.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #599fef;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -779,16 +776,43 @@ button::-moz-focus-inner {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #599fef;
|
||||
color: #fff;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
border: solid 1px;
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
border-radius: 3px;
|
||||
outline: solid 1px;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
color: #fff;
|
||||
background-color: #2b3b4e;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover {
|
||||
background-color: #2f4055;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus {
|
||||
background-color: #2f4055;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after {
|
||||
border-radius: 3px;
|
||||
bottom: 0;
|
||||
box-shadow: 0 0 0 2px #fff ;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover {
|
||||
@@ -1190,21 +1214,76 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-swatches__picker-btn {
|
||||
margin-right: auto;
|
||||
}
|
||||
.tox .tox-comment-thread {
|
||||
background: #2b3b4e;
|
||||
position: relative;
|
||||
.tox {
|
||||
/* Animation for deleting a comment */
|
||||
/* A comment fades to 0 when it is being deleted, then is removed */
|
||||
}
|
||||
.tox .tox-comment-thread > *:not(:first-child) {
|
||||
margin-top: 8px;
|
||||
.tox .tox-conversations {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
/* This is to give the sidebar a consistent width. Need a solution for this */
|
||||
min-width: 300px;
|
||||
max-width: 300px;
|
||||
width: 300px;
|
||||
}
|
||||
.tox .tox-conversations__header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-shadow: 0px 4px 8px 0px rgba(34, 47, 62, 0.1);
|
||||
padding: 8px 12px;
|
||||
background: #222F3E;
|
||||
z-index: 1;
|
||||
}
|
||||
.tox .tox-conversations__title {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
padding: 8px 0 8px 0;
|
||||
color: #fff;
|
||||
line-height: 28px;
|
||||
}
|
||||
.tox .tox-comment {
|
||||
background: #2b3b4e;
|
||||
border: 1px solid #161f29;
|
||||
background: #222F3E;
|
||||
border: 1px solid #222F3E;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1);
|
||||
padding: 8px 8px 16px 8px;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment:hover {
|
||||
box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1);
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected {
|
||||
background-color: #1b3b60;
|
||||
border: 1px solid #006ce7;
|
||||
box-shadow: 0px 4px 8px 0px rgba(34, 47, 62, 0.1);
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected:focus {
|
||||
border: 2px solid #fff;
|
||||
margin: -1px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected:focus:not(:first-child) {
|
||||
margin-top: 7px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single:focus {
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after {
|
||||
top: -9px;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
bottom: -9px;
|
||||
left: -9px;
|
||||
right: -9px;
|
||||
border-radius: 6px;
|
||||
border: 2px solid #fff;
|
||||
}
|
||||
.tox .tox-comment__header {
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
@@ -1218,18 +1297,62 @@ button::-moz-focus-inner {
|
||||
}
|
||||
.tox .tox-comment__body {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
line-height: 1.3;
|
||||
margin-top: 8px;
|
||||
position: relative;
|
||||
text-transform: initial;
|
||||
transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
|
||||
white-space: pre-wrap;
|
||||
/* We remove the transitions when wanting to measure and jump straight to collapsed or expanded */
|
||||
}
|
||||
.tox .tox-comment__body.tox-comment__body--expanded {
|
||||
max-height: 100em;
|
||||
transition: max-height 1s ease-in-out;
|
||||
}
|
||||
.tox .tox-comment__body.tox-comment__body--pending {
|
||||
transition: max-height 0s;
|
||||
}
|
||||
.tox .tox-comment__body p {
|
||||
margin: 0;
|
||||
}
|
||||
.tox .tox-comment__body textarea {
|
||||
resize: none;
|
||||
white-space: normal;
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
.tox .tox-comment__loading-text {
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment__loading-text > div {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .tox-comment__overlaytext {
|
||||
bottom: 0;
|
||||
flex-direction: column;
|
||||
font-size: 14px;
|
||||
left: 0;
|
||||
padding: 1em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.tox .tox-comment__overlaytext p {
|
||||
background-color: #222F3E;
|
||||
box-shadow: 0 0 8px 8px #222F3E;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-comment__overlaytext div:nth-of-type(2) {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.tox .tox-comment__expander {
|
||||
padding-top: 8px;
|
||||
@@ -1238,16 +1361,36 @@ button::-moz-focus-inner {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
/* Need a focus highlight on the show more/less button */
|
||||
}
|
||||
.tox .tox-comment__body p {
|
||||
margin: 0;
|
||||
.tox .tox-comment__expander p:focus {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tox .tox-comment__buttonspacing {
|
||||
padding-top: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-tbtn.tox-comment__mention-btn {
|
||||
display: flex;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
padding: 5px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox .tox-comment-thread {
|
||||
background: #222F3E;
|
||||
position: relative;
|
||||
border-radius: 6px;
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox .tox-comment-thread > *:not(:first-child) {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment-thread__overlay::after {
|
||||
background: #2b3b4e;
|
||||
background: #222F3E;
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: flex;
|
||||
@@ -1273,10 +1416,10 @@ button::-moz-focus-inner {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
margin-top: 16px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__gradient::after {
|
||||
background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e);
|
||||
background: linear-gradient(rgba(34, 47, 62, 0), #222F3E);
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1286,7 +1429,7 @@ button::-moz-focus-inner {
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__overlay {
|
||||
background: #2b3b4e;
|
||||
background: #222F3E;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -1299,39 +1442,9 @@ button::-moz-focus-inner {
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.tox .tox-comment__loading-text {
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment__loading-text > div {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .tox-comment__overlaytext {
|
||||
bottom: 0;
|
||||
flex-direction: column;
|
||||
font-size: 14px;
|
||||
left: 0;
|
||||
padding: 1em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.tox .tox-comment__overlaytext p {
|
||||
background-color: #2b3b4e;
|
||||
box-shadow: 0 0 8px 8px #2b3b4e;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-comment__overlaytext div:nth-of-type(2) {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.tox .tox-comment__busy-spinner {
|
||||
align-items: center;
|
||||
background-color: #2b3b4e;
|
||||
background-color: #222F3E;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -1346,9 +1459,49 @@ button::-moz-focus-inner {
|
||||
flex-direction: column;
|
||||
flex-shrink: 1;
|
||||
overflow: auto;
|
||||
padding: 12px;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
.tox .tox-conversations {
|
||||
margin: 8px;
|
||||
.tox .tox-comment__scroll:has(textarea:focus) {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
.tox .tox-comment--disappearing {
|
||||
transition: opacity 0.5s ease;
|
||||
}
|
||||
.tox .tox-comment[data-transitioning-destination="deleting"] {
|
||||
opacity: 0;
|
||||
}
|
||||
.tox .tox-skeleton .tox-skeleton__line {
|
||||
height: 16px;
|
||||
width: 100%;
|
||||
background: linear-gradient(to right, rgba(240, 240, 240, 0.5) 8%, rgba(240, 240, 240, 0.7) 18%, rgba(240, 240, 240, 0.5) 33%);
|
||||
animation: wave 2s infinite ease-out;
|
||||
}
|
||||
.tox .tox-skeleton .tox-skeleton__circle {
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
margin-right: 8px;
|
||||
border-radius: 100%;
|
||||
background: linear-gradient(to right, rgba(240, 240, 240, 0.5) 8%, rgba(240, 240, 240, 0.7) 18%, rgba(240, 240, 240, 0.5) 33%);
|
||||
animation: wave 2s infinite ease-out;
|
||||
}
|
||||
@keyframes wave {
|
||||
0% {
|
||||
background-position: -268px 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 268px 0;
|
||||
}
|
||||
}
|
||||
.tox .tox-ring-loader {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border: 1px solid #FFF;
|
||||
border-bottom-color: transparent;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-comment__edit {
|
||||
margin-left: 8px;
|
||||
@@ -2060,18 +2213,12 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-color-input span[aria-disabled=true] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input .tox-textfield {
|
||||
padding-left: 36px;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input span {
|
||||
left: 6px;
|
||||
}
|
||||
.tox[dir="rtl"] .tox-color-input {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox[dir="rtl"] .tox-color-input .tox-textfield {
|
||||
padding-right: 36px;
|
||||
}
|
||||
@@ -2188,15 +2335,18 @@ body.tox-dialog__disable-scroll {
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-textfield[disabled],
|
||||
.tox .tox-toolbar-textfield[disabled],
|
||||
.tox .tox-textarea[disabled] {
|
||||
background-color: #222f3e;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tox .tox-textfield:focus,
|
||||
.tox .tox-toolbar-textfield:focus,
|
||||
.tox .tox-listboxfield .tox-listbox--select:focus,
|
||||
.tox .tox-textarea-wrap:focus-within,
|
||||
.tox .tox-textarea:focus,
|
||||
.tox .tox-focusable-wrapper:focus,
|
||||
.tox .tox-custom-editor:focus-within {
|
||||
background-color: #2b3b4e;
|
||||
border-color: #006ce7;
|
||||
@@ -2204,10 +2354,10 @@ body.tox-dialog__disable-scroll {
|
||||
outline: none;
|
||||
}
|
||||
.tox .tox-toolbar-textfield {
|
||||
border-width: 0;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 2px;
|
||||
max-width: 250px;
|
||||
min-height: unset;
|
||||
height: 28px;
|
||||
margin: 5px 0 6px 0;
|
||||
}
|
||||
.tox .tox-naked-btn {
|
||||
background-color: transparent;
|
||||
@@ -2224,6 +2374,9 @@ body.tox-dialog__disable-scroll {
|
||||
display: block;
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-textfield-size {
|
||||
width: 80px;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-toolbar-textfield + * {
|
||||
margin-left: 4px;
|
||||
}
|
||||
@@ -2491,15 +2644,9 @@ body.tox-dialog__disable-scroll {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.tox:not([dir=rtl]) {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) {
|
||||
border-right: 0;
|
||||
}
|
||||
.tox[dir=rtl] {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) {
|
||||
border-right: 0;
|
||||
}
|
||||
@@ -2734,7 +2881,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #442632;
|
||||
border-color: #55212b;
|
||||
color: #fff;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--error p {
|
||||
color: #fff;
|
||||
@@ -2766,7 +2912,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #222F3E;
|
||||
border-color: rgba(255, 255, 255, 0.15);
|
||||
color: #fff0b3;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--warn p,
|
||||
.tox .tox-notification--warning p {
|
||||
@@ -2804,7 +2949,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #254161;
|
||||
border-color: #264972;
|
||||
color: #fff;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--info p {
|
||||
color: #fff;
|
||||
@@ -3025,7 +3169,7 @@ body.tox-dialog__disable-scroll {
|
||||
min-height: 0;
|
||||
}
|
||||
.tox .tox-sidebar {
|
||||
background-color: #222F3E;
|
||||
background-color: #34485f;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
@@ -3102,6 +3246,71 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group {
|
||||
margin-inline-start: 32px;
|
||||
}
|
||||
.tox .tox-toolbar-slider {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input {
|
||||
appearance: none;
|
||||
background: #161f29;
|
||||
border-radius: 16px;
|
||||
width: 130px;
|
||||
height: 2px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track {
|
||||
background-color: transparent;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-moz-range-track {
|
||||
background-color: transparent;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
background-color: #006ce7;
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-moz-range-thumb {
|
||||
appearance: none;
|
||||
background-color: #006ce7;
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb {
|
||||
background-color: #0060ce;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus::-moz-range-thumb {
|
||||
background-color: #0060ce;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb {
|
||||
background-color: #0060ce;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:hover::-moz-range-thumb {
|
||||
background-color: #0060ce;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb {
|
||||
background-color: #0054b4;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:active::-moz-range-thumb {
|
||||
background-color: #0054b4;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-source-code {
|
||||
overflow: auto;
|
||||
}
|
||||
@@ -3172,7 +3381,6 @@ body.tox-dialog__disable-scroll {
|
||||
flex: 1 1 auto;
|
||||
height: 16px;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
}
|
||||
@media only screen and (min-width: 768px ) {
|
||||
.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__help-text,
|
||||
@@ -3254,7 +3462,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__branding a {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
}
|
||||
@@ -3306,6 +3513,9 @@ body.tox-dialog__disable-scroll {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__resize-handle:only-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-statusbar__path > * {
|
||||
margin-right: 4px;
|
||||
}
|
||||
@@ -3451,7 +3661,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tbtn--disabled:hover svg,
|
||||
.tox .tox-tbtn:disabled svg,
|
||||
.tox .tox-tbtn:disabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-tbtn--active,
|
||||
@@ -3474,7 +3683,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tbtn--enabled svg,
|
||||
.tox .tox-tbtn--enabled:hover svg,
|
||||
.tox .tox-tbtn--enabled:focus svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-tbtn--active.tox-tbtn--disabled svg,
|
||||
@@ -3533,6 +3741,12 @@ body.tox-dialog__disable-scroll {
|
||||
margin-bottom: 4px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tox .tox-label--context-toolbar {
|
||||
margin: 6px 1px 5px 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.tox .tox-number-input {
|
||||
background: #2f4055;
|
||||
border-radius: 3px;
|
||||
@@ -3834,9 +4048,9 @@ body.tox-dialog__disable-scroll {
|
||||
.tox.tox-platform-touch .tox-split-button__chevron {
|
||||
width: 20px;
|
||||
}
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color,
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color {
|
||||
opacity: 0.6;
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg .tox-icon-text-color__color,
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.tox .tox-toolbar-overlord {
|
||||
background-color: #222F3E;
|
||||
@@ -3860,8 +4074,8 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar,
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar__primary,
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar__overflow {
|
||||
background-position: center top 0;
|
||||
background-size: calc(100% - 11px * 2) calc(100% - 0);
|
||||
background-position: center top 0px;
|
||||
background-size: calc(100% - 11px * 2) calc(100% - 0px);
|
||||
}
|
||||
.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed {
|
||||
height: 0;
|
||||
@@ -3911,6 +4125,20 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child {
|
||||
background-image: none;
|
||||
}
|
||||
.tox .tox-focusable-wrapper {
|
||||
border: 1px solid transparent;
|
||||
margin-right: 2px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.tox .tox-focusable-wrapper .tox-textfield-size {
|
||||
pointer-events: all;
|
||||
}
|
||||
.tox .tox-focusable-wrapper:focus {
|
||||
background-color: #2f4055;
|
||||
border-radius: 6px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
.tox.tox-tinymce-aux .tox-toolbar__overflow {
|
||||
background-color: #222F3E;
|
||||
background-position: center top 43px;
|
||||
@@ -3926,14 +4154,15 @@ body.tox-dialog__disable-scroll {
|
||||
border: solid;
|
||||
}
|
||||
}
|
||||
.tox-pop .tox-pop__dialog {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox-pop .tox-pop__dialog .tox-toolbar {
|
||||
background-position: center top 43px;
|
||||
background-size: calc(100% - 11px * 2) calc(100% - 51px);
|
||||
padding: 4px 0;
|
||||
}
|
||||
.tox-context-form__group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.tox .tox-toolbar__group {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@@ -4097,7 +4326,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-trbtn--disabled:hover svg,
|
||||
.tox .tox-tree .tox-trbtn:disabled svg,
|
||||
.tox .tox-tree .tox-trbtn:disabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn--enabled,
|
||||
@@ -4113,7 +4341,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn--enabled svg,
|
||||
.tox .tox-tree .tox-trbtn--enabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) {
|
||||
@@ -4145,7 +4372,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-tree--directory {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
}
|
||||
.tox .tox-tree .tox-tree--directory .tox-tree--directory__label {
|
||||
font-weight: bold;
|
||||
@@ -4205,6 +4431,11 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg {
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-tree .tox-icon-custom-state {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.tox .tox-tree .tox-tree--directory__children {
|
||||
overflow: hidden;
|
||||
padding-left: 16px;
|
||||
|
||||
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
@@ -1 +1 @@
|
||||
tinymce.Resource.add('ui/dark/skin.shadowdom.css', `body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}`)
|
||||
tinymce.Resource.add('ui/oxide-dark/skin.shadowdom.css', `body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}`)
|
||||
@@ -1,3 +1,11 @@
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||
}
|
||||
@@ -25,23 +33,40 @@
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
outline: 3px solid #ffe796;
|
||||
}
|
||||
.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe796;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] {
|
||||
background-color: #ffcf30;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected]:has(img[data-mce-selected],
|
||||
> audio[data-mce-selected],
|
||||
> video[data-mce-selected],
|
||||
span.mce-preview-object[data-mce-selected]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] span.mce-preview-object:not([data-mce-selected]) {
|
||||
box-shadow: 0 0 0 5px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
@@ -84,7 +109,6 @@ pre[class*="language-"] {
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
pre[class*="language-"]::selection,
|
||||
@@ -534,10 +558,6 @@ tiny-math-inline {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||
outline: none;
|
||||
}
|
||||
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
@@ -636,6 +656,60 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-item-table[border="0"] caption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.tox-uc-loading-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox-uc-loading-spinner-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tox-uc-loading-spinner {
|
||||
width: min(24px, 30%);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #006ce7;
|
||||
border-bottom-color: transparent;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox-uploadcare-placeholder {
|
||||
all: initial;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
height: 80px;
|
||||
--tox-uploadcare-placeholder--content-cursor: auto !important;
|
||||
--tox-uploadcare-placeholder--content-color: rgba(34, 47, 62, 0.7);
|
||||
--tox-uploadcare-placeholder--content-background-color: #fff;
|
||||
--tox-uploadcare-placeholder--content-border: 2px solid #e3e3e3;
|
||||
--tox-uploadcare-placeholder--content-font-family: monospace, sans-serif;
|
||||
--tox-uploadcare-placeholder--content-height: 100%;
|
||||
--tox-uploadcare-placeholder--content-width: 100%;
|
||||
--tox-uploadcare-placeholder--content-display: inline-flex;
|
||||
--tox-uploadcare-placeholder--content-align-items: center;
|
||||
--tox-uploadcare-placeholder--content-justify-content: center;
|
||||
--tox-uploadcare-placeholder--content-gap: 8px;
|
||||
--tox-uploadcare-placeholder--icon-fill: rgba(34, 47, 62, 0.7);
|
||||
--tox-uc-loading-spinner-wrapper-display-none: none;
|
||||
--tox-uc-loading-spinner-wrapper-display: flex;
|
||||
--tox-uc-loading-spinner-wrapper-position: absolute;
|
||||
--tox-uc-loading-spinner-wrapper-top: 0;
|
||||
--tox-uc-loading-spinner-wrapper-left: 0;
|
||||
--tox-uc-loading-spinner-wrapper-width: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-height: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-justify-content: center;
|
||||
--tox-uc-loading-spinner-wrapper-align-items: center;
|
||||
--tox-uc-loading-spinner-aspect-ratio: 1 / 1;
|
||||
--tox-uc-loading-spinner-width: min(24px, 30%);
|
||||
--tox-uc-loading-spinner-border-radius: 50%;
|
||||
--tox-uc-loading-spinner-border: 3px solid #006ce7;
|
||||
--tox-uc-loading-spinner-border-bottom-color: transparent;
|
||||
--tox-uc-loading-spinner-animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
@@ -773,6 +847,35 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-shy::after {
|
||||
content: '-';
|
||||
}
|
||||
[data-ephox-foam-a11y-violation] {
|
||||
outline: 2px solid;
|
||||
position: relative;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation] {
|
||||
outline-width: 4px;
|
||||
transition: outline-width 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-info] {
|
||||
outline-color: #006ce7;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-warn] {
|
||||
outline-color: #FFCC00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-error] {
|
||||
outline-color: #c00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="info"] {
|
||||
outline-color: #006ce7;
|
||||
background-color: #e6f0fd;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="warning"] {
|
||||
outline-color: #FFCC00;
|
||||
background-color: #fffae6;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="error"] {
|
||||
outline-color: #c00;
|
||||
background-color: #fae6e6;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||
}
|
||||
@@ -25,23 +33,40 @@
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
outline: 3px solid #ffe796;
|
||||
}
|
||||
.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe796;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] {
|
||||
background-color: #ffcf30;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected]:has(img[data-mce-selected],
|
||||
> audio[data-mce-selected],
|
||||
> video[data-mce-selected],
|
||||
span.mce-preview-object[data-mce-selected]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] span.mce-preview-object:not([data-mce-selected]) {
|
||||
box-shadow: 0 0 0 5px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
@@ -84,7 +109,6 @@ pre[class*="language-"] {
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
pre[class*="language-"]::selection,
|
||||
@@ -534,10 +558,6 @@ tiny-math-inline {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||
outline: none;
|
||||
}
|
||||
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
@@ -636,6 +656,60 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-item-table[border="0"] caption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.tox-uc-loading-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox-uc-loading-spinner-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tox-uc-loading-spinner {
|
||||
width: min(24px, 30%);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #006ce7;
|
||||
border-bottom-color: transparent;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox-uploadcare-placeholder {
|
||||
all: initial;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
height: 80px;
|
||||
--tox-uploadcare-placeholder--content-cursor: auto !important;
|
||||
--tox-uploadcare-placeholder--content-color: rgba(34, 47, 62, 0.7);
|
||||
--tox-uploadcare-placeholder--content-background-color: #fff;
|
||||
--tox-uploadcare-placeholder--content-border: 2px solid #e3e3e3;
|
||||
--tox-uploadcare-placeholder--content-font-family: monospace, sans-serif;
|
||||
--tox-uploadcare-placeholder--content-height: 100%;
|
||||
--tox-uploadcare-placeholder--content-width: 100%;
|
||||
--tox-uploadcare-placeholder--content-display: inline-flex;
|
||||
--tox-uploadcare-placeholder--content-align-items: center;
|
||||
--tox-uploadcare-placeholder--content-justify-content: center;
|
||||
--tox-uploadcare-placeholder--content-gap: 8px;
|
||||
--tox-uploadcare-placeholder--icon-fill: rgba(34, 47, 62, 0.7);
|
||||
--tox-uc-loading-spinner-wrapper-display-none: none;
|
||||
--tox-uc-loading-spinner-wrapper-display: flex;
|
||||
--tox-uc-loading-spinner-wrapper-position: absolute;
|
||||
--tox-uc-loading-spinner-wrapper-top: 0;
|
||||
--tox-uc-loading-spinner-wrapper-left: 0;
|
||||
--tox-uc-loading-spinner-wrapper-width: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-height: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-justify-content: center;
|
||||
--tox-uc-loading-spinner-wrapper-align-items: center;
|
||||
--tox-uc-loading-spinner-aspect-ratio: 1 / 1;
|
||||
--tox-uc-loading-spinner-width: min(24px, 30%);
|
||||
--tox-uc-loading-spinner-border-radius: 50%;
|
||||
--tox-uc-loading-spinner-border: 3px solid #006ce7;
|
||||
--tox-uc-loading-spinner-border-bottom-color: transparent;
|
||||
--tox-uc-loading-spinner-animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
@@ -773,3 +847,32 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-shy::after {
|
||||
content: '-';
|
||||
}
|
||||
[data-ephox-foam-a11y-violation] {
|
||||
outline: 2px solid;
|
||||
position: relative;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation] {
|
||||
outline-width: 4px;
|
||||
transition: outline-width 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-info] {
|
||||
outline-color: #006ce7;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-warn] {
|
||||
outline-color: #FFCC00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-error] {
|
||||
outline-color: #c00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="info"] {
|
||||
outline-color: #006ce7;
|
||||
background-color: #e6f0fd;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="warning"] {
|
||||
outline-color: #FFCC00;
|
||||
background-color: #fffae6;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="error"] {
|
||||
outline-color: #c00;
|
||||
background-color: #fae6e6;
|
||||
}
|
||||
|
||||
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -97,19 +97,40 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-icon--flip svg {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.tox .accessibility-issue__header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.tox #accessibility-issue__subheader {
|
||||
font-size: 16px;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .accessbility-sr-only {
|
||||
position: absolute;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(0 0 99.9% 99.9%);
|
||||
overflow: hidden;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.tox .accessibility-issue__description {
|
||||
align-items: stretch;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.tox .accessibility-issue__description > div {
|
||||
padding-bottom: 4px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .accessibility-issue__description > div > div {
|
||||
align-items: center;
|
||||
@@ -119,17 +140,31 @@ button::-moz-focus-inner {
|
||||
.tox .accessibility-issue__description > div > div .tox-icon svg {
|
||||
display: block;
|
||||
}
|
||||
.tox .accessibility-issue__repair {
|
||||
.tox #accessibility-issue__contentID {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.tox #accessibility-issue__contentID span:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tox #accessibility-issue__document {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
.tox .accessibility-issue__repair {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error {
|
||||
color: #c00;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
|
||||
background-color: rgba(0, 101, 216, 0.1);
|
||||
background-color: #e6f0fd;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
|
||||
font-size: 14px;
|
||||
color: #006ce7;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #006ce7;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
|
||||
@@ -143,18 +178,16 @@ button::-moz-focus-inner {
|
||||
.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.08);
|
||||
background-color: #fffae6;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
|
||||
color: #8f5d00;
|
||||
font-size: 14px;
|
||||
color: #7a6e25;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
|
||||
fill: #8f5d00;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #7a6e25;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
|
||||
background-color: #FFE89D;
|
||||
@@ -169,17 +202,15 @@ button::-moz-focus-inner {
|
||||
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);
|
||||
background-color: #fae6e6;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
|
||||
font-size: 14px;
|
||||
color: #c00;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #c00;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
|
||||
@@ -205,12 +236,11 @@ button::-moz-focus-inner {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
|
||||
color: #527530;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #527530;
|
||||
}
|
||||
.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 {
|
||||
@@ -220,7 +250,7 @@ button::-moz-focus-inner {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
|
||||
padding: 4px 4px 4px 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
|
||||
margin-right: 4px;
|
||||
@@ -499,6 +529,11 @@ button::-moz-focus-inner {
|
||||
display: block;
|
||||
fill: currentColor;
|
||||
}
|
||||
.tox-context-form__group .tox-button--icon,
|
||||
.tox-context-form__group .tox-button.tox-button--icon {
|
||||
margin: 6px 1px 5px 0;
|
||||
padding: 0;
|
||||
}
|
||||
.tox .tox-button-link {
|
||||
background: 0;
|
||||
border: none;
|
||||
@@ -644,9 +679,6 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-bar .tox-checkbox {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.tox {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__group {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
@@ -706,55 +738,20 @@ button::-moz-focus-inner {
|
||||
border-radius: 3px;
|
||||
padding: 4px;
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--enabled {
|
||||
.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #fff;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--active {
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #006ce7;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover {
|
||||
background-color: #a6ccf7;
|
||||
color: #222f3e;
|
||||
color: #fff;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover {
|
||||
border-radius: 3px;
|
||||
outline: solid 1px;
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
border: solid 1px;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active {
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:hover {
|
||||
background-color: #f0f0f0;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus {
|
||||
background-color: #f0f0f0;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus::after {
|
||||
border-radius: 3px;
|
||||
bottom: 0;
|
||||
box-shadow: 0 0 0 2px #006ce7 ;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus::after {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--grid .tox-collection__item--enabled {
|
||||
.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #a6ccf7;
|
||||
color: #222f3e;
|
||||
}
|
||||
@@ -779,16 +776,43 @@ button::-moz-focus-inner {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
color: #fff;
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #a6ccf7;
|
||||
color: #222f3e;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
border: solid 1px;
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
border-radius: 3px;
|
||||
outline: solid 1px;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
color: #222f3e;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover {
|
||||
background-color: #f0f0f0;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus {
|
||||
background-color: #f0f0f0;
|
||||
color: #222f3e;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after {
|
||||
border-radius: 3px;
|
||||
bottom: 0;
|
||||
box-shadow: 0 0 0 2px #006ce7 ;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover {
|
||||
@@ -1190,21 +1214,76 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-swatches__picker-btn {
|
||||
margin-right: auto;
|
||||
}
|
||||
.tox .tox-comment-thread {
|
||||
background: #fff;
|
||||
position: relative;
|
||||
.tox {
|
||||
/* Animation for deleting a comment */
|
||||
/* A comment fades to 0 when it is being deleted, then is removed */
|
||||
}
|
||||
.tox .tox-comment-thread > *:not(:first-child) {
|
||||
margin-top: 8px;
|
||||
.tox .tox-conversations {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
/* This is to give the sidebar a consistent width. Need a solution for this */
|
||||
min-width: 300px;
|
||||
max-width: 300px;
|
||||
width: 300px;
|
||||
}
|
||||
.tox .tox-conversations__header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-shadow: 0px 4px 8px 0px rgba(34, 47, 62, 0.1);
|
||||
padding: 8px 12px;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
}
|
||||
.tox .tox-conversations__title {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
padding: 8px 0 8px 0;
|
||||
color: #222f3e;
|
||||
line-height: 28px;
|
||||
}
|
||||
.tox .tox-comment {
|
||||
background: #fff;
|
||||
border: 1px solid #eeeeee;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1);
|
||||
padding: 8px 8px 16px 8px;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment:hover {
|
||||
box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1);
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected {
|
||||
background-color: #fff2c9;
|
||||
border: 1px solid #ffcf30;
|
||||
box-shadow: 0px 4px 8px 0px rgba(34, 47, 62, 0.1);
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected:focus {
|
||||
border: 2px solid #006ce7;
|
||||
margin: -1px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected:focus:not(:first-child) {
|
||||
margin-top: 7px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single:focus {
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after {
|
||||
top: -9px;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
bottom: -9px;
|
||||
left: -9px;
|
||||
right: -9px;
|
||||
border-radius: 6px;
|
||||
border: 2px solid #006ce7;
|
||||
}
|
||||
.tox .tox-comment__header {
|
||||
align-items: center;
|
||||
color: #222f3e;
|
||||
@@ -1218,86 +1297,32 @@ button::-moz-focus-inner {
|
||||
}
|
||||
.tox .tox-comment__body {
|
||||
color: #222f3e;
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
line-height: 1.3;
|
||||
margin-top: 8px;
|
||||
position: relative;
|
||||
text-transform: initial;
|
||||
transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
|
||||
white-space: pre-wrap;
|
||||
/* We remove the transitions when wanting to measure and jump straight to collapsed or expanded */
|
||||
}
|
||||
.tox .tox-comment__body.tox-comment__body--expanded {
|
||||
max-height: 100em;
|
||||
transition: max-height 1s ease-in-out;
|
||||
}
|
||||
.tox .tox-comment__body.tox-comment__body--pending {
|
||||
transition: max-height 0s;
|
||||
}
|
||||
.tox .tox-comment__body p {
|
||||
margin: 0;
|
||||
}
|
||||
.tox .tox-comment__body textarea {
|
||||
resize: none;
|
||||
white-space: normal;
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__expander {
|
||||
padding-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__expander p {
|
||||
color: rgba(34, 47, 62, 0.7);
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
}
|
||||
.tox .tox-comment__body p {
|
||||
margin: 0;
|
||||
}
|
||||
.tox .tox-comment__buttonspacing {
|
||||
padding-top: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-comment-thread__overlay::after {
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: flex;
|
||||
left: 0;
|
||||
opacity: 0.9;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.tox .tox-comment__reply {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__reply > *:first-child {
|
||||
margin-bottom: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__edit {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
margin-top: 16px;
|
||||
}
|
||||
.tox .tox-comment__gradient::after {
|
||||
background: linear-gradient(rgba(255, 255, 255, 0), #fff);
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 5em;
|
||||
margin-top: -40px;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__overlay {
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
left: 0;
|
||||
opacity: 0.9;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
font-size: 16px;
|
||||
}
|
||||
.tox .tox-comment__loading-text {
|
||||
align-items: center;
|
||||
@@ -1329,6 +1354,94 @@ button::-moz-focus-inner {
|
||||
.tox .tox-comment__overlaytext div:nth-of-type(2) {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.tox .tox-comment__expander {
|
||||
padding-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__expander p {
|
||||
color: rgba(34, 47, 62, 0.7);
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
/* Need a focus highlight on the show more/less button */
|
||||
}
|
||||
.tox .tox-comment__expander p:focus {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tox .tox-comment__buttonspacing {
|
||||
padding-top: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-tbtn.tox-comment__mention-btn {
|
||||
display: flex;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
padding: 5px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox .tox-comment-thread {
|
||||
background: #fff;
|
||||
position: relative;
|
||||
border-radius: 6px;
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox .tox-comment-thread > *:not(:first-child) {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment-thread__overlay::after {
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: flex;
|
||||
left: 0;
|
||||
opacity: 0.9;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.tox .tox-comment__reply {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__reply > *:first-child {
|
||||
margin-bottom: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__edit {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__gradient::after {
|
||||
background: linear-gradient(rgba(255, 255, 255, 0), #fff);
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: block;
|
||||
height: 5em;
|
||||
margin-top: -40px;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__overlay {
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
left: 0;
|
||||
opacity: 0.9;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.tox .tox-comment__busy-spinner {
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
@@ -1346,9 +1459,49 @@ button::-moz-focus-inner {
|
||||
flex-direction: column;
|
||||
flex-shrink: 1;
|
||||
overflow: auto;
|
||||
padding: 12px;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
.tox .tox-conversations {
|
||||
margin: 8px;
|
||||
.tox .tox-comment__scroll:has(textarea:focus) {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
.tox .tox-comment--disappearing {
|
||||
transition: opacity 0.5s ease;
|
||||
}
|
||||
.tox .tox-comment[data-transitioning-destination="deleting"] {
|
||||
opacity: 0;
|
||||
}
|
||||
.tox .tox-skeleton .tox-skeleton__line {
|
||||
height: 16px;
|
||||
width: 100%;
|
||||
background: linear-gradient(to right, rgba(240, 240, 240, 0.5) 8%, rgba(240, 240, 240, 0.7) 18%, rgba(240, 240, 240, 0.5) 33%);
|
||||
animation: wave 2s infinite ease-out;
|
||||
}
|
||||
.tox .tox-skeleton .tox-skeleton__circle {
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
margin-right: 8px;
|
||||
border-radius: 100%;
|
||||
background: linear-gradient(to right, rgba(240, 240, 240, 0.5) 8%, rgba(240, 240, 240, 0.7) 18%, rgba(240, 240, 240, 0.5) 33%);
|
||||
animation: wave 2s infinite ease-out;
|
||||
}
|
||||
@keyframes wave {
|
||||
0% {
|
||||
background-position: -268px 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 268px 0;
|
||||
}
|
||||
}
|
||||
.tox .tox-ring-loader {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border: 1px solid #FFF;
|
||||
border-bottom-color: transparent;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-comment__edit {
|
||||
margin-left: 8px;
|
||||
@@ -1547,8 +1700,8 @@ button::-moz-focus-inner {
|
||||
background-color: rgba(0, 108, 231, 0.1);
|
||||
}
|
||||
.tox .tox-dialog__body-nav-item--active {
|
||||
border-bottom: 2px solid #006ce7;
|
||||
color: #006ce7;
|
||||
border-bottom: 2px solid #144782;
|
||||
color: #144782;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-dialog__body-nav-item--active {
|
||||
@@ -1581,24 +1734,24 @@ button::-moz-focus-inner {
|
||||
margin-top: 0;
|
||||
}
|
||||
.tox .tox-dialog__body-content a {
|
||||
color: #006ce7;
|
||||
color: #144782;
|
||||
cursor: pointer;
|
||||
-webkit-text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.tox .tox-dialog__body-content a:hover,
|
||||
.tox .tox-dialog__body-content a:focus {
|
||||
color: #003c81;
|
||||
color: #071729;
|
||||
-webkit-text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.tox .tox-dialog__body-content a:focus-visible {
|
||||
border-radius: 1px;
|
||||
outline: 2px solid #006ce7;
|
||||
outline: 2px solid #144782;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.tox .tox-dialog__body-content a:active {
|
||||
color: #00244e;
|
||||
color: #000000;
|
||||
-webkit-text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -2060,18 +2213,12 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-color-input span[aria-disabled=true] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input .tox-textfield {
|
||||
padding-left: 36px;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input span {
|
||||
left: 6px;
|
||||
}
|
||||
.tox[dir="rtl"] .tox-color-input {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox[dir="rtl"] .tox-color-input .tox-textfield {
|
||||
padding-right: 36px;
|
||||
}
|
||||
@@ -2188,15 +2335,18 @@ body.tox-dialog__disable-scroll {
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-textfield[disabled],
|
||||
.tox .tox-toolbar-textfield[disabled],
|
||||
.tox .tox-textarea[disabled] {
|
||||
background-color: #f2f2f2;
|
||||
color: rgba(34, 47, 62, 0.85);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tox .tox-textfield:focus,
|
||||
.tox .tox-toolbar-textfield:focus,
|
||||
.tox .tox-listboxfield .tox-listbox--select:focus,
|
||||
.tox .tox-textarea-wrap:focus-within,
|
||||
.tox .tox-textarea:focus,
|
||||
.tox .tox-focusable-wrapper:focus,
|
||||
.tox .tox-custom-editor:focus-within {
|
||||
background-color: #fff;
|
||||
border-color: #006ce7;
|
||||
@@ -2204,10 +2354,10 @@ body.tox-dialog__disable-scroll {
|
||||
outline: none;
|
||||
}
|
||||
.tox .tox-toolbar-textfield {
|
||||
border-width: 0;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 2px;
|
||||
max-width: 250px;
|
||||
min-height: unset;
|
||||
height: 28px;
|
||||
margin: 5px 0 6px 0;
|
||||
}
|
||||
.tox .tox-naked-btn {
|
||||
background-color: transparent;
|
||||
@@ -2224,6 +2374,9 @@ body.tox-dialog__disable-scroll {
|
||||
display: block;
|
||||
fill: #222f3e;
|
||||
}
|
||||
.tox .tox-textfield-size {
|
||||
width: 80px;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-toolbar-textfield + * {
|
||||
margin-left: 4px;
|
||||
}
|
||||
@@ -2491,15 +2644,9 @@ body.tox-dialog__disable-scroll {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.tox:not([dir=rtl]) {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) {
|
||||
border-right: 0;
|
||||
}
|
||||
.tox[dir=rtl] {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) {
|
||||
border-right: 0;
|
||||
}
|
||||
@@ -2734,7 +2881,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #f5cccc;
|
||||
border-color: #f0b3b3;
|
||||
color: #222f3e;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--error p {
|
||||
color: #222f3e;
|
||||
@@ -2766,7 +2912,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #fff5cc;
|
||||
border-color: #fff0b3;
|
||||
color: #222f3e;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--warn p,
|
||||
.tox .tox-notification--warning p {
|
||||
@@ -2804,7 +2949,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #d6e7fb;
|
||||
border-color: #c1dbf9;
|
||||
color: #222f3e;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--info p {
|
||||
color: #222f3e;
|
||||
@@ -3025,7 +3169,7 @@ body.tox-dialog__disable-scroll {
|
||||
min-height: 0;
|
||||
}
|
||||
.tox .tox-sidebar {
|
||||
background-color: #fff;
|
||||
background-color: #f0f0f0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
@@ -3102,6 +3246,71 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group {
|
||||
margin-inline-start: 32px;
|
||||
}
|
||||
.tox .tox-toolbar-slider {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input {
|
||||
appearance: none;
|
||||
background: #eeeeee;
|
||||
border-radius: 16px;
|
||||
width: 130px;
|
||||
height: 2px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track {
|
||||
background-color: transparent;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-moz-range-track {
|
||||
background-color: transparent;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
background-color: #006ce7;
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-moz-range-thumb {
|
||||
appearance: none;
|
||||
background-color: #006ce7;
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb {
|
||||
background-color: #0060ce;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus::-moz-range-thumb {
|
||||
background-color: #0060ce;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb {
|
||||
background-color: #0060ce;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:hover::-moz-range-thumb {
|
||||
background-color: #0060ce;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb {
|
||||
background-color: #0054b4;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:active::-moz-range-thumb {
|
||||
background-color: #0054b4;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-source-code {
|
||||
overflow: auto;
|
||||
}
|
||||
@@ -3172,7 +3381,6 @@ body.tox-dialog__disable-scroll {
|
||||
flex: 1 1 auto;
|
||||
height: 16px;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
}
|
||||
@media only screen and (min-width: 768px ) {
|
||||
.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__help-text,
|
||||
@@ -3254,7 +3462,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__branding a {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
}
|
||||
@@ -3306,6 +3513,9 @@ body.tox-dialog__disable-scroll {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__resize-handle:only-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-statusbar__path > * {
|
||||
margin-right: 4px;
|
||||
}
|
||||
@@ -3451,7 +3661,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tbtn--disabled:hover svg,
|
||||
.tox .tox-tbtn:disabled svg,
|
||||
.tox .tox-tbtn:disabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: rgba(34, 47, 62, 0.5);
|
||||
}
|
||||
.tox .tox-tbtn--active,
|
||||
@@ -3474,7 +3683,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tbtn--enabled svg,
|
||||
.tox .tox-tbtn--enabled:hover svg,
|
||||
.tox .tox-tbtn--enabled:focus svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: #222f3e;
|
||||
}
|
||||
.tox .tox-tbtn--active.tox-tbtn--disabled svg,
|
||||
@@ -3533,6 +3741,12 @@ body.tox-dialog__disable-scroll {
|
||||
margin-bottom: 4px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tox .tox-label--context-toolbar {
|
||||
margin: 6px 1px 5px 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.tox .tox-number-input {
|
||||
background: #f7f7f7;
|
||||
border-radius: 3px;
|
||||
@@ -3834,9 +4048,9 @@ body.tox-dialog__disable-scroll {
|
||||
.tox.tox-platform-touch .tox-split-button__chevron {
|
||||
width: 20px;
|
||||
}
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color,
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color {
|
||||
opacity: 0.6;
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg .tox-icon-text-color__color,
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.tox .tox-toolbar-overlord {
|
||||
background-color: #fff;
|
||||
@@ -3860,8 +4074,8 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar,
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar__primary,
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar__overflow {
|
||||
background-position: center top 0;
|
||||
background-size: calc(100% - 11px * 2) calc(100% - 0);
|
||||
background-position: center top 0px;
|
||||
background-size: calc(100% - 11px * 2) calc(100% - 0px);
|
||||
}
|
||||
.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed {
|
||||
height: 0;
|
||||
@@ -3911,6 +4125,20 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child {
|
||||
background-image: none;
|
||||
}
|
||||
.tox .tox-focusable-wrapper {
|
||||
border: 1px solid transparent;
|
||||
margin-right: 2px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.tox .tox-focusable-wrapper .tox-textfield-size {
|
||||
pointer-events: all;
|
||||
}
|
||||
.tox .tox-focusable-wrapper:focus {
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 6px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
.tox.tox-tinymce-aux .tox-toolbar__overflow {
|
||||
background-color: #fff;
|
||||
background-position: center top 43px;
|
||||
@@ -3926,14 +4154,15 @@ body.tox-dialog__disable-scroll {
|
||||
border: solid;
|
||||
}
|
||||
}
|
||||
.tox-pop .tox-pop__dialog {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox-pop .tox-pop__dialog .tox-toolbar {
|
||||
background-position: center top 43px;
|
||||
background-size: calc(100% - 11px * 2) calc(100% - 51px);
|
||||
padding: 4px 0;
|
||||
}
|
||||
.tox-context-form__group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.tox .tox-toolbar__group {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@@ -4097,7 +4326,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-trbtn--disabled:hover svg,
|
||||
.tox .tox-tree .tox-trbtn:disabled svg,
|
||||
.tox .tox-tree .tox-trbtn:disabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: rgba(34, 47, 62, 0.5);
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn--enabled,
|
||||
@@ -4113,7 +4341,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn--enabled svg,
|
||||
.tox .tox-tree .tox-trbtn--enabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: #222f3e;
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) {
|
||||
@@ -4145,7 +4372,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-tree--directory {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
}
|
||||
.tox .tox-tree .tox-tree--directory .tox-tree--directory__label {
|
||||
font-weight: bold;
|
||||
@@ -4205,6 +4431,11 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg {
|
||||
fill: #222f3e;
|
||||
}
|
||||
.tox .tox-tree .tox-icon-custom-state {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.tox .tox-tree .tox-tree--directory__children {
|
||||
overflow: hidden;
|
||||
padding-left: 16px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
tinymce.Resource.add('ui/default/skin.shadowdom.css', `body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}`)
|
||||
tinymce.Resource.add('ui/oxide/skin.shadowdom.css', `body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}`)
|
||||
@@ -1,3 +1,11 @@
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||
}
|
||||
@@ -25,23 +33,40 @@
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
outline: 3px solid #4e4f3b;
|
||||
}
|
||||
.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #4e4f3b;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #4e4f3b;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] {
|
||||
background-color: #4e4f3b;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected]:has(img[data-mce-selected],
|
||||
> audio[data-mce-selected],
|
||||
> video[data-mce-selected],
|
||||
span.mce-preview-object[data-mce-selected]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] span.mce-preview-object:not([data-mce-selected]) {
|
||||
box-shadow: 0 0 0 5px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
@@ -84,7 +109,6 @@ pre[class*="language-"] {
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
/* Code blocks */
|
||||
@@ -522,10 +546,6 @@ tiny-math-inline {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #4099ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||
outline: none;
|
||||
}
|
||||
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||
background-color: #4099ff;
|
||||
}
|
||||
@@ -624,6 +644,60 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-item-table[border="0"] caption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.tox-uc-loading-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox-uc-loading-spinner-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tox-uc-loading-spinner {
|
||||
width: min(24px, 30%);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #006ce7;
|
||||
border-bottom-color: transparent;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox-uploadcare-placeholder {
|
||||
all: initial;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
height: 80px;
|
||||
--tox-uploadcare-placeholder--content-cursor: auto !important;
|
||||
--tox-uploadcare-placeholder--content-color: rgba(34, 47, 62, 0.7);
|
||||
--tox-uploadcare-placeholder--content-background-color: #fff;
|
||||
--tox-uploadcare-placeholder--content-border: 2px solid #e3e3e3;
|
||||
--tox-uploadcare-placeholder--content-font-family: monospace, sans-serif;
|
||||
--tox-uploadcare-placeholder--content-height: 100%;
|
||||
--tox-uploadcare-placeholder--content-width: 100%;
|
||||
--tox-uploadcare-placeholder--content-display: inline-flex;
|
||||
--tox-uploadcare-placeholder--content-align-items: center;
|
||||
--tox-uploadcare-placeholder--content-justify-content: center;
|
||||
--tox-uploadcare-placeholder--content-gap: 8px;
|
||||
--tox-uploadcare-placeholder--icon-fill: rgba(34, 47, 62, 0.7);
|
||||
--tox-uc-loading-spinner-wrapper-display-none: none;
|
||||
--tox-uc-loading-spinner-wrapper-display: flex;
|
||||
--tox-uc-loading-spinner-wrapper-position: absolute;
|
||||
--tox-uc-loading-spinner-wrapper-top: 0;
|
||||
--tox-uc-loading-spinner-wrapper-left: 0;
|
||||
--tox-uc-loading-spinner-wrapper-width: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-height: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-justify-content: center;
|
||||
--tox-uc-loading-spinner-wrapper-align-items: center;
|
||||
--tox-uc-loading-spinner-aspect-ratio: 1 / 1;
|
||||
--tox-uc-loading-spinner-width: min(24px, 30%);
|
||||
--tox-uc-loading-spinner-border-radius: 50%;
|
||||
--tox-uc-loading-spinner-border: 3px solid #006ce7;
|
||||
--tox-uc-loading-spinner-border-bottom-color: transparent;
|
||||
--tox-uc-loading-spinner-animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
@@ -761,6 +835,35 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-shy::after {
|
||||
content: '-';
|
||||
}
|
||||
[data-ephox-foam-a11y-violation] {
|
||||
outline: 2px solid;
|
||||
position: relative;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation] {
|
||||
outline-width: 4px;
|
||||
transition: outline-width 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-info] {
|
||||
outline-color: #99c4f5;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-warn] {
|
||||
outline-color: #ffeb99;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-error] {
|
||||
outline-color: #eb9999;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="info"] {
|
||||
outline-color: #99c4f5;
|
||||
background-color: #e6f0fd;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="warning"] {
|
||||
outline-color: #ffeb99;
|
||||
background-color: #fffae6;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="error"] {
|
||||
outline-color: #eb9999;
|
||||
background-color: #fae6e6;
|
||||
}
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.mce-content-body .mce-item-anchor {
|
||||
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||
}
|
||||
@@ -25,23 +33,40 @@
|
||||
.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #ffe89d;
|
||||
outline: 3px solid #ffe796;
|
||||
}
|
||||
.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe796;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #ffcf30;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] {
|
||||
background-color: #ffcf30;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected]:has(img[data-mce-selected],
|
||||
> audio[data-mce-selected],
|
||||
> video[data-mce-selected],
|
||||
span.mce-preview-object[data-mce-selected]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-selected] span.mce-preview-object:not([data-mce-selected]) {
|
||||
box-shadow: 0 0 0 5px #006ce7;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]),
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) {
|
||||
outline: 3px solid #fed635;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment:not([data-mce-selected]) {
|
||||
background-color: #ffe89d;
|
||||
outline: none;
|
||||
}
|
||||
.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) {
|
||||
background-color: #fed635;
|
||||
outline: 3px solid #ffcf30;
|
||||
}
|
||||
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||
list-style: none;
|
||||
@@ -84,7 +109,6 @@ pre[class*="language-"] {
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
tab-size: 4;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
pre[class*="language-"]::selection,
|
||||
@@ -534,10 +558,6 @@ tiny-math-inline {
|
||||
cursor: not-allowed;
|
||||
outline: 3px solid #b4d7ff;
|
||||
}
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||
outline: none;
|
||||
}
|
||||
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||
background-color: #b4d7ff;
|
||||
}
|
||||
@@ -636,6 +656,60 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-item-table[border="0"] caption {
|
||||
border: 1px dashed #bbb;
|
||||
}
|
||||
.tox-uc-loading-background {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox-uc-loading-spinner-wrapper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.tox-uc-loading-spinner {
|
||||
width: min(24px, 30%);
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 3px solid #006ce7;
|
||||
border-bottom-color: transparent;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox-uploadcare-placeholder {
|
||||
all: initial;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
height: 80px;
|
||||
--tox-uploadcare-placeholder--content-cursor: auto !important;
|
||||
--tox-uploadcare-placeholder--content-color: rgba(34, 47, 62, 0.7);
|
||||
--tox-uploadcare-placeholder--content-background-color: #fff;
|
||||
--tox-uploadcare-placeholder--content-border: 2px solid #e3e3e3;
|
||||
--tox-uploadcare-placeholder--content-font-family: monospace, sans-serif;
|
||||
--tox-uploadcare-placeholder--content-height: 100%;
|
||||
--tox-uploadcare-placeholder--content-width: 100%;
|
||||
--tox-uploadcare-placeholder--content-display: inline-flex;
|
||||
--tox-uploadcare-placeholder--content-align-items: center;
|
||||
--tox-uploadcare-placeholder--content-justify-content: center;
|
||||
--tox-uploadcare-placeholder--content-gap: 8px;
|
||||
--tox-uploadcare-placeholder--icon-fill: rgba(34, 47, 62, 0.7);
|
||||
--tox-uc-loading-spinner-wrapper-display-none: none;
|
||||
--tox-uc-loading-spinner-wrapper-display: flex;
|
||||
--tox-uc-loading-spinner-wrapper-position: absolute;
|
||||
--tox-uc-loading-spinner-wrapper-top: 0;
|
||||
--tox-uc-loading-spinner-wrapper-left: 0;
|
||||
--tox-uc-loading-spinner-wrapper-width: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-height: 100%;
|
||||
--tox-uc-loading-spinner-wrapper-justify-content: center;
|
||||
--tox-uc-loading-spinner-wrapper-align-items: center;
|
||||
--tox-uc-loading-spinner-aspect-ratio: 1 / 1;
|
||||
--tox-uc-loading-spinner-width: min(24px, 30%);
|
||||
--tox-uc-loading-spinner-border-radius: 50%;
|
||||
--tox-uc-loading-spinner-border: 3px solid #006ce7;
|
||||
--tox-uc-loading-spinner-border-bottom-color: transparent;
|
||||
--tox-uc-loading-spinner-animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.mce-visualblocks p,
|
||||
.mce-visualblocks h1,
|
||||
.mce-visualblocks h2,
|
||||
@@ -773,3 +847,32 @@ table[style*="border-width: 0px"] caption,
|
||||
.mce-shy::after {
|
||||
content: '-';
|
||||
}
|
||||
[data-ephox-foam-a11y-violation] {
|
||||
outline: 2px solid;
|
||||
position: relative;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation] {
|
||||
outline-width: 4px;
|
||||
transition: outline-width 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-info] {
|
||||
outline-color: #006ce7;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-warn] {
|
||||
outline-color: #FFCC00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-severity-error] {
|
||||
outline-color: #c00;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="info"] {
|
||||
outline-color: #006ce7;
|
||||
background-color: #e6f0fd;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="warning"] {
|
||||
outline-color: #FFCC00;
|
||||
background-color: #fffae6;
|
||||
}
|
||||
[data-ephox-foam-a11y-violation][data-ephox-foam-a11y-current-violation="error"] {
|
||||
outline-color: #c00;
|
||||
background-color: #fae6e6;
|
||||
}
|
||||
|
||||
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -97,19 +97,40 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-icon--flip svg {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
@keyframes tox-rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
.tox .accessibility-issue__header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.tox #accessibility-issue__subheader {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .accessbility-sr-only {
|
||||
position: absolute;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(0 0 99.9% 99.9%);
|
||||
overflow: hidden;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.tox .accessibility-issue__description {
|
||||
align-items: stretch;
|
||||
border-radius: 3px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.tox .accessibility-issue__description > div {
|
||||
padding-bottom: 4px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .accessibility-issue__description > div > div {
|
||||
align-items: center;
|
||||
@@ -119,18 +140,32 @@ button::-moz-focus-inner {
|
||||
.tox .accessibility-issue__description > div > div .tox-icon svg {
|
||||
display: block;
|
||||
}
|
||||
.tox .accessibility-issue__repair {
|
||||
.tox #accessibility-issue__contentID {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.tox #accessibility-issue__contentID span:first-child {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tox #accessibility-issue__document {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
.tox .accessibility-issue__repair {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .accessibility-issue__repair .tox-form__group .tox-form__group--error {
|
||||
color: #eb9999;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description {
|
||||
background-color: rgba(30, 113, 170, 0.4);
|
||||
background-color: #22374a;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
color: #a6cae2;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg {
|
||||
fill: #fff;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #a6cae2;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon {
|
||||
background-color: #207ab7;
|
||||
@@ -143,18 +178,16 @@ button::-moz-focus-inner {
|
||||
.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);
|
||||
background-color: #383f38;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
color: #ffeb99;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg {
|
||||
fill: #fff;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #ffeb99;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon {
|
||||
background-color: #FFE89D;
|
||||
@@ -169,18 +202,16 @@ button::-moz-focus-inner {
|
||||
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);
|
||||
background-color: #332a38;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
color: #eb9999;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg {
|
||||
fill: #fff;
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #eb9999;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon {
|
||||
background-color: #F2BFBF;
|
||||
@@ -205,12 +236,11 @@ button::-moz-focus-inner {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 {
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg {
|
||||
.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon.accessibility-issue__icon svg {
|
||||
fill: #fff;
|
||||
}
|
||||
.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 {
|
||||
@@ -220,7 +250,7 @@ button::-moz-focus-inner {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description {
|
||||
padding: 4px 4px 4px 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button {
|
||||
margin-right: 4px;
|
||||
@@ -499,6 +529,11 @@ button::-moz-focus-inner {
|
||||
display: block;
|
||||
fill: currentColor;
|
||||
}
|
||||
.tox-context-form__group .tox-button--icon,
|
||||
.tox-context-form__group .tox-button.tox-button--icon {
|
||||
margin: 3px 0 2px 0;
|
||||
padding: 0;
|
||||
}
|
||||
.tox .tox-button-link {
|
||||
background: 0;
|
||||
border: none;
|
||||
@@ -644,9 +679,6 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-bar .tox-checkbox {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.tox {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__group {
|
||||
display: flex;
|
||||
padding: 0;
|
||||
@@ -706,55 +738,20 @@ button::-moz-focus-inner {
|
||||
border-radius: 3px;
|
||||
padding: 4px;
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--enabled {
|
||||
.tox .tox-collection--list .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #2b3b4e;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--active {
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #4a5562;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover {
|
||||
background-color: #757d87;
|
||||
color: #fff;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active,
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover {
|
||||
border-radius: 3px;
|
||||
outline: solid 1px;
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
border: solid 1px;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active {
|
||||
background-color: #2b3b4e;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:hover {
|
||||
background-color: #4a5562;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus {
|
||||
background-color: #4a5562;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus::after {
|
||||
border-radius: 3px;
|
||||
bottom: 0;
|
||||
box-shadow: 0 0 0 0 transparent ;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:focus::after {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--grid .tox-collection__item--enabled {
|
||||
.tox .tox-collection--grid .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #757d87;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -779,16 +776,43 @@ button::-moz-focus-inner {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
background-color: #757d87;
|
||||
color: #fff;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
border: solid 1px;
|
||||
.tox .tox-collection--toolbar .tox-collection__item--enabled:not(.tox-collection__item--state-disabled) {
|
||||
border-radius: 3px;
|
||||
outline: solid 1px;
|
||||
}
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) {
|
||||
color: #fff;
|
||||
background-color: #2b3b4e;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover {
|
||||
background-color: #4a5562;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus {
|
||||
background-color: #4a5562;
|
||||
color: #fff;
|
||||
}
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after {
|
||||
border-radius: 3px;
|
||||
bottom: 0;
|
||||
box-shadow: 0 0 0 0 transparent ;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled):hover {
|
||||
@@ -1190,21 +1214,76 @@ button::-moz-focus-inner {
|
||||
.tox[dir=rtl] .tox-swatches__picker-btn {
|
||||
margin-right: auto;
|
||||
}
|
||||
.tox .tox-comment-thread {
|
||||
background: #2b3b4e;
|
||||
position: relative;
|
||||
.tox {
|
||||
/* Animation for deleting a comment */
|
||||
/* A comment fades to 0 when it is being deleted, then is removed */
|
||||
}
|
||||
.tox .tox-comment-thread > *:not(:first-child) {
|
||||
margin-top: 8px;
|
||||
.tox .tox-conversations {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
/* This is to give the sidebar a consistent width. Need a solution for this */
|
||||
min-width: 300px;
|
||||
max-width: 300px;
|
||||
width: 300px;
|
||||
}
|
||||
.tox .tox-conversations__header {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-shadow: 0px 4px 8px 0px rgba(34, 47, 62, 0.1);
|
||||
padding: 8px 12px;
|
||||
background: #222f3e;
|
||||
z-index: 1;
|
||||
}
|
||||
.tox .tox-conversations__title {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
padding: 8px 0 8px 0;
|
||||
color: #fff;
|
||||
line-height: 28px;
|
||||
}
|
||||
.tox .tox-comment {
|
||||
background: #2b3b4e;
|
||||
border: 1px solid #000000;
|
||||
background: #222f3e;
|
||||
border: 1px solid #222f3e;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1);
|
||||
padding: 8px 8px 16px 8px;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment:hover {
|
||||
box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1);
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected {
|
||||
background-color: #555542;
|
||||
border: 1px solid #ffcf30;
|
||||
box-shadow: 0px 4px 8px 0px rgba(34, 47, 62, 0.1);
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected:focus {
|
||||
border: 2px solid transparent;
|
||||
margin: -1px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected:focus:not(:first-child) {
|
||||
margin-top: 7px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single:focus {
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment.tox-comment--selected .tox-comment__single:focus::after {
|
||||
top: -9px;
|
||||
pointer-events: none;
|
||||
position: absolute;
|
||||
content: "";
|
||||
display: block;
|
||||
bottom: -9px;
|
||||
left: -9px;
|
||||
right: -9px;
|
||||
border-radius: 6px;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
.tox .tox-comment__header {
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
@@ -1218,18 +1297,62 @@ button::-moz-focus-inner {
|
||||
}
|
||||
.tox .tox-comment__body {
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
line-height: 1.3;
|
||||
margin-top: 8px;
|
||||
position: relative;
|
||||
text-transform: initial;
|
||||
transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
|
||||
white-space: pre-wrap;
|
||||
/* We remove the transitions when wanting to measure and jump straight to collapsed or expanded */
|
||||
}
|
||||
.tox .tox-comment__body.tox-comment__body--expanded {
|
||||
max-height: 100em;
|
||||
transition: max-height 1s ease-in-out;
|
||||
}
|
||||
.tox .tox-comment__body.tox-comment__body--pending {
|
||||
transition: max-height 0s;
|
||||
}
|
||||
.tox .tox-comment__body p {
|
||||
margin: 0;
|
||||
}
|
||||
.tox .tox-comment__body textarea {
|
||||
resize: none;
|
||||
white-space: normal;
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
.tox .tox-comment__loading-text {
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment__loading-text > div {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .tox-comment__overlaytext {
|
||||
bottom: 0;
|
||||
flex-direction: column;
|
||||
font-size: 14px;
|
||||
left: 0;
|
||||
padding: 1em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.tox .tox-comment__overlaytext p {
|
||||
background-color: #222f3e;
|
||||
box-shadow: 0 0 8px 8px #222f3e;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-comment__overlaytext div:nth-of-type(2) {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.tox .tox-comment__expander {
|
||||
padding-top: 8px;
|
||||
@@ -1238,16 +1361,36 @@ button::-moz-focus-inner {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-size: 14px;
|
||||
font-style: normal;
|
||||
/* Need a focus highlight on the show more/less button */
|
||||
}
|
||||
.tox .tox-comment__body p {
|
||||
margin: 0;
|
||||
.tox .tox-comment__expander p:focus {
|
||||
font-weight: bold;
|
||||
}
|
||||
.tox .tox-comment__buttonspacing {
|
||||
padding-top: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-tbtn.tox-comment__mention-btn {
|
||||
display: flex;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
padding: 5px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox .tox-comment-thread {
|
||||
background: #222f3e;
|
||||
position: relative;
|
||||
border-radius: 6px;
|
||||
background-color: transparent;
|
||||
}
|
||||
.tox .tox-comment-thread > *:not(:first-child) {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment-thread__overlay::after {
|
||||
background: #2b3b4e;
|
||||
background: #222f3e;
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: flex;
|
||||
@@ -1273,10 +1416,10 @@ button::-moz-focus-inner {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
margin-top: 16px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.tox .tox-comment__gradient::after {
|
||||
background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e);
|
||||
background: linear-gradient(rgba(34, 47, 62, 0), #222f3e);
|
||||
bottom: 0;
|
||||
content: "";
|
||||
display: block;
|
||||
@@ -1286,7 +1429,7 @@ button::-moz-focus-inner {
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-comment__overlay {
|
||||
background: #2b3b4e;
|
||||
background: #222f3e;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -1299,39 +1442,9 @@ button::-moz-focus-inner {
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.tox .tox-comment__loading-text {
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.tox .tox-comment__loading-text > div {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
.tox .tox-comment__overlaytext {
|
||||
bottom: 0;
|
||||
flex-direction: column;
|
||||
font-size: 14px;
|
||||
left: 0;
|
||||
padding: 1em;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.tox .tox-comment__overlaytext p {
|
||||
background-color: #2b3b4e;
|
||||
box-shadow: 0 0 8px 8px #2b3b4e;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.tox .tox-comment__overlaytext div:nth-of-type(2) {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.tox .tox-comment__busy-spinner {
|
||||
align-items: center;
|
||||
background-color: #2b3b4e;
|
||||
background-color: #222f3e;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -1346,9 +1459,49 @@ button::-moz-focus-inner {
|
||||
flex-direction: column;
|
||||
flex-shrink: 1;
|
||||
overflow: auto;
|
||||
padding: 12px;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
.tox .tox-conversations {
|
||||
margin: 8px;
|
||||
.tox .tox-comment__scroll:has(textarea:focus) {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
.tox .tox-comment--disappearing {
|
||||
transition: opacity 0.5s ease;
|
||||
}
|
||||
.tox .tox-comment[data-transitioning-destination="deleting"] {
|
||||
opacity: 0;
|
||||
}
|
||||
.tox .tox-skeleton .tox-skeleton__line {
|
||||
height: 16px;
|
||||
width: 100%;
|
||||
background: linear-gradient(to right, rgba(240, 240, 240, 0.5) 8%, rgba(240, 240, 240, 0.7) 18%, rgba(240, 240, 240, 0.5) 33%);
|
||||
animation: wave 2s infinite ease-out;
|
||||
}
|
||||
.tox .tox-skeleton .tox-skeleton__circle {
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
margin-right: 8px;
|
||||
border-radius: 100%;
|
||||
background: linear-gradient(to right, rgba(240, 240, 240, 0.5) 8%, rgba(240, 240, 240, 0.7) 18%, rgba(240, 240, 240, 0.5) 33%);
|
||||
animation: wave 2s infinite ease-out;
|
||||
}
|
||||
@keyframes wave {
|
||||
0% {
|
||||
background-position: -268px 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 268px 0;
|
||||
}
|
||||
}
|
||||
.tox .tox-ring-loader {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border: 1px solid #FFF;
|
||||
border-bottom-color: transparent;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
animation: tox-rotation 1s linear infinite;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-comment__edit {
|
||||
margin-left: 8px;
|
||||
@@ -1547,8 +1700,8 @@ button::-moz-focus-inner {
|
||||
background-color: rgba(32, 122, 183, 0.1);
|
||||
}
|
||||
.tox .tox-dialog__body-nav-item--active {
|
||||
border-bottom: 2px solid #207ab7;
|
||||
color: #207ab7;
|
||||
border-bottom: 2px solid #90bddb;
|
||||
color: #90bddb;
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.tox .tox-dialog__body-nav-item--active {
|
||||
@@ -1581,24 +1734,24 @@ button::-moz-focus-inner {
|
||||
margin-top: 0;
|
||||
}
|
||||
.tox .tox-dialog__body-content a {
|
||||
color: #207ab7;
|
||||
color: #90bddb;
|
||||
cursor: pointer;
|
||||
-webkit-text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.tox .tox-dialog__body-content a:hover,
|
||||
.tox .tox-dialog__body-content a:focus {
|
||||
color: #114060;
|
||||
color: #428fc2;
|
||||
-webkit-text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.tox .tox-dialog__body-content a:focus-visible {
|
||||
border-radius: 1px;
|
||||
outline: 2px solid #207ab7;
|
||||
outline: 2px solid #90bddb;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.tox .tox-dialog__body-content a:active {
|
||||
color: #092335;
|
||||
color: #33739e;
|
||||
-webkit-text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -2060,18 +2213,12 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-color-input span[aria-disabled=true] {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input .tox-textfield {
|
||||
padding-left: 36px;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-color-input span {
|
||||
left: 6px;
|
||||
}
|
||||
.tox[dir="rtl"] .tox-color-input {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox[dir="rtl"] .tox-color-input .tox-textfield {
|
||||
padding-right: 36px;
|
||||
}
|
||||
@@ -2188,15 +2335,18 @@ body.tox-dialog__disable-scroll {
|
||||
width: 100%;
|
||||
}
|
||||
.tox .tox-textfield[disabled],
|
||||
.tox .tox-toolbar-textfield[disabled],
|
||||
.tox .tox-textarea[disabled] {
|
||||
background-color: #222f3e;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.tox .tox-textfield:focus,
|
||||
.tox .tox-toolbar-textfield:focus,
|
||||
.tox .tox-listboxfield .tox-listbox--select:focus,
|
||||
.tox .tox-textarea-wrap:focus-within,
|
||||
.tox .tox-textarea:focus,
|
||||
.tox .tox-focusable-wrapper:focus,
|
||||
.tox .tox-custom-editor:focus-within {
|
||||
background-color: #2b3b4e;
|
||||
border-color: #207ab7;
|
||||
@@ -2204,10 +2354,10 @@ body.tox-dialog__disable-scroll {
|
||||
outline: 2px solid rgba(32, 122, 183, 0.25);
|
||||
}
|
||||
.tox .tox-toolbar-textfield {
|
||||
border-width: 0;
|
||||
margin-bottom: 3px;
|
||||
margin-top: 2px;
|
||||
max-width: 250px;
|
||||
min-height: unset;
|
||||
height: 34px;
|
||||
margin: 2px 0 3px 0;
|
||||
}
|
||||
.tox .tox-naked-btn {
|
||||
background-color: transparent;
|
||||
@@ -2224,6 +2374,9 @@ body.tox-dialog__disable-scroll {
|
||||
display: block;
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-textfield-size {
|
||||
width: 80px;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-toolbar-textfield + * {
|
||||
margin-left: 4px;
|
||||
}
|
||||
@@ -2491,15 +2644,9 @@ body.tox-dialog__disable-scroll {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
.tox:not([dir=rtl]) {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) {
|
||||
border-right: 0;
|
||||
}
|
||||
.tox[dir=rtl] {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) {
|
||||
border-right: 0;
|
||||
}
|
||||
@@ -2734,7 +2881,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #442632;
|
||||
border-color: #55212b;
|
||||
color: #fff;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--error p {
|
||||
color: #fff;
|
||||
@@ -2766,7 +2912,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #222f3e;
|
||||
border-color: #000000;
|
||||
color: #fff0b3;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--warn p,
|
||||
.tox .tox-notification--warning p {
|
||||
@@ -2804,7 +2949,6 @@ body.tox-dialog__disable-scroll {
|
||||
background-color: #254161;
|
||||
border-color: #264972;
|
||||
color: #fff;
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox .tox-notification--info p {
|
||||
color: #fff;
|
||||
@@ -3025,7 +3169,7 @@ body.tox-dialog__disable-scroll {
|
||||
min-height: 0;
|
||||
}
|
||||
.tox .tox-sidebar {
|
||||
background-color: #222f3e;
|
||||
background-color: #34485f;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
@@ -3102,6 +3246,71 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group {
|
||||
margin-inline-start: 32px;
|
||||
}
|
||||
.tox .tox-toolbar-slider {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input {
|
||||
appearance: none;
|
||||
background: #000000;
|
||||
border-radius: 16px;
|
||||
width: 130px;
|
||||
height: 2px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-webkit-slider-runnable-track {
|
||||
background-color: transparent;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-moz-range-track {
|
||||
background-color: transparent;
|
||||
height: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
background-color: #207ab7;
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input::-moz-range-thumb {
|
||||
appearance: none;
|
||||
background-color: #207ab7;
|
||||
border-radius: 16px;
|
||||
border: none;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus::-webkit-slider-thumb {
|
||||
background-color: #1c6ca1;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #207ab7;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:focus::-moz-range-thumb {
|
||||
background-color: #1c6ca1;
|
||||
box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #207ab7;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:hover::-webkit-slider-thumb {
|
||||
background-color: #1c6ca1;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:hover::-moz-range-thumb {
|
||||
background-color: #1c6ca1;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:active::-webkit-slider-thumb {
|
||||
background-color: #185d8c;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input:active::-moz-range-thumb {
|
||||
background-color: #185d8c;
|
||||
}
|
||||
.tox .tox-toolbar-slider__input[disabled]::-webkit-slider-thumb {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-toolbar-slider__input[disabled]::-moz-range-thumb {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-source-code {
|
||||
overflow: auto;
|
||||
}
|
||||
@@ -3172,7 +3381,6 @@ body.tox-dialog__disable-scroll {
|
||||
flex: 1 1 auto;
|
||||
height: 16px;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
}
|
||||
@media only screen and (min-width: 768px ) {
|
||||
.tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__help-text,
|
||||
@@ -3254,7 +3462,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__branding a {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
}
|
||||
@@ -3306,6 +3513,9 @@ body.tox-dialog__disable-scroll {
|
||||
border: 2px solid highlight;
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__resize-handle:only-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tox:not([dir=rtl]) .tox-statusbar__path > * {
|
||||
margin-right: 4px;
|
||||
}
|
||||
@@ -3451,7 +3661,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tbtn--disabled:hover svg,
|
||||
.tox .tox-tbtn:disabled svg,
|
||||
.tox .tox-tbtn:disabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-tbtn--active,
|
||||
@@ -3474,7 +3683,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tbtn--enabled svg,
|
||||
.tox .tox-tbtn--enabled:hover svg,
|
||||
.tox .tox-tbtn--enabled:focus svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-tbtn--active.tox-tbtn--disabled svg,
|
||||
@@ -3533,6 +3741,12 @@ body.tox-dialog__disable-scroll {
|
||||
margin-bottom: 4px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tox .tox-label--context-toolbar {
|
||||
margin: 6px 1px 5px 0;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.tox .tox-number-input {
|
||||
background: transparent;
|
||||
border-radius: 3px;
|
||||
@@ -3834,9 +4048,9 @@ body.tox-dialog__disable-scroll {
|
||||
.tox.tox-platform-touch .tox-split-button__chevron {
|
||||
width: 20px;
|
||||
}
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color,
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color {
|
||||
opacity: 0.6;
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg .tox-icon-text-color__color,
|
||||
.tox .tox-split-button.tox-tbtn--disabled svg .tox-icon-highlight-bg-color__color {
|
||||
opacity: 0.3;
|
||||
}
|
||||
.tox .tox-toolbar-overlord {
|
||||
background-color: #222f3e;
|
||||
@@ -3860,8 +4074,8 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar,
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar__primary,
|
||||
.tox .tox-toolbar-overlord > .tox-toolbar__overflow {
|
||||
background-position: center top 0;
|
||||
background-size: calc(100% - 4px * 2) calc(100% - 0);
|
||||
background-position: center top 0px;
|
||||
background-size: calc(100% - 4px * 2) calc(100% - 0px);
|
||||
}
|
||||
.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed {
|
||||
height: 0;
|
||||
@@ -3911,6 +4125,20 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child {
|
||||
background-image: none;
|
||||
}
|
||||
.tox .tox-focusable-wrapper {
|
||||
border: 1px solid transparent;
|
||||
margin-right: 2px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.tox .tox-focusable-wrapper .tox-textfield-size {
|
||||
pointer-events: all;
|
||||
}
|
||||
.tox .tox-focusable-wrapper:focus {
|
||||
background-color: #4a5562;
|
||||
border-radius: 3px;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
}
|
||||
.tox.tox-tinymce-aux .tox-toolbar__overflow {
|
||||
background-color: #222f3e;
|
||||
background-position: center top 43px;
|
||||
@@ -3926,14 +4154,15 @@ body.tox-dialog__disable-scroll {
|
||||
border: solid;
|
||||
}
|
||||
}
|
||||
.tox-pop .tox-pop__dialog {
|
||||
/* stylelint-disable-next-line no-descending-specificity */
|
||||
}
|
||||
.tox-pop .tox-pop__dialog .tox-toolbar {
|
||||
background-position: center top 43px;
|
||||
background-size: calc(100% - 4px * 2) calc(100% - 51px);
|
||||
padding: 4px 0;
|
||||
}
|
||||
.tox-context-form__group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.tox .tox-toolbar__group {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
@@ -4097,7 +4326,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-trbtn--disabled:hover svg,
|
||||
.tox .tox-tree .tox-trbtn:disabled svg,
|
||||
.tox .tox-tree .tox-trbtn:disabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn--enabled,
|
||||
@@ -4113,7 +4341,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn--enabled svg,
|
||||
.tox .tox-tree .tox-trbtn--enabled:hover svg {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) {
|
||||
@@ -4145,7 +4372,6 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-tree--directory {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
}
|
||||
.tox .tox-tree .tox-tree--directory .tox-tree--directory__label {
|
||||
font-weight: bold;
|
||||
@@ -4205,6 +4431,11 @@ body.tox-dialog__disable-scroll {
|
||||
.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg {
|
||||
fill: #fff;
|
||||
}
|
||||
.tox .tox-tree .tox-icon-custom-state {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.tox .tox-tree .tox-tree--directory__children {
|
||||
overflow: hidden;
|
||||
padding-left: 16px;
|
||||
@@ -4559,9 +4790,11 @@ body.tox-dialog__disable-scroll {
|
||||
box-shadow: none;
|
||||
}
|
||||
.tox .tox-tbtn,
|
||||
.tox .tox-label,
|
||||
.tox .tox-number-input,
|
||||
.tox .tox-tbtn--select,
|
||||
.tox .tox-split-button {
|
||||
.tox .tox-split-button,
|
||||
.tox .tox-toolbar-label {
|
||||
margin: 2px 0 3px 0;
|
||||
}
|
||||
.tox .tox-toolbar,
|
||||
@@ -4618,7 +4851,6 @@ body.tox-dialog__disable-scroll {
|
||||
}
|
||||
}
|
||||
.tox .tox-statusbar__branding a {
|
||||
/* stylelint-disable-line no-descending-specificity */
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
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
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user