Skip to content

Commit a2212bf

Browse files
author
yinquan
committed
- fixed:
- the input box's width didn't fit its content well. - changed: - the createAndEdit(node, parentNode, pos) method will expand the parentNode if it is collapsed.
1 parent bc22e5f commit a2212bf

File tree

11 files changed

+23
-7
lines changed

11 files changed

+23
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
3.2.0
2+
- fixed:
3+
- the input box's width didn't fit its content well.
4+
- changed:
5+
- the createAndEdit(node, parentNode, pos) method will expand the parentNode if it is collapsed.
6+
17
3.1.0
28
- added:
39
- the dropToMove property

CHANGELOG.zh.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
3.2.0
2+
- 修正:
3+
- 编辑一个结点的标题时,输入框的宽度不能很好地适应内容的长度。
4+
- 变动:
5+
- 方法createAndEdit(node, parentNode, pos)会展开parentNode,如果parentNode是折叠状态。
6+
17
3.1.0
28
- 添加:
39
- 属性 dropToMove
@@ -37,7 +43,7 @@
3743
- 属性 pressEnterToBlur
3844
- 方法 createAndEdit(node, parentNode, pos)
3945
- 方法 blur(node)
40-
- 修改:
46+
- 变动:
4147
- 编辑结点时,输入框由contenteditable的span变为input,用户可从node.title直接获取用户编辑的内容,不再需要getNewTitle方法
4248
- 输入框的边框颜色由黑色变为蓝色
4349

docs/css/app.d4ba7ce3.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/css/app.e8e9eebe.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>twtree</title><link href="css/app.e8e9eebe.css" rel="preload" as="style"><link href="js/app.cf0881d9.js" rel="preload" as="script"><link href="js/chunk-vendors.015f92ae.js" rel="preload" as="script"><link href="css/app.e8e9eebe.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but twtree doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.015f92ae.js"></script><script src="js/app.cf0881d9.js"></script></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>twtree</title><link href="css/app.d4ba7ce3.css" rel="preload" as="style"><link href="js/app.945b0e38.js" rel="preload" as="script"><link href="js/chunk-vendors.015f92ae.js" rel="preload" as="script"><link href="css/app.d4ba7ce3.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but twtree doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.015f92ae.js"></script><script src="js/app.945b0e38.js"></script></body></html>

docs/js/app.945b0e38.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/app.945b0e38.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/app.cf0881d9.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/js/app.cf0881d9.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "twtree",
3-
"version": "3.1.0",
3+
"version": "3.2.0",
44
"description": "A highly customizable tree component for vue, which features checkbox, async loading, drag and drop, context menu and custom appearance.",
55
"main": "lib/twtree.umd.min.js",
66
"module": "lib/twtree.esm.js",

0 commit comments

Comments
 (0)