add mediaembed css

This commit is contained in:
parent 874991a0e8
commit bcdaae9743
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 12 additions and 1 deletions

10
plugins/mediaembed/content.min.css vendored Normal file

@ -0,0 +1,10 @@
/*!
* Tiny Enhanced Media Embed plugin
*
* Copyright (c) 2023 Ephox Corporation DBA Tiny Technologies, Inc.
* Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/
*
* Version: 3.2.0-102
*/
.ephox-summary-card{border:1px solid #AAA;box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.2),0 1px 5px 0 rgba(0,0,0,0.12);padding:10px;overflow:hidden;margin-bottom:1em}.ephox-summary-card a{text-decoration:none;color:inherit}.ephox-summary-card a:visited{color:inherit}.ephox-summary-card-title{font-size:1.2em;display:block}.ephox-summary-card-author{color:#999;display:block;margin-top:.5em}.ephox-summary-card-website{color:#999;display:block;margin-top:.5em}.ephox-summary-card-thumbnail{max-width:180px;max-height:180px;margin-left:2em;float:right}.ephox-summary-card-description{margin-top:.5em;display:block}div[data-ephox-embed-iri][data-mce-selected="2"] .mce-shim{display:none}div[data-ephox-embed-iri] .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}div[data-ephox-embed-iri]{position:relative}div[data-ephox-embed-iri] iframe,div[data-ephox-embed-iri] video,div[data-ephox-embed-iri] audio{display:block}

@ -5,7 +5,7 @@ import {resolve, dirname} from "path";
const freeKey = "qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc";
const skins = ["dark", "default", "document", "tinymce-5", "tinymce-5-dark", "writer"];
const uis = ["oxide", "oxide-dark", "tinymce-5", "tinymce-5-dark"];
const pluginList = "a11ychecker advcode advtable advtemplates typography ai casechange checklist comments editimage mediaembed export footnotes formatpainter inlinecss linkchecker mentions mergetags moxiemanager pageembed permanentpen powerpaste rtc spellchecker autocorrect tableofcontents tinydrive accordion advlist anchor autolink autoresize autosave charmap code codesample directionality emoticons fullscreen help image importcss insertdatetime link lists media nonbreaking pagebreak preview quickbars save searchreplace table template visualblocks visualchars wordcount";
const pluginList = "a11ychecker advcode advtable advtemplate typography ai casechange checklist comments editimage mediaembed export footnotes formatpainter inlinecss linkchecker mentions mergetags moxiemanager pageembed permanentpen powerpaste rtc spellchecker autocorrect tableofcontents tinydrive accordion advlist anchor autolink autoresize autosave charmap code codesample directionality emoticons fullscreen help image importcss insertdatetime link lists media nonbreaking pagebreak preview quickbars save searchreplace table template visualblocks visualchars wordcount";
const base = `https://cdn.tiny.cloud/1/${freeKey}/tinymce/6`
let headers = {
@ -30,6 +30,7 @@ async function main() {
await fetchAux("/plugins/powerpaste/js/wordimport.js");
await fetchAux("/plugins/a11ychecker/css/annotations.css");
await fetchAux("/plugins/pageembed/css/empa30.css");
await fetchAux("/plugins/mediaembed/content.min.css");
for(let t of skins) {
await fetchAux(`/skins/content/${t}/content.min.css`)
}