Commit d7d8cbd7 by Рамис

fix bug scrolltop and min-height 260px

parent bfceae7b
......@@ -36,11 +36,6 @@ export default class QEditor extends React.Component {
this.setState({
init: true
});
// const quill = this.quillRef.getEditor();
//
// quill.update(Quill.sources.USER);
}
modules = {
......@@ -108,7 +103,7 @@ export default class QEditor extends React.Component {
'list', 'bullet', 'indent',
'align',
'link', 'image', 'video', 'color', 'background', /* 'videoLocal', */
'formula'
'formula',
]
buildActionsModal (buttons = []) {
......@@ -280,6 +275,7 @@ export default class QEditor extends React.Component {
onChangeSelection={(range, source, editor) => {
// console.log(range, source, editor.getText());
}}
scrollingContainer={'html'}
/>
</div>
<EditorModal
......
body{
overflow-y: scroll;
}
.atma-editor {
position: relative;
......@@ -36,6 +40,7 @@
&-editor{
overflow: visible;
white-space: normal;
min-height: 260px;
&:after{
content: "";
......@@ -48,6 +53,10 @@
font-size: 16px;
border-radius: 0 0 4px 4px;
}
&-clipboard {
position: fixed !important;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment