📱 status
This commit is contained in:
parent
9acfd1fb58
commit
668cc4b17b
2 changed files with 3 additions and 2 deletions
|
@ -304,7 +304,8 @@
|
|||
white-space: nowrap;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background-color: var(--b3-theme-surface);
|
||||
background-color: var(--b3-theme-background);
|
||||
z-index: 221;
|
||||
@extend .fn__ellipsis;
|
||||
|
||||
&--hide {
|
||||
|
|
2
app/stage/protyle/js/protyle-html.js
vendored
2
app/stage/protyle/js/protyle-html.js
vendored
|
@ -23,7 +23,7 @@ class ProtyleHtml extends HTMLElement {
|
|||
let fatalHTML = ''
|
||||
for (let i = 0; i < scripts.length; i++) {
|
||||
if (scripts[i].textContent.indexOf('document.write') > -1) {
|
||||
fatalHTML += `<div style="color:#d23f31;font-size: 12px">${window.siyuan.languages.htmlBlockError}</div>
|
||||
fatalHTML += `<div style="color:var(--b3-theme-error);font-size: 12px">${window.siyuan.languages.htmlBlockError}</div>
|
||||
<textarea style="width: 100%;box-sizing: border-box;height: 120px"><script>${scripts[i].textContent}</script></textarea>`
|
||||
} else {
|
||||
const s = document.createElement('script')
|
||||
|
|
Loading…
Add table
Reference in a new issue