From bcdaae9743a62dc4172a117471bd3a49462d90be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Wed, 10 Jan 2024 14:28:22 -0500 Subject: [PATCH] add mediaembed css --- plugins/mediaembed/content.min.css | 10 ++++++++++ scripts/fetchLatest.js | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 plugins/mediaembed/content.min.css diff --git a/plugins/mediaembed/content.min.css b/plugins/mediaembed/content.min.css new file mode 100644 index 0000000..a32f985 --- /dev/null +++ b/plugins/mediaembed/content.min.css @@ -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} \ No newline at end of file diff --git a/scripts/fetchLatest.js b/scripts/fetchLatest.js index f2dcf45..8681f0b 100644 --- a/scripts/fetchLatest.js +++ b/scripts/fetchLatest.js @@ -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`) }