mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 23:20:51 +00:00
Markdown editor update (#4604)
* update markdown editor * update markdown editor * delete cdoc files
This commit is contained in:
@@ -1089,8 +1089,8 @@ export const Utils = {
|
||||
changeMarkdownNodes: function(nodes, fn) {
|
||||
nodes.map((item) => {
|
||||
fn(item);
|
||||
if (item.nodes && item.nodes.length > 0){
|
||||
Utils.changeMarkdownNodes(item.nodes, fn);
|
||||
if (item.children && item.children.length > 0){
|
||||
Utils.changeMarkdownNodes(item.children, fn);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user