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
94ed15d2
Commit
94ed15d2
authored
Jan 18, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
666d1e8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ueditor.all.js
public/static/UE/ueditor.all.js
+9
-9
No files found.
public/static/UE/ueditor.all.js
View file @
94ed15d2
...
@@ -9969,8 +9969,8 @@ var LocalStorage = UE.LocalStorage = (function () {
...
@@ -9969,8 +9969,8 @@ var LocalStorage = UE.LocalStorage = (function () {
UE.plugins['defaultfilter'] = function () {
UE.plugins['defaultfilter'] = function () {
var me = this;
var me = this;
me.setOpt({
me.setOpt({
'allowDivTransToP':
tru
e,
'allowDivTransToP':
fals
e,
'disabledTableInTable':
tru
e
'disabledTableInTable':
fals
e
});
});
//默认的过滤处理
//默认的过滤处理
//进入编辑器的内容处理
//进入编辑器的内容处理
...
@@ -10014,13 +10014,13 @@ UE.plugins['defaultfilter'] = function () {
...
@@ -10014,13 +10014,13 @@ UE.plugins['defaultfilter'] = function () {
break;
break;
case 'img':
case 'img':
//todo base64暂时去掉,后边做远程图片上传后,干掉这个
//todo base64暂时去掉,后边做远程图片上传后,干掉这个
if (val = node.getAttr('src')) {
//
if (val = node.getAttr('src')) {
if (/^data:/.test(val)) {
//
if (/^data:/.test(val)) {
node.parentNode.removeChild(node);
//
node.parentNode.removeChild(node);
break;
//
break;
}
//
}
}
//
}
node.setAttr('_src', node.getAttr('src'));
//
node.setAttr('_src', node.getAttr('src'));
break;
break;
case 'span':
case 'span':
if (browser.webkit && (val = node.getStyle('white-space'))) {
if (browser.webkit && (val = node.getStyle('white-space'))) {
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