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
25d5b0f5
Commit
25d5b0f5
authored
May 14, 2025
by
Яков
Browse files
try fix
parent
5c00b0af
Changes
3
Show whitespace changes
Inline
Side-by-side
package.json
View file @
25d5b0f5
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.0.7
3
"
,
"version"
:
"1.0.7
4
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/QEditor.jsx
View file @
25d5b0f5
...
@@ -508,9 +508,9 @@ const QEditor = ({
...
@@ -508,9 +508,9 @@ const QEditor = ({
className
:
'
atma-editor-focused
'
,
className
:
'
atma-editor-focused
'
,
mode
:
'
all
'
mode
:
'
all
'
}),
}),
//
DragAndDrop.configure({
DragAndDrop
.
configure
({
//
linkUpload: uploadOptions.url
linkUpload
:
uploadOptions
.
url
//
}),
}),
Audio
,
Audio
,
Superscript
,
Superscript
,
Subscript
,
Subscript
,
...
...
src/extensions/DragAndDrop.js
View file @
25d5b0f5
...
@@ -13,7 +13,7 @@ const upload = async (file) => {
...
@@ -13,7 +13,7 @@ const upload = async (file) => {
};
};
const
DragAndDrop
=
Extension
.
create
({
const
DragAndDrop
=
Extension
.
create
({
name
:
'
d
rop
'
,
name
:
'
customDragAndD
rop
'
,
addProseMirrorPlugins
()
{
addProseMirrorPlugins
()
{
return
[
return
[
new
Plugin
({
new
Plugin
({
...
...
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