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
0670cea2
Commit
0670cea2
authored
May 14, 2025
by
Яков
Browse files
try fix
parent
5fb3a4a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
0670cea2
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.0.6
7
"
,
"version"
:
"1.0.6
8
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/QEditor.jsx
View file @
0670cea2
...
@@ -459,10 +459,8 @@ const QEditor = ({
...
@@ -459,10 +459,8 @@ const QEditor = ({
const
editor
=
useEditor
({
const
editor
=
useEditor
({
extensions
:
[
extensions
:
[
StarterKit
,
StarterKit
,
// Underline,
Underline
,
// Image,
ImageResize
,
ImageResize
,
// CustomImage,
Link
.
configure
({
Link
.
configure
({
autolink
:
true
,
autolink
:
true
,
linkOnPaste
:
true
,
linkOnPaste
:
true
,
...
@@ -478,7 +476,6 @@ const QEditor = ({
...
@@ -478,7 +476,6 @@ const QEditor = ({
// }),
// }),
// TableRow,
// TableRow,
// TableHeader,
// TableHeader,
// TableCell,
// TableCell.extend({
// TableCell.extend({
// renderHTML({ HTMLAttributes }) {
// renderHTML({ HTMLAttributes }) {
// const attrs = mergeAttributes(this.options.HTMLAttributes, HTMLAttributes);
// const attrs = mergeAttributes(this.options.HTMLAttributes, HTMLAttributes);
...
@@ -551,7 +548,6 @@ const QEditor = ({
...
@@ -551,7 +548,6 @@ const QEditor = ({
)
)
}
}
const
getUploader
=
({
accept
=
'
*
'
,
...
o
})
=>
{
const
getUploader
=
({
accept
=
'
*
'
,
...
o
})
=>
{
let
url
=
uploadOptions
.
url
let
url
=
uploadOptions
.
url
let
multiple
=
true
let
multiple
=
true
...
...
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