mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
Add a simple editor based on contenteditable
This commit is contained in:
parent
ece4ce90c2
commit
a2c763661c
5 changed files with 221 additions and 0 deletions
28
modules/editor/skins/simpleeditor/css/simpleeditor.less
Normal file
28
modules/editor/skins/simpleeditor/css/simpleeditor.less
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.rx_simpleeditor {
|
||||
width: 100%;
|
||||
min-height: 60px;
|
||||
box-sizing: border-box;
|
||||
resize: vertical;
|
||||
overflow-y: auto;
|
||||
&.light {
|
||||
border: 1px solid #c4c4c4;
|
||||
background: #fff;
|
||||
padding: 10px;
|
||||
}
|
||||
&.dark {
|
||||
border-color: #111;
|
||||
background: #333;
|
||||
color: #fff;
|
||||
}
|
||||
iframe {
|
||||
max-width: 100%;
|
||||
padding: 5px 0;
|
||||
}
|
||||
img {
|
||||
max-width: 50%;
|
||||
padding: 5px 0;
|
||||
}
|
||||
img.thumbnail {
|
||||
max-width: 160px;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue