feat(creator-studio): bottom status bar, editor-rendered math/footnote, code language picker, block delete

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Opus 5 committed 2026-11-07 00:38:39 +08:00
1 parent 6928127bfa
commit 4a119358ca
11 files changed
+754 -63

No files matched your search

@@ -42,7 +42,7 @@ img { height: auto; }
line-height: 1.5;
white-space: pre-wrap;
}
.enlighter-pre::before {
.enlighter-pre .jio-code-lang {
position: absolute;
top: 9px;
right: 9px;
@@ -50,10 +50,13 @@ img { height: auto; }
border-radius: 4px;
background: linear-gradient(135deg, #3dcabd 10%, #254bdd 100%);
color: #fff;
content: attr(data-jio-code-label);
font-size: 12px;
line-height: 1.5;
pointer-events: none;
cursor: pointer;
user-select: none;
}
.enlighter-pre .jio-code-lang:hover {
filter: brightness(1.08);
}
/* 引用:与前台主题的 .quote_q 视觉一致。 */
@@ -101,9 +104,21 @@ img { height: auto; }
}
.jio-content-table.is-striped tbody tr:nth-child(odd) td { background: #f7f9f8; }
/* 公式与目录占位。 */
.jio-math { font-family: "Cambria Math", "Latin Modern Math", "Times New Roman", serif; }
.jio-math--block { display: block; margin: 12px 0; text-align: center; }
/* 公式。 */
.jio-math {
font-family: "Cambria Math", "Latin Modern Math", "Times New Roman", serif;
font-size: 1.05em;
white-space: pre-wrap;
}
.jio-math--block {
display: block;
margin: 12px 0;
padding: 10px;
border-radius: 6px;
background: #f8faf9;
text-align: center;
}
.jio-math sup, .jio-math sub { font-size: 0.72em; }
.jio-toc-placeholder {
height: 40px;
margin: 0 0 1.1em;
@@ -117,13 +132,22 @@ img { height: auto; }
}
.jio-toc-placeholder::after { content: '目录将在发布后自动生成'; }
/* 注释上标:编辑器里只显示序号,发布后由服务端渲染脚注列表。 */
.jio-footnote-ref,
.jio-footnote-ref a {
/* 注释:编辑器里显示上标标记,发布后由服务端渲染编号与注释列表。 */
.jio-footnote-ref {
display: inline-block;
max-width: 100%;
padding: 0 6px;
border-radius: 4px;
background: #eef5f2;
color: #267665;
font-size: 0.8em;
text-decoration: none;
font-size: 0.78em;
line-height: 1.6;
vertical-align: super;
cursor: default;
}
.jio-footnote-ref::before {
content: '注 ';
opacity: 0.6;
}
/* 附件链接。 */