mirror of
https://github.com/codex-team/editor.js
synced 2026-03-15 15:15:47 +01:00
* quote now saves HTML in author and job * Quote.js improved * Fix (#165) * Remove tool type from switchBlock -> by default it will saved from previous (#166) * small fixes regex match must not be similar to pasted string. Ex: ```https://www.instagram.com/p/BQ3wxmlA5GN/?taken-by=thenotoriousmma`` and match is ```https://www.instagram.com/p/BQ3wxmlA5GN/```. ```SwitchBlock``` have 3 parameter that is not important * new instagram embed regex * raw plugin added (#163) * raw plugin added * Try to paste raw html to raw plugin * insert text/plain to native area instead of contenteditable element * styles updated * rename variable * fixed raw backspace click handler * paste code * Replace mask with two svg icons * Toolbox leaf fix * Remove data in example.html * Toolbar and caret behavior improvments * upd * Upd * new bundle due the local merge * new ui module (#167)
36 lines
844 B
CSS
36 lines
844 B
CSS
.raw-plugin__input {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 200px;
|
|
border: 0;
|
|
background: #fdfdfd;
|
|
box-shadow: inset 0 2px 8px rgba(23, 32, 74, 0.06);
|
|
border-radius: 3px;
|
|
margin: 1em auto;
|
|
padding: 1em;
|
|
box-sizing: border-box;
|
|
white-space: pre;
|
|
outline: none;
|
|
resize: vertical;
|
|
|
|
font-family: 'monospace', 'monaco', 'consolas', 'courier';
|
|
line-height: 1.7em;
|
|
font-size: 12px;
|
|
color: #152b48;
|
|
overflow: auto;
|
|
letter-spacing: 0.015em;
|
|
}
|
|
|
|
.raw-plugin-icon {
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 32px;
|
|
background: url(raw-icon-black.svg) no-repeat center center;
|
|
background-size: contain;
|
|
}
|
|
|
|
li:hover .raw-plugin-icon,
|
|
.selected .raw-plugin-icon{
|
|
background: url(raw-icon-white.svg) no-repeat center center;
|
|
background-size: contain;
|
|
}
|