Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
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
ReactWeb5
wisdom-components
Commits
2f10eed0
Commit
2f10eed0
authored
Aug 08, 2022
by
周宏民
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 富文本组件修改
parent
5d7a22c8
Pipeline
#57116
failed with stages
in 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
package.json
packages/base-components/RichText/package.json
+1
-1
index.js
packages/base-components/RichText/src/index.js
+0
-1
No files found.
packages/base-components/RichText/package.json
View file @
2f10eed0
{
"name"
:
"@wisdom-components/richtext"
,
"version"
:
"0.2.1
0
"
,
"version"
:
"0.2.1
1
"
,
"description"
:
"> TODO: description"
,
"author"
:
"hongmye <1014185119@qq.com>"
,
"homepage"
:
""
,
...
...
packages/base-components/RichText/src/index.js
View file @
2f10eed0
...
...
@@ -201,7 +201,6 @@ const RichText = forwardRef((props, ref) => {
startOffset
=
selection
.
focusOffset
;
range
.
setStart
(
selection
.
getRangeAt
(
0
).
commonAncestorContainer
,
selection
.
focusOffset
);
selection
.
addRange
(
range
);
moveListBox
();
// 清空搜索
handleChange
(
''
,
tempList
);
...
...
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