Fix:修复激活概要节点,右侧设置文本样式,概要节点会失去焦点的问题
This commit is contained in:
parent
af622793d8
commit
a37fe66e60
@ -326,10 +326,10 @@ class RichText {
|
|||||||
nodes && nodes.length > 0 ? nodes : this.mindMap.renderer.activeNodeList
|
nodes && nodes.length > 0 ? nodes : this.mindMap.renderer.activeNodeList
|
||||||
list.forEach(node => {
|
list.forEach(node => {
|
||||||
this.mindMap.execCommand('SET_NODE_TEXT', node, html, true)
|
this.mindMap.execCommand('SET_NODE_TEXT', node, html, true)
|
||||||
if (node.isGeneralization) {
|
// if (node.isGeneralization) {
|
||||||
// 概要节点
|
// 概要节点
|
||||||
node.generalizationBelongNode.updateGeneralization()
|
// node.generalizationBelongNode.updateGeneralization()
|
||||||
}
|
// }
|
||||||
this.mindMap.render()
|
this.mindMap.render()
|
||||||
})
|
})
|
||||||
this.mindMap.emit('hide_text_edit', this.textEditNode, list)
|
this.mindMap.emit('hide_text_edit', this.textEditNode, list)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user