зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-04 18:55:50 +03:00
Update Quill editor to version 1.3.7
Этот коммит содержится в:
@@ -1,24 +0,0 @@
|
||||
@import 'activeadmin/quill_editor/quill.snow'
|
||||
|
||||
body.active_admin form .quill-editor
|
||||
display: inline-block
|
||||
width: calc(80% - 22px)
|
||||
.ql-editor
|
||||
background-color: #fff
|
||||
max-height: 300px
|
||||
min-height: 150px
|
||||
padding: 10px
|
||||
// reset internal elements
|
||||
*
|
||||
margin: initial
|
||||
padding: initial
|
||||
text-align: initial
|
||||
p
|
||||
margin-bottom: 1em
|
||||
ol
|
||||
list-style-type: decimal
|
||||
ul
|
||||
list-style-type: disc
|
||||
ul, ol
|
||||
margin: 0 1.5em 1.5em 0
|
||||
padding-left: 1.5em
|
||||
42
app/assets/stylesheets/activeadmin/_quill_editor_input.scss
Обычный файл
42
app/assets/stylesheets/activeadmin/_quill_editor_input.scss
Обычный файл
@@ -0,0 +1,42 @@
|
||||
@import 'activeadmin/quill_editor/quill.snow';
|
||||
|
||||
body.active_admin .quill-editor {
|
||||
display: inline-block;
|
||||
width: calc(80% - 22px);
|
||||
|
||||
button:hover {
|
||||
background-image: none;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.ql-editor {
|
||||
background-color: #fff;
|
||||
max-height: 300px;
|
||||
min-height: 150px;
|
||||
padding: 10px;
|
||||
|
||||
// reset internal elements
|
||||
* {
|
||||
margin: initial;
|
||||
padding: initial;
|
||||
text-align: initial;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0 1.5em 1.5em 0;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Quill Editor v1.3.6
|
||||
* Quill Editor v1.3.7
|
||||
* https://quilljs.com/
|
||||
* Copyright (c) 2014, Jason Chen
|
||||
* Copyright (c) 2013, salesforce.com
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Quill Editor v1.3.6
|
||||
* Quill Editor v1.3.7
|
||||
* https://quilljs.com/
|
||||
* Copyright (c) 2014, Jason Chen
|
||||
* Copyright (c) 2013, salesforce.com
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Quill Editor v1.3.6
|
||||
* Quill Editor v1.3.7
|
||||
* https://quilljs.com/
|
||||
* Copyright (c) 2014, Jason Chen
|
||||
* Copyright (c) 2013, salesforce.com
|
||||
|
||||
Ссылка в новой задаче
Block a user