mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
This commit is contained in:
parent
63156dd783
commit
0c9f588ada
2 changed files with 22 additions and 4 deletions
|
|
@ -9,6 +9,13 @@
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
outline: none;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: bold;
|
||||||
|
&:empty::after {
|
||||||
|
color: var(--b3-theme-on-surface);
|
||||||
|
content: attr(data-tip);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__counter {
|
&__counter {
|
||||||
|
|
@ -101,4 +108,14 @@
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.protyle-wysiwyg--select {
|
||||||
|
.layout-tab-bar,
|
||||||
|
.av__row--header,
|
||||||
|
.av__row--footer {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,11 +74,12 @@ export const avRender = (element: Element, cb?: () => void) => {
|
||||||
e.firstElementChild.outerHTML = `<div>
|
e.firstElementChild.outerHTML = `<div>
|
||||||
<div class="av__header" style="padding-left: ${paddingLeft};padding-right: ${paddingRight};">
|
<div class="av__header" style="padding-left: ${paddingLeft};padding-right: ${paddingRight};">
|
||||||
<div class="layout-tab-bar fn__flex">
|
<div class="layout-tab-bar fn__flex">
|
||||||
<div class="item item--focus">tab1</div>
|
<div class="item item--focus">
|
||||||
</div>
|
<svg class="item__graphic"><use xlink:href="#iconTable"></use></svg>
|
||||||
<div contenteditable="true" class="av__title">
|
<span class="item__text">Table</span>
|
||||||
${data.title}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div contenteditable="true" class="av__title" data-tip="${window.siyuan.languages.title}">${data.title||""}</div>
|
||||||
<div class="av__counter fn__none"></div>
|
<div class="av__counter fn__none"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="av__scroll">
|
<div class="av__scroll">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue