Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-ag-qeditor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lib
react-ag-qeditor
Commits
d7d8cbd7
Commit
d7d8cbd7
authored
May 13, 2022
by
Рамис
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug scrolltop and min-height 260px
parent
bfceae7b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
App.js
example/src/App.js
+0
-0
QEditor.jsx
src/QEditor.jsx
+2
-6
index.scss
src/index.scss
+9
-0
No files found.
example/src/App.js
View file @
d7d8cbd7
This diff is collapsed.
Click to expand it.
src/QEditor.jsx
View file @
d7d8cbd7
...
...
@@ -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
...
...
src/index.scss
View file @
d7d8cbd7
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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment