mirror of
https://github.com/knadh/listmonk.git
synced 2025-03-04 02:05:31 +08:00
misc:add word wrap to HTML editor (#2081)
This commit is contained in:
parent
36cf85b499
commit
39e1a0344e
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,11 @@ export default {
|
||||||
el.attachShadow({ mode: 'open' });
|
el.attachShadow({ mode: 'open' });
|
||||||
el.shadowRoot.innerHTML = `
|
el.shadowRoot.innerHTML = `
|
||||||
<style>
|
<style>
|
||||||
.codeflask .codeflask__flatten { font-size: 15px; }
|
.codeflask .codeflask__flatten {
|
||||||
|
font-size: 15px;
|
||||||
|
white-space: pre-wrap ;
|
||||||
|
word-break: break-word ;
|
||||||
|
}
|
||||||
.codeflask .codeflask__lines { background: #fafafa; z-index: 10; }
|
.codeflask .codeflask__lines { background: #fafafa; z-index: 10; }
|
||||||
.codeflask .token.tag { font-weight: bold; }
|
.codeflask .token.tag { font-weight: bold; }
|
||||||
.codeflask .token.attr-name { color: #111; }
|
.codeflask .token.attr-name { color: #111; }
|
||||||
|
|
Loading…
Reference in a new issue