Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lib
react-ag-qeditor
Commits
e65c726e
Commit
e65c726e
authored
Jun 09, 2022
by
Рамис
Browse files
new editor
parent
85acfd31
Changes
1
Show whitespace changes
Inline
Side-by-side
src/QEditor.jsx
View file @
e65c726e
...
@@ -344,7 +344,7 @@ const QEditor = ({ value, onChange = ()=>{}, style, uploadOptions }) => {
...
@@ -344,7 +344,7 @@ const QEditor = ({ value, onChange = ()=>{}, style, uploadOptions }) => {
}
}
return
(
return
(
<
div
className
=
"atma-editor-wrap"
style
=
{
style
}
onMouseDown
=
{
(
e
)
=>
{
e
.
stopPropagation
();}
}
onMouseMove
=
{
(
e
)
=>
{
e
.
stopPropagation
();}
}
onMouseUp
=
{
(
e
)
=>
{
e
.
stopPropagation
();}
}
>
<
div
className
=
"atma-editor-wrap"
style
=
{
style
}
onMouseDown
=
{
(
e
)
=>
{
console
.
log
(
'
mouseDown
'
);
e
.
stopPropagation
();}
}
onMouseMove
=
{
(
e
)
=>
{
console
.
log
(
'
mouseMove
'
);
e
.
stopPropagation
();}
}
onMouseUp
=
{
(
e
)
=>
{
console
.
log
(
'
mouseUp
'
);
e
.
stopPropagation
();}
}
>
<
div
className
=
"atma-editor"
>
<
div
className
=
"atma-editor"
>
<
ToolBar
<
ToolBar
editor
=
{
editor
}
editor
=
{
editor
}
...
...
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