diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 94fee6da..7d238826 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -276,7 +276,7 @@ export default { }, formulaSidebar: { title: 'Formula', - placeholder: 'Please enter LaText syntax', + placeholder: 'Please enter LaTeX syntax', confirm: 'Confirm', common: 'Common formulas', tip: 'Inserting formulas is not supported in non rich text mode' diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index 521b0c37..133be1d5 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -270,7 +270,7 @@ export default { }, formulaSidebar: { title: '公式', - placeholder: '请输入 LaText 语法', + placeholder: '请输入 LaTeX 语法', confirm: '完成', common: '常用公式', tip: '非富文本模式下不支持插入公式' diff --git a/web/src/pages/Doc/en/constructor/index.md b/web/src/pages/Doc/en/constructor/index.md index b7075999..dcef3867 100644 --- a/web/src/pages/Doc/en/constructor/index.md +++ b/web/src/pages/Doc/en/constructor/index.md @@ -519,7 +519,7 @@ redo. All commands are as follows: | GO_TARGET_NODE(v0.6.7+) | Navigate to a node, and if the node is collapsed, it will automatically expand to that node | node(Node instance or node uid to locate)、callback(v0.6.9+, Callback function after positioning completion) | | INSERT_MULTI_NODE(v0.7.2+) | Insert multiple sibling nodes into the specified node at the same time, with the operating node being the currently active node or the specified node | appointNodes(Optional, specify nodes, specify multiple nodes to pass an array), nodeList(Data list of newly inserted nodes, array type) | | INSERT_MULTI_CHILD_NODE(v0.7.2+) | Insert multiple child nodes into the specified node simultaneously, with the operation node being the currently active node or the specified node | appointNodes(Optional, specify nodes, specify multiple nodes to pass an array), childList(Data list of newly inserted nodes, array type) | -| INSERT_FORMULA(v0.7.2+) | Insert mathematical formulas into nodes, operate on the currently active node or specified node | formula(Mathematical formula to insert, LaText syntax), appointNodes(Optional, specify the node to insert the formula into. Multiple nodes can be passed as arrays, otherwise it defaults to the currently active node) | +| INSERT_FORMULA(v0.7.2+) | Insert mathematical formulas into nodes, operate on the currently active node or specified node | formula(Mathematical formula to insert, LaTeX syntax), appointNodes(Optional, specify the node to insert the formula into. Multiple nodes can be passed as arrays, otherwise it defaults to the currently active node) | | INSERT_PARENT_NODE(v0.8.0+) | Insert a parent node into the specified node, with the operation node being the currently active node or the specified node | openEdit(Activate the newly inserted node and enter editing mode, default to 'true'`)、 appointNodes(Optional, specify the node to insert into the parent node, and specify that multiple nodes can pass an array)、 appointData(Optional, specify the data for the newly created node, such as {text: 'xxx', ...}, Detailed structure can be referenced [exampleData.js](https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/example/exampleData.js)) | | REMOVE_CURRENT_NODE(v0.8.0+) | Delete only the current node, operate on the currently active node or specified node | appointNodes(Optional, specify the nodes to be deleted, and multiple nodes can be passed as an array) | @@ -592,4 +592,4 @@ Register plugin, Use `MindMap.usePlugin` to register plugin only before instanti > v0.4.0+ -Remove registered plugin, Plugins registered through the `usePlugin` or `addPlugin` methods can be removed. \ No newline at end of file +Remove registered plugin, Plugins registered through the `usePlugin` or `addPlugin` methods can be removed. diff --git a/web/src/pages/Doc/en/constructor/index.vue b/web/src/pages/Doc/en/constructor/index.vue index 2eabcf8f..f4cb3704 100644 --- a/web/src/pages/Doc/en/constructor/index.vue +++ b/web/src/pages/Doc/en/constructor/index.vue @@ -1270,7 +1270,7 @@ redo. All commands are as follows: