Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
7eec7506
Commit
7eec7506
authored
Oct 20, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
830b922a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
link.html
public/static/UE/dialogs/link/link.html
+6
-6
ueditor.css
public/static/UE/themes/default/css/ueditor.css
+2
-2
No files found.
public/static/UE/dialogs/link/link.html
View file @
7eec7506
...
...
@@ -21,7 +21,7 @@
<td><label
for=
"href"
>
<var
id=
"lang_input_url"
></var></label></td>
<td><input
class=
"txt"
id=
"href"
type=
"text"
/></td>
</tr>
<tr>
<
!-- <
tr>
<td><label for="title"> <var id="lang_input_title"></var></label></td>
<td><input class="txt" id="title" type="text"/></td>
</tr>
...
...
@@ -30,7 +30,7 @@
<label for="target"><var id="lang_input_target"></var></label>
<input id="target" type="checkbox"/>
</td>
</tr>
</tr>
-->
<tr>
<td
colspan=
"2"
id=
"msg"
></td>
</tr>
...
...
@@ -64,9 +64,9 @@
}
}
$G
(
"title"
).
value
=
url
?
link
.
title
:
""
;
//
$G("title").value = url ? link.title : "";
$G
(
"href"
).
value
=
url
?
url
:
''
;
$G
(
"target"
).
checked
=
url
&&
link
.
target
==
"_blank"
?
true
:
false
;
//
$G("target").checked = url && link.target == "_blank" ? true : false;
$focus
(
$G
(
"href"
));
function
handleDialogOk
(){
...
...
@@ -77,8 +77,8 @@
}
var
obj
=
{
'href'
:
href
,
'target'
:
$G
(
"target"
).
checked
?
"_blank"
:
'_self'
,
'title'
:
$G
(
"title"
).
value
.
replace
(
/^
\s
+|
\s
+$/g
,
''
),
//
'target' : $G("target").checked ? "_blank" : '_self',
//
'title' : $G("title").value.replace(/^\s+|\s+$/g, ''),
'_href'
:
href
};
//修改链接内容的情况太特殊了,所以先做到这里了
...
...
public/static/UE/themes/default/css/ueditor.css
View file @
7eec7506
...
...
@@ -1219,7 +1219,7 @@ div.edui-box {
}
.edui-default
.edui-dialog-buttons
.edui-button
{
margin-right
:
65px
;
/* margin-right: 65px; */
}
.edui-default
.edui-dialog-buttons
.edui-button
.edui-button-body
{
...
...
@@ -1505,7 +1505,7 @@ div.edui-box {
line-height
:
35px
;
border-radius
:
5px
;
font-size
:
16px
;
margin
:
0
40
px
;
margin
:
0
15
px
;
background
:
#e6e6e6
;
color
:
#333
;
}
...
...
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