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
f70aa9f6
Commit
f70aa9f6
authored
Apr 17, 2023
by
Яков
Browse files
fix iframe
parent
426fb7e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
f70aa9f6
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.0.2
2
"
,
"version"
:
"1.0.2
3
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/QEditor.jsx
View file @
f70aa9f6
...
@@ -513,7 +513,7 @@ const QEditor = ({
...
@@ -513,7 +513,7 @@ const QEditor = ({
case
'
iframe_custom
'
:
case
'
iframe_custom
'
:
return
(
return
(
<
Fragment
>
<
Fragment
>
<
textarea
cols
=
{
5
}
rows
=
{
5
}
value
=
{
embedContent
}
placeholder
=
{
'
<iframe></iframe>
'
}
<
textarea
style
=
{
{
width
:
'
100%
'
,
height
:
'
100%
'
}
}
rows
=
{
18
}
value
=
{
embedContent
}
placeholder
=
{
'
<iframe></iframe>
'
}
onInput
=
{
(
e
)
=>
setEmbedContent
(
e
.
target
.
value
)
}
onInput
=
{
(
e
)
=>
setEmbedContent
(
e
.
target
.
value
)
}
/>
/>
</
Fragment
>
</
Fragment
>
...
...
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